]> git.proxmox.com Git - extjs.git/blame - extjs/modern/theme-blackberry/sass/src/dataview/List.scss
add extjs 6.0.1 sources
[extjs.git] / extjs / modern / theme-blackberry / sass / src / dataview / List.scss
CommitLineData
6527f429
DM
1/**\r
2 * @class Ext.dataview.List\r
3 */\r
4\r
5.x-list {\r
6 background: #fff;\r
7}\r
8\r
9.x-list-item {\r
10 border-bottom: 1px solid #F7F3F7;\r
11 color: #292429;\r
12 font-size: 20px;\r
13 padding: 0 10px;\r
14 line-height: 38px;\r
15}\r
16\r
17.x-list .x-list-disclosure {\r
18 margin-top: 13px;\r
19 border: 0;\r
20 background: transparent;\r
21\r
22 &:before {\r
23 content: '>';\r
24 color: #444;\r
25 font-weight: bold;\r
26 line-height: 19px;\r
27 font-size: 22px;\r
28 text-align: center;\r
29 position: absolute;\r
30 top: 0;\r
31 right: 0;\r
32 bottom: 0;\r
33 left: 0;\r
34 }\r
35}\r
36\r
37.x-list .x-list-item.x-item-pressed.x-list-item-tpl,\r
38.x-list .x-list-item.x-item-pressed .x-dock-horizontal {\r
39 background-color: #ddd;\r
40}\r
41\r
42.x-list .x-list-item.x-item-selected .x-dock-horizontal,\r
43.x-list .x-list-item.x-item-selected.x-list-item-tpl {\r
44 background-color: $base-color;\r
45 color: white;\r
46}\r
47\r
48.x-list .x-item-selected .x-list-disclosure {\r
49 &:before {\r
50 color: #000\r
51 }\r
52 background-color: transparent;\r
53}\r
54\r
55.x-list .x-list-header {\r
56 font-weight: normal;\r
57 font-size: 14px;\r
58 padding: 2px 10px;\r
59 border-top-color: #D1D1D1;\r
60 border-bottom: 2px solid $highlight-color;\r
61 background: transparent;\r
62}\r
63\r
64.x-indexbar {\r
65 color: #888;\r
66 padding: 3px 0;\r
67 @include border-radius(0px);\r
68 @include st-box();\r
69 height: 100% !important;\r
70 background: rgba(255, 255, 255, .75);\r
71\r
72 & > div {\r
73 @include st-box();\r
74 @include st-box-flex(1);\r
75 color: #8e8e8e;\r
76 font-size: .75em\r
77 }\r
78}\r
79\r
80$indexbar-indicator-width: 120px;\r
81$indexbar-indicator-height: 50px;\r
82$indexbar-indicator-background-color: $highlight-color;\r
83$indexbar-indicator-font-color: #000;\r
84$indexbar-indicator-font-size: 2em;\r
85.x-indexbar-indicator {\r
86 width: $indexbar-indicator-width;\r
87 height: $indexbar-indicator-height;\r
88 background-color: $indexbar-indicator-background-color;\r
89 position: absolute;\r
90 top: 0;\r
91 right: 0;\r
92 z-index: 100;\r
93 border-top-left-radius: 5px;\r
94 border-bottom-left-radius: 5px;\r
95\r
96 .x-indexbar-indicator-inner {\r
97 color: $indexbar-indicator-font-color;\r
98 line-height: $indexbar-indicator-height;\r
99 font-size: $indexbar-indicator-font-size;\r
100 padding-left: $indexbar-indicator-width / 6;\r
101 }\r
102\r
103 &:after {\r
104 content:'';\r
105 background-image: url('#{$bb-icons-path}/ic_overflow_tab.png');\r
106 background-size: 50%;\r
107 background-position: 50%;\r
108 background-repeat: no-repeat;\r
109 opacity: .5;\r
110 width: $indexbar-indicator-width /3;\r
111 height: 100%;\r
112 position: absolute;\r
113 top: 0;\r
114 right: 0;\r
115 }\r
116}\r
117\r
118.x-indexbar-vertical {\r
119 width: 30px;\r
120 margin-right: 0px;\r
121 @include st-box-align(center);\r
122 @include st-box-direction(vertical);\r
123 padding-top: .5em;\r
124}\r
125\r
126.x-indexbar-pressed {\r
127 background: rgba(255, 255, 255, 1);\r
128}\r
129\r
130.x-list-item-odd {\r
131 &.x-list-item-tpl,\r
132 .x-dock-horizontal {\r
133 background-color: darken(#fff, 5%);\r
134 border-bottom: 1px solid darken(#fff, 5%);\r
135 }\r
136}