lte-rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +37 -0
- data/.gitmodules +3 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +94 -0
- data/LICENSE +22 -0
- data/README.md +4 -0
- data/Rakefile +52 -0
- data/lib/lte/rails/engine.rb +13 -0
- data/lib/lte/rails/version.rb +7 -0
- data/lib/lte/rails.rb +7 -0
- data/lib/lte-rails.rb +1 -0
- data/lte-rails.gemspec +40 -0
- data/vendor/assets/stylesheets/AdminLTE/.csslintrc +23 -0
- data/vendor/assets/stylesheets/AdminLTE/404_500_errors.less +36 -0
- data/vendor/assets/stylesheets/AdminLTE/AdminLTE.less +68 -0
- data/vendor/assets/stylesheets/AdminLTE/alerts.less +44 -0
- data/vendor/assets/stylesheets/AdminLTE/bootstrap-social.less +114 -0
- data/vendor/assets/stylesheets/AdminLTE/boxes.less +483 -0
- data/vendor/assets/stylesheets/AdminLTE/buttons.less +159 -0
- data/vendor/assets/stylesheets/AdminLTE/callout.less +48 -0
- data/vendor/assets/stylesheets/AdminLTE/carousel.less +18 -0
- data/vendor/assets/stylesheets/AdminLTE/control-sidebar.less +280 -0
- data/vendor/assets/stylesheets/AdminLTE/core.less +171 -0
- data/vendor/assets/stylesheets/AdminLTE/direct-chat.less +172 -0
- data/vendor/assets/stylesheets/AdminLTE/dropdown.less +347 -0
- data/vendor/assets/stylesheets/AdminLTE/forms.less +94 -0
- data/vendor/assets/stylesheets/AdminLTE/fullcalendar.less +88 -0
- data/vendor/assets/stylesheets/AdminLTE/header.less +244 -0
- data/vendor/assets/stylesheets/AdminLTE/info-box.less +69 -0
- data/vendor/assets/stylesheets/AdminLTE/invoice.less +16 -0
- data/vendor/assets/stylesheets/AdminLTE/labels.less +23 -0
- data/vendor/assets/stylesheets/AdminLTE/lockscreen.less +68 -0
- data/vendor/assets/stylesheets/AdminLTE/login_and_register.less +50 -0
- data/vendor/assets/stylesheets/AdminLTE/mailbox.less +77 -0
- data/vendor/assets/stylesheets/AdminLTE/miscellaneous.less +529 -0
- data/vendor/assets/stylesheets/AdminLTE/mixins.less +302 -0
- data/vendor/assets/stylesheets/AdminLTE/modal.less +73 -0
- data/vendor/assets/stylesheets/AdminLTE/navs.less +182 -0
- data/vendor/assets/stylesheets/AdminLTE/print.less +48 -0
- data/vendor/assets/stylesheets/AdminLTE/products.less +44 -0
- data/vendor/assets/stylesheets/AdminLTE/profile.less +29 -0
- data/vendor/assets/stylesheets/AdminLTE/progress-bars.less +107 -0
- data/vendor/assets/stylesheets/AdminLTE/select2.less +102 -0
- data/vendor/assets/stylesheets/AdminLTE/sidebar-mini.less +138 -0
- data/vendor/assets/stylesheets/AdminLTE/sidebar.less +157 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/_all-skins.less +13 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-black-light.less +64 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-black.less +64 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-blue-light.less +61 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-blue.less +58 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-green-light.less +56 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-green.less +56 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-purple-light.less +55 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-purple.less +55 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-red-light.less +55 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-red.less +55 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-yellow-light.less +55 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-yellow.less +55 -0
- data/vendor/assets/stylesheets/AdminLTE/small-box.less +89 -0
- data/vendor/assets/stylesheets/AdminLTE/social-widgets.less +78 -0
- data/vendor/assets/stylesheets/AdminLTE/table.less +71 -0
- data/vendor/assets/stylesheets/AdminLTE/timeline.less +111 -0
- data/vendor/assets/stylesheets/AdminLTE/users-list.less +39 -0
- data/vendor/assets/stylesheets/AdminLTE/variables.less +120 -0
- data/vendor/assets/stylesheets/lte-rails.less +1 -0
- metadata +200 -0
@@ -0,0 +1,302 @@
|
|
1
|
+
//AdminLTE mixins
|
2
|
+
//===============
|
3
|
+
|
4
|
+
|
5
|
+
//Changes the color and the hovering properties of the navbar
|
6
|
+
.navbar-variant(@color; @font-color: rgba(255, 255, 255, 0.8); @hover-color: #f6f6f6; @hover-bg: rgba(0, 0, 0, 0.1)) {
|
7
|
+
background-color: @color;
|
8
|
+
//Navbar links
|
9
|
+
.nav > li > a {
|
10
|
+
color: @font-color;
|
11
|
+
}
|
12
|
+
|
13
|
+
.nav > li > a:hover,
|
14
|
+
.nav > li > a:active,
|
15
|
+
.nav > li > a:focus,
|
16
|
+
.nav .open > a,
|
17
|
+
.nav .open > a:hover,
|
18
|
+
.nav .open > a:focus,
|
19
|
+
.nav > .active > a {
|
20
|
+
background: @hover-bg;
|
21
|
+
color: @hover-color;
|
22
|
+
}
|
23
|
+
|
24
|
+
//Add color to the sidebar toggle button
|
25
|
+
.sidebar-toggle {
|
26
|
+
color: @font-color;
|
27
|
+
&:hover {
|
28
|
+
color: @hover-color;
|
29
|
+
background: @hover-bg;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
//Logo color variation
|
35
|
+
.logo-variant(@bg-color; @color: #fff; @border-bottom-color: transparent; @border-bottom-width: 0) {
|
36
|
+
background-color: @bg-color;
|
37
|
+
color: @color;
|
38
|
+
border-bottom: @border-bottom-width solid @border-bottom-color;
|
39
|
+
|
40
|
+
&:hover {
|
41
|
+
background-color: darken(@bg-color, 1%);
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
//Box solid color variantion creator
|
46
|
+
.box-solid-variant(@color; @text-color: #fff) {
|
47
|
+
border: 1px solid @color;
|
48
|
+
> .box-header {
|
49
|
+
color: @text-color;
|
50
|
+
background: @color;
|
51
|
+
background-color: @color;
|
52
|
+
a,
|
53
|
+
.btn {
|
54
|
+
color: @text-color;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
//Direct Chat Variant
|
60
|
+
.direct-chat-variant(@bg-color; @color: #fff) {
|
61
|
+
.right > .direct-chat-text {
|
62
|
+
background: @bg-color;
|
63
|
+
border-color: @bg-color;
|
64
|
+
color: @color;
|
65
|
+
&:after,
|
66
|
+
&:before {
|
67
|
+
border-left-color: @bg-color;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
//border radius creator
|
73
|
+
.border-radius(@radius) {
|
74
|
+
border-radius: @radius;
|
75
|
+
}
|
76
|
+
//Different radius each side
|
77
|
+
.border-radius(@top-left; @top-right; @bottom-left; @bottom-right) {
|
78
|
+
border-top-left-radius: @top-left;
|
79
|
+
border-top-right-radius: @top-right;
|
80
|
+
border-bottom-right-radius: @bottom-right;
|
81
|
+
border-bottom-left-radius: @bottom-left;
|
82
|
+
}
|
83
|
+
|
84
|
+
//Gradient background
|
85
|
+
.gradient(@color: #F5F5F5, @start: #EEE, @stop: #FFF) {
|
86
|
+
background: @color;
|
87
|
+
background: -webkit-gradient(linear,
|
88
|
+
left bottom,
|
89
|
+
left top,
|
90
|
+
color-stop(0, @start),
|
91
|
+
color-stop(1, @stop));
|
92
|
+
background: -ms-linear-gradient(bottom,
|
93
|
+
@start,
|
94
|
+
@stop);
|
95
|
+
background: -moz-linear-gradient(center bottom,
|
96
|
+
@start 0%,
|
97
|
+
@stop 100%);
|
98
|
+
background: -o-linear-gradient(@stop,
|
99
|
+
@start);
|
100
|
+
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@stop,@start));
|
101
|
+
}
|
102
|
+
|
103
|
+
//Added 2.1.0
|
104
|
+
//Skins Mixins
|
105
|
+
|
106
|
+
//Dark Sidebar Mixin
|
107
|
+
.skin-dark-sidebar(@link-hover-border-color) {
|
108
|
+
// Sidebar background color (Both .wrapper and .left-side are responsible for sidebar bg color)
|
109
|
+
.wrapper,
|
110
|
+
.main-sidebar,
|
111
|
+
.left-side {
|
112
|
+
background-color: @sidebar-dark-bg;
|
113
|
+
}
|
114
|
+
//User Panel (resides in the sidebar)
|
115
|
+
.user-panel {
|
116
|
+
> .info, > .info > a {
|
117
|
+
color: #fff;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
//Sidebar Menu. First level links
|
121
|
+
.sidebar-menu > li {
|
122
|
+
//Section Headning
|
123
|
+
&.header {
|
124
|
+
color: lighten(@sidebar-dark-bg, 20%);
|
125
|
+
background: darken(@sidebar-dark-bg, 4%);
|
126
|
+
}
|
127
|
+
//links
|
128
|
+
> a {
|
129
|
+
border-left: 3px solid transparent;
|
130
|
+
}
|
131
|
+
//Hover and active states
|
132
|
+
&:hover > a, &.active > a {
|
133
|
+
color: @sidebar-dark-hover-color;
|
134
|
+
background: @sidebar-dark-hover-bg;
|
135
|
+
border-left-color: @link-hover-border-color;
|
136
|
+
}
|
137
|
+
//First Level Submenu
|
138
|
+
> .treeview-menu {
|
139
|
+
margin: 0 1px;
|
140
|
+
background: @sidebar-dark-submenu-bg;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
//All links within the sidebar menu
|
144
|
+
.sidebar a {
|
145
|
+
color: @sidebar-dark-color;
|
146
|
+
&:hover {
|
147
|
+
text-decoration: none;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
//All submenus
|
151
|
+
.treeview-menu {
|
152
|
+
> li {
|
153
|
+
> a {
|
154
|
+
color: @sidebar-dark-submenu-color;
|
155
|
+
}
|
156
|
+
&.active > a, > a:hover {
|
157
|
+
color: @sidebar-dark-submenu-hover-color;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
//The sidebar search form
|
162
|
+
.sidebar-form {
|
163
|
+
.border-radius(3px);
|
164
|
+
border: 1px solid lighten(@sidebar-dark-bg, 10%);
|
165
|
+
margin: 10px 10px;
|
166
|
+
input[type="text"], .btn {
|
167
|
+
box-shadow: none;
|
168
|
+
background-color: lighten(@sidebar-dark-bg, 10%);
|
169
|
+
border: 1px solid transparent;
|
170
|
+
height: 35px;
|
171
|
+
.transition(all @transition-speed @transition-fn);
|
172
|
+
}
|
173
|
+
input[type="text"] {
|
174
|
+
color: #666;
|
175
|
+
.border-radius(2px, 0, 2px, 0);
|
176
|
+
&:focus, &:focus + .input-group-btn .btn {
|
177
|
+
background-color: #fff;
|
178
|
+
color: #666;
|
179
|
+
}
|
180
|
+
&:focus + .input-group-btn .btn {
|
181
|
+
border-left-color: #fff;
|
182
|
+
}
|
183
|
+
}
|
184
|
+
.btn {
|
185
|
+
color: #999;
|
186
|
+
.border-radius(0, 2px, 0, 2px);
|
187
|
+
}
|
188
|
+
}
|
189
|
+
}
|
190
|
+
|
191
|
+
//Light Sidebar Mixin
|
192
|
+
.skin-light-sidebar(@icon-active-color) {
|
193
|
+
// Sidebar background color (Both .wrapper and .left-side are responsible for sidebar bg color)
|
194
|
+
.wrapper,
|
195
|
+
.main-sidebar,
|
196
|
+
.left-side {
|
197
|
+
background-color: @sidebar-light-bg;
|
198
|
+
}
|
199
|
+
.content-wrapper,
|
200
|
+
.main-footer {
|
201
|
+
border-left: 1px solid @gray;
|
202
|
+
}
|
203
|
+
//User Panel (resides in the sidebar)
|
204
|
+
.user-panel {
|
205
|
+
> .info, > .info > a {
|
206
|
+
color: @sidebar-light-color;
|
207
|
+
}
|
208
|
+
}
|
209
|
+
//Sidebar Menu. First level links
|
210
|
+
.sidebar-menu > li {
|
211
|
+
.transition(border-left-color .3s ease);
|
212
|
+
//border-left: 3px solid transparent;
|
213
|
+
//Section Headning
|
214
|
+
&.header {
|
215
|
+
color: lighten(@sidebar-light-color, 25%);
|
216
|
+
background: @sidebar-light-bg;
|
217
|
+
}
|
218
|
+
//links
|
219
|
+
> a {
|
220
|
+
border-left: 3px solid transparent;
|
221
|
+
font-weight: 600;
|
222
|
+
}
|
223
|
+
//Hover and active states
|
224
|
+
&:hover > a,
|
225
|
+
&.active > a {
|
226
|
+
color: @sidebar-light-hover-color;
|
227
|
+
background: @sidebar-light-hover-bg;
|
228
|
+
}
|
229
|
+
&:hover > a {
|
230
|
+
|
231
|
+
}
|
232
|
+
&.active {
|
233
|
+
border-left-color: @icon-active-color;
|
234
|
+
> a {
|
235
|
+
font-weight: 600;
|
236
|
+
}
|
237
|
+
}
|
238
|
+
//First Level Submenu
|
239
|
+
> .treeview-menu {
|
240
|
+
background: @sidebar-light-submenu-bg;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
//All links within the sidebar menu
|
244
|
+
.sidebar a {
|
245
|
+
color: @sidebar-light-color;
|
246
|
+
&:hover {
|
247
|
+
text-decoration: none;
|
248
|
+
}
|
249
|
+
}
|
250
|
+
//All submenus
|
251
|
+
.treeview-menu {
|
252
|
+
> li {
|
253
|
+
> a {
|
254
|
+
color: @sidebar-light-submenu-color;
|
255
|
+
}
|
256
|
+
&.active > a,
|
257
|
+
> a:hover {
|
258
|
+
color: @sidebar-light-submenu-hover-color;
|
259
|
+
}
|
260
|
+
&.active > a {
|
261
|
+
font-weight: 600;
|
262
|
+
}
|
263
|
+
}
|
264
|
+
}
|
265
|
+
//The sidebar search form
|
266
|
+
.sidebar-form {
|
267
|
+
.border-radius(3px);
|
268
|
+
border: 1px solid @gray;//darken(@sidebar-light-bg, 5%);
|
269
|
+
margin: 10px 10px;
|
270
|
+
input[type="text"],
|
271
|
+
.btn {
|
272
|
+
box-shadow: none;
|
273
|
+
background-color: #fff;//darken(@sidebar-light-bg, 3%);
|
274
|
+
border: 1px solid transparent;
|
275
|
+
height: 35px;
|
276
|
+
.transition(all @transition-speed @transition-fn);
|
277
|
+
}
|
278
|
+
input[type="text"] {
|
279
|
+
color: #666;
|
280
|
+
.border-radius(2px, 0, 2px, 0);
|
281
|
+
&:focus,
|
282
|
+
&:focus + .input-group-btn .btn {
|
283
|
+
background-color: #fff;
|
284
|
+
color: #666;
|
285
|
+
}
|
286
|
+
&:focus + .input-group-btn .btn {
|
287
|
+
border-left-color: #fff;
|
288
|
+
}
|
289
|
+
}
|
290
|
+
.btn {
|
291
|
+
color: #999;
|
292
|
+
.border-radius(0, 2px, 0, 2px);
|
293
|
+
}
|
294
|
+
}
|
295
|
+
@media(min-width: @screen-sm-min) {
|
296
|
+
&.sidebar-mini.sidebar-collapse {
|
297
|
+
.sidebar-menu > li > .treeview-menu {
|
298
|
+
border-left: 1px solid @gray;
|
299
|
+
}
|
300
|
+
}
|
301
|
+
}
|
302
|
+
}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
/*
|
2
|
+
* Component: modal
|
3
|
+
* ----------------
|
4
|
+
*/
|
5
|
+
.modal {
|
6
|
+
background: rgba(0,0,0,.3);
|
7
|
+
}
|
8
|
+
.modal-content {
|
9
|
+
.border-radius(0);
|
10
|
+
.box-shadow(0 2px 3px rgba(0,0,0,.125));
|
11
|
+
border: 0;
|
12
|
+
@media (min-width: @screen-sm-min) {
|
13
|
+
.box-shadow(0 2px 3px rgba(0,0,0,.125));
|
14
|
+
}
|
15
|
+
}
|
16
|
+
.modal-header {
|
17
|
+
border-bottom-color: @box-border-color;
|
18
|
+
}
|
19
|
+
.modal-footer {
|
20
|
+
border-top-color: @box-border-color;
|
21
|
+
}
|
22
|
+
|
23
|
+
//Modal variants
|
24
|
+
.modal-primary {
|
25
|
+
.modal-body {
|
26
|
+
&:extend(.bg-light-blue);
|
27
|
+
}
|
28
|
+
.modal-header,
|
29
|
+
.modal-footer {
|
30
|
+
&:extend(.bg-light-blue-active);
|
31
|
+
border-color: darken(@light-blue, 10%);
|
32
|
+
}
|
33
|
+
}
|
34
|
+
.modal-warning {
|
35
|
+
.modal-body {
|
36
|
+
&:extend(.bg-yellow);
|
37
|
+
}
|
38
|
+
.modal-header,
|
39
|
+
.modal-footer {
|
40
|
+
&:extend(.bg-yellow-active);
|
41
|
+
border-color: darken(@yellow, 10%);
|
42
|
+
}
|
43
|
+
}
|
44
|
+
.modal-info {
|
45
|
+
.modal-body {
|
46
|
+
&:extend(.bg-aqua);
|
47
|
+
}
|
48
|
+
.modal-header,
|
49
|
+
.modal-footer {
|
50
|
+
&:extend(.bg-aqua-active);
|
51
|
+
border-color: darken(@aqua, 10%);
|
52
|
+
}
|
53
|
+
}
|
54
|
+
.modal-success {
|
55
|
+
.modal-body {
|
56
|
+
&:extend(.bg-green);
|
57
|
+
}
|
58
|
+
.modal-header,
|
59
|
+
.modal-footer {
|
60
|
+
&:extend(.bg-green-active);
|
61
|
+
border-color: darken(@green, 10%);
|
62
|
+
}
|
63
|
+
}
|
64
|
+
.modal-danger {
|
65
|
+
.modal-body {
|
66
|
+
&:extend(.bg-red);
|
67
|
+
}
|
68
|
+
.modal-header,
|
69
|
+
.modal-footer {
|
70
|
+
&:extend(.bg-red-active);
|
71
|
+
border-color: darken(@red, 10%);
|
72
|
+
}
|
73
|
+
}
|
@@ -0,0 +1,182 @@
|
|
1
|
+
/*
|
2
|
+
* Component: Nav
|
3
|
+
* --------------
|
4
|
+
*/
|
5
|
+
|
6
|
+
.nav {
|
7
|
+
> li > a:hover,
|
8
|
+
> li > a:active,
|
9
|
+
> li > a:focus {
|
10
|
+
color: #444;
|
11
|
+
background: #f7f7f7;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
/* NAV PILLS */
|
16
|
+
.nav-pills {
|
17
|
+
> li > a {
|
18
|
+
.border-radius(0);
|
19
|
+
border-top: 3px solid transparent;
|
20
|
+
color: #444;
|
21
|
+
> .fa,
|
22
|
+
> .glyphicon,
|
23
|
+
> .ion {
|
24
|
+
margin-right: 5px;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
> li.active > a,
|
28
|
+
> li.active > a:hover,
|
29
|
+
> li.active > a:focus {
|
30
|
+
border-top-color: @light-blue;
|
31
|
+
}
|
32
|
+
> li.active > a {
|
33
|
+
font-weight: 600;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
/* NAV STACKED */
|
37
|
+
.nav-stacked {
|
38
|
+
> li > a {
|
39
|
+
.border-radius(0);
|
40
|
+
border-top: 0;
|
41
|
+
border-left: 3px solid transparent;
|
42
|
+
color: #444;
|
43
|
+
}
|
44
|
+
> li.active > a,
|
45
|
+
> li.active > a:hover {
|
46
|
+
background: transparent;
|
47
|
+
color: #444;
|
48
|
+
border-top: 0;
|
49
|
+
border-left-color: @light-blue;
|
50
|
+
}
|
51
|
+
|
52
|
+
> li.header {
|
53
|
+
border-bottom: 1px solid #ddd;
|
54
|
+
color: #777;
|
55
|
+
margin-bottom: 10px;
|
56
|
+
padding: 5px 10px;
|
57
|
+
text-transform: uppercase;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
/* NAV TABS */
|
62
|
+
.nav-tabs-custom {
|
63
|
+
margin-bottom: 20px;
|
64
|
+
background: #fff;
|
65
|
+
box-shadow: @box-boxshadow;
|
66
|
+
border-radius: @box-border-radius;
|
67
|
+
> .nav-tabs {
|
68
|
+
margin: 0;
|
69
|
+
border-bottom-color: #f4f4f4;
|
70
|
+
.border-top-radius(@box-border-radius);
|
71
|
+
> li {
|
72
|
+
border-top: 3px solid transparent;
|
73
|
+
margin-bottom: -2px;
|
74
|
+
> a {
|
75
|
+
color: #444;
|
76
|
+
.border-radius(0);
|
77
|
+
&.text-muted {
|
78
|
+
color: #999;
|
79
|
+
}
|
80
|
+
&,
|
81
|
+
&:hover {
|
82
|
+
background: transparent;
|
83
|
+
margin: 0;
|
84
|
+
}
|
85
|
+
&:hover {
|
86
|
+
color: #999;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
&:not(.active) {
|
90
|
+
> a:hover,
|
91
|
+
> a:focus,
|
92
|
+
> a:active {
|
93
|
+
border-color: transparent;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
margin-right: 5px;
|
97
|
+
}
|
98
|
+
|
99
|
+
> li.active {
|
100
|
+
border-top-color: @light-blue;
|
101
|
+
& > a,
|
102
|
+
&:hover > a {
|
103
|
+
background-color: #fff;
|
104
|
+
color: #444;
|
105
|
+
}
|
106
|
+
> a {
|
107
|
+
border-top-color: transparent;
|
108
|
+
border-left-color: #f4f4f4;
|
109
|
+
border-right-color: #f4f4f4;
|
110
|
+
}
|
111
|
+
|
112
|
+
}
|
113
|
+
|
114
|
+
> li:first-of-type {
|
115
|
+
margin-left: 0;
|
116
|
+
&.active {
|
117
|
+
> a {
|
118
|
+
border-left-color: transparent;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
//Pulled to the right
|
124
|
+
&.pull-right {
|
125
|
+
float: none!important;
|
126
|
+
> li {
|
127
|
+
float: right;
|
128
|
+
}
|
129
|
+
> li:first-of-type {
|
130
|
+
margin-right: 0;
|
131
|
+
> a {
|
132
|
+
border-left-width: 1px;
|
133
|
+
}
|
134
|
+
&.active {
|
135
|
+
> a {
|
136
|
+
border-left-color: #f4f4f4;
|
137
|
+
border-right-color: transparent;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
> li.header {
|
144
|
+
line-height: 35px;
|
145
|
+
padding: 0 10px;
|
146
|
+
font-size: 20px;
|
147
|
+
color: #444;
|
148
|
+
> .fa,
|
149
|
+
> .glyphicon,
|
150
|
+
> .ion {
|
151
|
+
margin-right: 5px;
|
152
|
+
}
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
> .tab-content {
|
157
|
+
background: #fff;
|
158
|
+
padding: 10px;
|
159
|
+
.border-bottom-radius(@box-border-radius);
|
160
|
+
}
|
161
|
+
|
162
|
+
.dropdown.open > a {
|
163
|
+
&:active,
|
164
|
+
&:focus {
|
165
|
+
background: transparent;
|
166
|
+
color: #999;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
}
|
170
|
+
|
171
|
+
/* PAGINATION */
|
172
|
+
.pagination {
|
173
|
+
> li > a {
|
174
|
+
background: #fafafa;
|
175
|
+
color: #666;
|
176
|
+
}
|
177
|
+
&.pagination-flat {
|
178
|
+
> li > a {
|
179
|
+
.border-radius(0)!important;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/*
|
2
|
+
* Misc: print
|
3
|
+
* -----------
|
4
|
+
*/
|
5
|
+
@media print {
|
6
|
+
//Add to elements that you do not want to show when printing
|
7
|
+
.no-print {
|
8
|
+
display: none!important;
|
9
|
+
}
|
10
|
+
//Elements that we want to hide when printing
|
11
|
+
.main-sidebar,
|
12
|
+
.left-side,
|
13
|
+
.main-header,
|
14
|
+
.content-header {
|
15
|
+
&:extend(.no-print);
|
16
|
+
}
|
17
|
+
//This is the only element that should appear, so let's remove the margins
|
18
|
+
.content-wrapper,
|
19
|
+
.right-side,
|
20
|
+
.main-footer {
|
21
|
+
margin-left: 0!important;
|
22
|
+
min-height: 0!important;
|
23
|
+
.translate(0,0)!important;
|
24
|
+
}
|
25
|
+
.fixed .content-wrapper,
|
26
|
+
.fixed .right-side {
|
27
|
+
padding-top: 0!important;
|
28
|
+
}
|
29
|
+
//Invoice printing
|
30
|
+
.invoice {
|
31
|
+
width: 100%;
|
32
|
+
border: 0;
|
33
|
+
margin: 0;
|
34
|
+
padding: 0;
|
35
|
+
}
|
36
|
+
.invoice-col {
|
37
|
+
float: left;
|
38
|
+
width: 33.3333333%;
|
39
|
+
}
|
40
|
+
//Make sure table content displays properly
|
41
|
+
.table-responsive {
|
42
|
+
overflow: auto;
|
43
|
+
> .table tr th,
|
44
|
+
> .table tr td {
|
45
|
+
white-space: normal!important;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/*
|
2
|
+
* Component: Products List
|
3
|
+
* ------------------------
|
4
|
+
*/
|
5
|
+
.products-list {
|
6
|
+
list-style: none;
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
> .item {
|
10
|
+
.border-radius(@box-border-radius);
|
11
|
+
.box-shadow(@box-boxshadow);
|
12
|
+
.clearfix();
|
13
|
+
padding: 10px 0;
|
14
|
+
background: #fff;
|
15
|
+
}
|
16
|
+
.product-img {
|
17
|
+
float: left;
|
18
|
+
img {
|
19
|
+
width: 50px;
|
20
|
+
height: 50px;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
.product-info {
|
24
|
+
margin-left: 60px;
|
25
|
+
}
|
26
|
+
.product-title {
|
27
|
+
font-weight: 600;
|
28
|
+
}
|
29
|
+
.product-description {
|
30
|
+
display: block;
|
31
|
+
color: #999;
|
32
|
+
overflow: hidden;
|
33
|
+
white-space: nowrap;
|
34
|
+
text-overflow: ellipsis;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
.product-list-in-box > .item {
|
38
|
+
.box-shadow(none);
|
39
|
+
.border-radius(0);
|
40
|
+
border-bottom: 1px solid @box-border-color;
|
41
|
+
&:last-of-type {
|
42
|
+
border-bottom-width: 0;
|
43
|
+
}
|
44
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
/*
|
2
|
+
* Page: Profile
|
3
|
+
* -------------
|
4
|
+
*/
|
5
|
+
|
6
|
+
.profile-user-img {
|
7
|
+
margin: 0 auto;
|
8
|
+
width: 100px;
|
9
|
+
padding: 3px;
|
10
|
+
border: 3px solid @gray;
|
11
|
+
}
|
12
|
+
.profile-username {
|
13
|
+
font-size: 21px;
|
14
|
+
margin-top: 5px;
|
15
|
+
}
|
16
|
+
.post {
|
17
|
+
border-bottom: 1px solid @gray;
|
18
|
+
margin-bottom: 15px;
|
19
|
+
padding-bottom: 15px;
|
20
|
+
color: #666;
|
21
|
+
&:last-of-type {
|
22
|
+
border-bottom: 0;
|
23
|
+
margin-bottom: 0;
|
24
|
+
padding-bottom: 0;
|
25
|
+
}
|
26
|
+
.user-block {
|
27
|
+
margin-bottom: 15px;
|
28
|
+
}
|
29
|
+
}
|