]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | /**\r |
2 | * @class Ext.Toolbar\r | |
3 | */\r | |
4 | \r | |
5 | .x-toolbar {\r | |
6 | min-height: 44px;\r | |
7 | background-color: #f0f0f0;\r | |
8 | overflow: visible;\r | |
9 | \r | |
10 | .x-button {\r | |
11 | background: transparent;\r | |
12 | \r | |
13 | &.x-button-pressed,\r | |
14 | &.x-button-pressing {\r | |
15 | background: $highlight-color;\r | |
16 | }\r | |
17 | }\r | |
18 | \r | |
19 | .x-field-select .x-component-outer {\r | |
20 | @include background(linear-gradient(color-stops(lighten(#dbdbdb, 5%), #dbdbdb)));\r | |
21 | }\r | |
22 | }\r | |
23 | \r | |
24 | .x-toolbar,\r | |
25 | .x-tabbar {\r | |
26 | border-width: 0 !important;\r | |
27 | height: 50px;\r | |
28 | }\r | |
29 | \r | |
30 | .x-tabbar.x-docked-bottom,\r | |
31 | .x-toolbar.x-docked-bottom {\r | |
32 | height: 66px;\r | |
33 | \r | |
34 | .x-button-normal:before {\r | |
35 | height: 2px !important;\r | |
36 | }\r | |
37 | \r | |
38 | .x-button.menu {\r | |
39 | margin: 0;\r | |
40 | border-right-style: solid;\r | |
41 | border-right-width: 1px;\r | |
42 | }\r | |
43 | \r | |
44 | .x-tab,\r | |
45 | .x-button,\r | |
46 | .x-button-tab {\r | |
47 | @include st-box-orient(vertical);\r | |
48 | border-color: darken($dark-color, 6);\r | |
49 | background: none transparent;\r | |
50 | @include box-shadow(none);\r | |
51 | border-width: 0 !important;\r | |
52 | overflow: visible;\r | |
53 | \r | |
54 | .x-button-icon {\r | |
55 | margin: 0 auto;\r | |
56 | }\r | |
57 | \r | |
58 | .x-button-label {\r | |
59 | margin: 1px 0;\r | |
60 | font-size: 11px;\r | |
61 | line-height: 1.5em;\r | |
62 | padding-bottom: .5em;\r | |
63 | }\r | |
64 | \r | |
65 | .x-badge {\r | |
66 | margin: 3px;\r | |
67 | }\r | |
68 | }\r | |
69 | \r | |
70 | .x-tab-active,\r | |
71 | .x-button.x-button-pressing,\r | |
72 | .x-button-tab.x-button-pressing {\r | |
73 | background-color: #e6e6e6;\r | |
74 | }\r | |
75 | \r | |
76 | .x-button.bb-default.x-button-pressing,\r | |
77 | .x-button-tab.bb-default.x-button-pressing {\r | |
78 | background-color: transparent;\r | |
79 | }\r | |
80 | \r | |
81 | .x-button, .x-button-tab {\r | |
82 | min-width: 3.3em;\r | |
83 | height: 100%;\r | |
84 | background-color: transparent;\r | |
85 | border: 0;\r | |
86 | padding: 0;\r | |
87 | @include border-radius(0);\r | |
88 | color: #323232;\r | |
89 | \r | |
90 | // Blackberry Landscape & Q10 styles\r | |
91 | .x-landscape &, .x-bb-keyboard & {\r | |
92 | min-width: 60px;\r | |
93 | .x-button-icon:before {\r | |
94 | line-height: 2em;\r | |
95 | font-size: 20px;\r | |
96 | }\r | |
97 | }\r | |
98 | \r | |
99 | \r | |
100 | &.bb-default.x-button-pressing .x-button-icon {\r | |
101 | -webkit-transform: scale(1.1);\r | |
102 | transform: scale(1.1);\r | |
103 | &:before {\r | |
104 | background-color: #087099;\r | |
105 | }\r | |
106 | }\r | |
107 | \r | |
108 | \r | |
109 | &.bb-default .x-button-icon {\r | |
110 | top: -20px;\r | |
111 | -webkit-transform: inherit;\r | |
112 | transform: inherit;\r | |
113 | -webkit-transition: -webkit-transform $default-button-animation-time;\r | |
114 | transition: transform $default-button-animation-time;\r | |
115 | \r | |
116 | &:after {\r | |
117 | top: 3px;\r | |
118 | margin: 0 auto;\r | |
119 | .x-bb-keyboard & {\r | |
120 | top: 4px;\r | |
121 | }\r | |
122 | }\r | |
123 | \r | |
124 | &:before {\r | |
125 | background-color: #0092cc;\r | |
126 | -webkit-transition: background-color $default-button-animation-time;\r | |
127 | width: 52px;\r | |
128 | height: 52px;\r | |
129 | .x-bb-keyboard & {\r | |
130 | left: 4px;\r | |
131 | }\r | |
132 | display: block;\r | |
133 | border-radius: 100%;\r | |
134 | text-align: center;\r | |
135 | position: absolute;\r | |
136 | margin: 0 auto;\r | |
137 | }\r | |
138 | }\r | |
139 | \r | |
140 | .x-button-icon:before {\r | |
141 | line-height: 1.7em;\r | |
142 | }\r | |
143 | \r | |
144 | .x-button-icon {\r | |
145 | margin: 0 auto !important;\r | |
146 | display: block !important;\r | |
147 | width: 100%;\r | |
148 | height: 42px;\r | |
149 | background-size: 32px;\r | |
150 | background-position: center;\r | |
151 | @include box-flex(1);\r | |
152 | \r | |
153 | &:before {\r | |
154 | font-size: 27px;\r | |
155 | }\r | |
156 | }\r | |
157 | \r | |
158 | &:before {\r | |
159 | @include border-radius(0);\r | |
160 | }\r | |
161 | \r | |
162 | .x-button-icon.x-hidden {\r | |
163 | display: block !important;\r | |
164 | }\r | |
165 | \r | |
166 | .x-landscape & {\r | |
167 | .x-button-icon {\r | |
168 | margin-bottom: 0 !important;\r | |
169 | \r | |
170 | &:before {\r | |
171 | font-size: 20px;\r | |
172 | }\r | |
173 | }\r | |
174 | }\r | |
175 | }\r | |
176 | }\r | |
177 | \r | |
178 | .x-title {\r | |
179 | color: #323232;\r | |
180 | font-size: 20px;\r | |
181 | font-weight: normal;\r | |
182 | letter-spacing: 1px;\r | |
183 | } |