2017-11-15 13:23:49 +00:00
|
|
|
package Classes.css.user;
|
|
|
|
|
|
|
|
import Classes.css.core.Context;
|
|
|
|
|
|
|
|
public class ContextBuilder{
|
|
|
|
|
|
|
|
public static void createContext(){
|
|
|
|
|
|
|
|
/* (1) Screen dimensions */
|
|
|
|
Context.bind("screen-width", 1280);
|
|
|
|
Context.bind("screen-height", 720);
|
|
|
|
|
|
|
|
/* (2) Base layout dimension */
|
|
|
|
Context.bind("header-height", 50);
|
|
|
|
Context.bind("menu-width", 237);
|
2017-11-15 17:12:46 +00:00
|
|
|
Context.bind("submenu-width", 200);
|
2017-11-15 13:23:49 +00:00
|
|
|
|
2017-11-15 16:17:45 +00:00
|
|
|
/* (3) Colors */
|
|
|
|
Context.bind("main-color", 63, 81, 181);
|
|
|
|
Context.bind("menu-bg", 255, 255, 253);
|
2017-11-15 17:12:46 +00:00
|
|
|
Context.bind("submenu-bg", 255, 0, 0);
|
2017-11-15 16:17:45 +00:00
|
|
|
|
2017-11-15 13:23:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|