]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | # ./sass\r |
2 | \r | |
3 | This folder contains the styling for the application's views.\r | |
4 | \r | |
5 | ## Styling\r | |
6 | \r | |
7 | Sencha Cmd supports styling using Sass and integrates the styling from the theme\r | |
8 | and required packages (specified in `"app.json"`) with application-defined views.\r | |
9 | \r | |
10 | ### ./sass/etc\r | |
11 | \r | |
12 | This folder contains misc. support code for Sass builds (global functions, etc.).\r | |
13 | \r | |
14 | ### ./sass/src\r | |
15 | \r | |
16 | This folder contains Sass files defining CSS rules corresponding to classes\r | |
17 | included in the application's JavaScript code build. By default, files in this \r | |
18 | folder are mapped to the application's root namespace, 'Admin'. This is set in\r | |
19 | `"app.json"`:\r | |
20 | \r | |
21 | "sass": {\r | |
22 | "namespace": "Admin"\r | |
23 | }\r | |
24 | \r | |
25 | ### ./sass/var\r | |
26 | \r | |
27 | This folder contains Sass files defining Sass variables corresponding to classes\r | |
28 | included in the application's JavaScript code build. By default, files in this \r | |
29 | folder are mapped to the application's root namespace, 'Admin' in the same way\r | |
30 | as `"Admin/sass/src"`.\r | |
31 | \r | |
32 | ## Slicing\r | |
33 | \r | |
34 | Internet Explorer 8 and 9 do not support linear gradients and IE8 does not support\r | |
35 | border-radius. To compensate for this, Sencha Cmd provides "image slicing" using an\r | |
36 | internal WebKit based renderer. To enable this, there is a special web page that\r | |
37 | renders all components and states so they can be captured and turned into image\r | |
38 | sprites.\r | |
39 | \r | |
40 | ### ./sass/example\r | |
41 | \r | |
42 | This folder contains the web page used to present all components and states so they\r | |
43 | can be captured as an image and used to produce images for IE8 and 9.\r | |
44 | \r | |
45 | This web page is also helpful when loaded in Chrome to view all components in their\r | |
46 | styled form.\r |