wcc-styles 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/README-GEM.md +43 -0
  3. data/lib/assets/images/wcc/styles/logo-dark.png +0 -0
  4. data/lib/assets/images/wcc/styles/logo-dark.svg +19 -0
  5. data/lib/assets/images/wcc/styles/logo-text.png +0 -0
  6. data/lib/assets/images/wcc/styles/logo.png +0 -0
  7. data/lib/assets/images/wcc/styles/logo.svg +15 -0
  8. data/lib/assets/javascripts/wcc/styles/application.js +3 -0
  9. data/lib/assets/javascripts/wcc/styles/selectize.js +13 -0
  10. data/lib/assets/javascripts/wcc/styles/tessa.js.coffee +173 -0
  11. data/lib/assets/javascripts/wcc/styles/wcc.datetimepicker.js +50 -0
  12. data/lib/assets/stylesheets/wcc/styles/admin/_admin_base.scss +24 -0
  13. data/lib/assets/stylesheets/wcc/styles/admin/_all.scss +1 -0
  14. data/lib/assets/stylesheets/wcc/styles/apps/_all.scss +2 -0
  15. data/lib/assets/stylesheets/wcc/styles/apps/_events.scss +22 -0
  16. data/lib/assets/stylesheets/wcc/styles/apps/_staff.scss +151 -0
  17. data/lib/assets/stylesheets/wcc/styles/base.css.scss +90 -0
  18. data/lib/assets/stylesheets/wcc/styles/base/all.css.scss +4 -0
  19. data/lib/assets/stylesheets/wcc/styles/base/custom_file_inputs.css.scss +7 -0
  20. data/lib/assets/stylesheets/wcc/styles/base/custom_selects.css.scss +8 -0
  21. data/lib/assets/stylesheets/wcc/styles/base/icons.css.scss +2 -0
  22. data/lib/assets/stylesheets/wcc/styles/snippets/_admin.scss +0 -0
  23. data/lib/assets/stylesheets/wcc/styles/snippets/_alerts.scss +95 -0
  24. data/lib/assets/stylesheets/wcc/styles/snippets/_all.scss +12 -0
  25. data/lib/assets/stylesheets/wcc/styles/snippets/_buttons.scss +126 -0
  26. data/lib/assets/stylesheets/wcc/styles/snippets/_datetimepicker.scss +555 -0
  27. data/lib/assets/stylesheets/wcc/styles/snippets/_elements.scss +174 -0
  28. data/lib/assets/stylesheets/wcc/styles/snippets/_forms.scss +236 -0
  29. data/lib/assets/stylesheets/wcc/styles/snippets/_grid.scss +183 -0
  30. data/lib/assets/stylesheets/wcc/styles/snippets/_labels.scss +117 -0
  31. data/lib/assets/stylesheets/wcc/styles/snippets/_navs.scss +146 -0
  32. data/lib/assets/stylesheets/wcc/styles/snippets/_normalize.scss +99 -0
  33. data/lib/assets/stylesheets/wcc/styles/snippets/_pagination.scss +135 -0
  34. data/lib/assets/stylesheets/wcc/styles/snippets/_selectize.scss +361 -0
  35. data/lib/assets/stylesheets/wcc/styles/snippets/_sidebar_slideout.scss +184 -0
  36. data/lib/assets/stylesheets/wcc/styles/snippets/_tables.scss +268 -0
  37. data/lib/assets/stylesheets/wcc/styles/snippets/_top_nav.scss +278 -0
  38. data/lib/assets/stylesheets/wcc/styles/variables/_colors.scss +28 -0
  39. data/lib/assets/stylesheets/wcc/styles/variables/_mixins.scss +14 -0
  40. data/lib/assets/stylesheets/wcc/styles/variables/_typography.scss +382 -0
  41. data/lib/wcc/styles.rb +16 -0
  42. data/lib/wcc/styles/engine.rb +32 -0
  43. data/lib/wcc/styles/helpers.rb +11 -0
  44. data/lib/wcc/styles/simple_form.rb +102 -0
  45. data/lib/wcc/styles/simple_form/asset_input.rb +46 -0
  46. data/lib/wcc/styles/simple_form/date_picker_input.rb +19 -0
  47. data/lib/wcc/styles/simple_form/historical_date_input.rb +50 -0
  48. data/lib/wcc/styles/simple_form/time_picker_input.rb +32 -0
  49. data/lib/wcc/styles/version.rb +5 -0
  50. metadata +190 -0
@@ -0,0 +1,90 @@
1
+ /*
2
+ Title: Watermark Base Pattern Library Styles
3
+ Release Date: 08/12/14
4
+ Version: 1.0.7
5
+ */
6
+
7
+ @import "compass/layout/stretching";
8
+ @import "compass";
9
+
10
+ @import "variables/mixins";
11
+ @import "variables/colors";
12
+ @import "variables/typography";
13
+
14
+ /*===========================================
15
+ Base Styles and Resets
16
+ ============================================*/
17
+
18
+ * {
19
+ @include box-sizing (border-box);
20
+ }
21
+
22
+ html, body {
23
+ height: 100%;
24
+ overflow-x: hidden;
25
+ -webkit-text-size-adjust: 100%;
26
+ -ms-text-size-adjust: 100%;
27
+ }
28
+
29
+ html {
30
+ font-size: 62.5%;
31
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
32
+ font-family: sans-serif;
33
+ }
34
+
35
+ body {
36
+ @include primary-font;
37
+ color: $text;
38
+ font-size: 14px;
39
+ line-height: 1.42857143;
40
+ overflow-y: scroll; /* has to be scroll, not auto */
41
+ -webkit-overflow-scrolling: touch;
42
+ }
43
+
44
+ a {
45
+ @include primary-font;
46
+ color: $orange;
47
+ text-decoration: none;
48
+
49
+ &:focus { outline: thin dotted; }
50
+ &:active { outline: 0; }
51
+ &:hover { outline: 0; }
52
+ }
53
+
54
+ [class*="col"] img {
55
+ max-width: 100%;
56
+ }
57
+
58
+ :focus {
59
+ outline: none;
60
+ }
61
+
62
+ /*===========================================
63
+ Normalize
64
+ ============================================*/
65
+
66
+ @import "snippets/normalize";
67
+
68
+ /*===========================================
69
+ The Grid
70
+ ============================================*/
71
+
72
+ @import "snippets/grid";
73
+
74
+ /*===========================================
75
+ All Snippets
76
+ ============================================*/
77
+
78
+ @import "snippets/all";
79
+
80
+ /*===========================================
81
+ All Admin Styles
82
+ ============================================*/
83
+
84
+ @import "admin/all";
85
+
86
+ /*===========================================
87
+ All App Specific Styles
88
+ ============================================*/
89
+
90
+ @import "apps/all";
@@ -0,0 +1,4 @@
1
+ @import "wcc/styles/base";
2
+ @import "wcc/styles/base/icons";
3
+ @import "wcc/styles/base/custom_selects";
4
+ @import "wcc/styles/base/custom_file_inputs";
@@ -0,0 +1,7 @@
1
+ @import "dropzone";
2
+
3
+ .dropzone {
4
+ border: 1px solid #D8D5D0;
5
+ margin: 10px 0 15px 0;
6
+ min-height: 0;
7
+ }
@@ -0,0 +1,8 @@
1
+ .select-style {
2
+ overflow: visible;
3
+ }
4
+
5
+ div.option.selected {
6
+ background-color: $medium-grey;
7
+ color: white;
8
+ }
@@ -0,0 +1,2 @@
1
+ @import "font-awesome";
2
+
@@ -0,0 +1,95 @@
1
+ // Styles for Alerts - Managed in /theme/sass/snippets/_alerts.scss
2
+
3
+ .alert {
4
+ font-size: 12px;
5
+ padding: 10px 15px;
6
+ margin: 10px 0 20px 0;
7
+ border: 1px solid transparent;
8
+ border-radius: 4px;
9
+ text-align: center;
10
+ }
11
+
12
+ .alert h4 {
13
+ margin-top: 0;
14
+ color: inherit;
15
+ }
16
+
17
+ .alert .alert-link {
18
+ font-weight: bold;
19
+ }
20
+
21
+ .alert > p,
22
+ .alert > ul {
23
+ margin-bottom: 0;
24
+ }
25
+
26
+ .alert > p + p {
27
+ margin-top: 5px;
28
+ }
29
+
30
+ .alert-dismissable {
31
+ padding-right: 35px;
32
+ }
33
+
34
+ .alert-dismissable .close {
35
+ position: relative;
36
+ top: -2px;
37
+ right: -21px;
38
+ color: inherit;
39
+ }
40
+
41
+ .alert-success {
42
+ color: #468847;
43
+ background-color: #dff0d8;
44
+ border-color: #d6e9c6;
45
+ }
46
+
47
+ .alert-success hr {
48
+ border-top-color: #c9e2b3;
49
+ }
50
+
51
+ .alert-success .alert-link {
52
+ color: #356635;
53
+ }
54
+
55
+ .alert-info {
56
+ color: #3a87ad;
57
+ background-color: #d9edf7;
58
+ border-color: #bce8f1;
59
+ }
60
+
61
+ .alert-info hr {
62
+ border-top-color: #a6e1ec;
63
+ }
64
+
65
+ .alert-info .alert-link {
66
+ color: #2d6987;
67
+ }
68
+
69
+ .alert-warning {
70
+ color: #c09853;
71
+ background-color: #fcf8e3;
72
+ border-color: #fbeed5;
73
+ }
74
+
75
+ .alert-warning hr {
76
+ border-top-color: #f8e5be;
77
+ }
78
+
79
+ .alert-warning .alert-link {
80
+ color: #a47e3c;
81
+ }
82
+
83
+ .alert-danger {
84
+ color: #7D5B8C;
85
+ background-color: rgba(125,91,140,0.15);
86
+ border-color: #7D5B8C;
87
+ }
88
+
89
+ .alert-danger hr {
90
+ border-top-color: #e6c1c7;
91
+ }
92
+
93
+ .alert-danger .alert-link {
94
+ color: #953b39;
95
+ }
@@ -0,0 +1,12 @@
1
+ @import "alerts";
2
+ @import "buttons";
3
+ @import "datetimepicker";
4
+ @import "elements";
5
+ @import "forms";
6
+ @import "labels";
7
+ @import "navs";
8
+ @import "pagination";
9
+ @import "selectize";
10
+ @import "sidebar_slideout";
11
+ @import "tables";
12
+ @import "top_nav";
@@ -0,0 +1,126 @@
1
+ .button {
2
+ @include border-radius(4px);
3
+ @include primary-font;
4
+ display: inline-block;
5
+ font-weight: normal;
6
+ text-align: center;
7
+ vertical-align: middle;
8
+ cursor: pointer;
9
+ color: white;
10
+ background-image: none;
11
+ border: 2px solid transparent;
12
+ white-space: nowrap;
13
+ padding: 10px 20px;
14
+ margin: 0 3px;
15
+ font-size: 14px;
16
+ line-height: 1.42857143;
17
+ -webkit-appearance: none;
18
+ -webkit-user-select: none;
19
+ -moz-user-select: none;
20
+ -ms-user-select: none;
21
+
22
+ a {
23
+ color: white;
24
+ }
25
+
26
+ @include button-theme($medium-grey);
27
+
28
+ &.primary {
29
+ @include button-theme($orange);
30
+ }
31
+
32
+ &.success {
33
+ @include button-theme($green);
34
+ }
35
+
36
+ &.warning {
37
+ @include button-theme($yellow);
38
+ }
39
+
40
+ &.info {
41
+ @include button-theme($blue);
42
+ }
43
+
44
+ &.danger {
45
+ @include button-theme($red);
46
+
47
+ &.ghost {
48
+ background-color: transparent;
49
+ border: 2px solid $red;
50
+ color: $red;
51
+ }
52
+ }
53
+
54
+ &.disabled {
55
+ @include button-theme($light-grey);
56
+ color: $medium-grey;
57
+ }
58
+
59
+ &.ghost {
60
+ background-color: transparent;
61
+ border: 2px solid $light-grey;
62
+ color: $light-grey;
63
+ }
64
+
65
+ &.signout {
66
+ @include border-radius(0px);
67
+ background-color: transparent;
68
+ border: 1px solid $orange;
69
+ color: $orange;
70
+ font-size: 10px;
71
+ font-weight: 600;
72
+ margin-left: 10px;
73
+ padding: 5px 10px;
74
+ }
75
+
76
+ &.large {
77
+ padding: 15px 30px;
78
+ }
79
+
80
+ &.small {
81
+ padding: 5px 10px;
82
+ font-size: 12px;
83
+ }
84
+
85
+ &.xsmall {
86
+ padding: 0 4px;
87
+ font-size: 75%;
88
+ }
89
+
90
+ &.fullwide {
91
+ width: 100%;
92
+ margin: 10px 0 0 0;
93
+ display: block;
94
+ }
95
+ }
96
+
97
+ .button-group {
98
+ position: relative;
99
+ display: inline-block;
100
+ vertical-align: middle;
101
+
102
+ > .button {
103
+ position: relative;
104
+ float: left;
105
+
106
+ &:first-child {
107
+ margin-right: 0;
108
+ &:not(:last-child) {
109
+ @include border-right-radius(0)
110
+ }
111
+ }
112
+
113
+ &:not(:first-child):not(:last-child) {
114
+ margin-left: 0;
115
+ margin-right: 0;
116
+ border-radius: 0;
117
+ }
118
+
119
+ &:last-child {
120
+ margin-left: 0;
121
+ &:not(:first-child) {
122
+ @include border-left-radius(0);
123
+ }
124
+ }
125
+ }
126
+ }
@@ -0,0 +1,555 @@
1
+ //data-uris
2
+ $data_uri_0: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeCAYAAADaW7vzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZG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62lfGNnP/1poFAA60T7rF1UgcKd2id3KDeUS+oLWV8DfWAepOfq00CgQabi9zjcgJVYVD7PVzQUAUGAQkbNJTBICDhgwYTjDYD6XeW08ZKh+A4pYkzenOxXUbvZcWz7E8ykRMnIHGX1XPl+1m2vPYpL+2qdb8CDAARlKFEz/ZVkAAAAABJRU5ErkJggg==";
4
+
5
+ //urls
6
+ $url_0: url($data_uri_0);
7
+
8
+ //@extend-elements
9
+ //original selectors
10
+ //.xdsoft_datetimepicker .xdsoft_next, .xdsoft_datetimepicker .xdsoft_prev, .xdsoft_datetimepicker .xdsoft_today_button
11
+ %extend_1 {
12
+ background-color: transparent;
13
+ background-repeat: no-repeat;
14
+ border: 0 none;
15
+ cursor: pointer;
16
+ display: block;
17
+ height: 30px;
18
+ opacity: 0.5;
19
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
20
+ outline: medium none;
21
+ overflow: hidden;
22
+ padding: 0;
23
+ position: relative;
24
+ text-indent: 100%;
25
+ white-space: nowrap;
26
+ width: 20px;
27
+ min-width: 0;
28
+ }
29
+
30
+ //original selectors
31
+ //.xdsoft_datetimepicker .xdsoft_calendar td, .xdsoft_datetimepicker .xdsoft_calendar th
32
+ %extend_2 {
33
+ width: 14.2857142%;
34
+ background: #f5f5f5;
35
+ border: 1px solid #ddd;
36
+ color: #666;
37
+ font-size: 12px;
38
+ text-align: right;
39
+ vertical-align: middle;
40
+ padding: 0;
41
+ border-collapse: collapse;
42
+ cursor: pointer;
43
+ height: 25px;
44
+ }
45
+
46
+
47
+ .xdsoft_datetimepicker {
48
+ box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.506);
49
+ background: #fff;
50
+ border-bottom: 1px solid #bbb;
51
+ border-left: 1px solid #ccc;
52
+ border-right: 1px solid #ccc;
53
+ border-top: 1px solid #ccc;
54
+ color: #333;
55
+ font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
56
+ padding: 8px;
57
+ padding-left: 0;
58
+ padding-top: 2px;
59
+ position: absolute;
60
+ z-index: 9999;
61
+ -moz-box-sizing: border-box;
62
+ box-sizing: border-box;
63
+ display: none;
64
+ iframe {
65
+ position: absolute;
66
+ left: 0;
67
+ top: 0;
68
+ width: 75px;
69
+ height: 210px;
70
+ background: transparent;
71
+ border: none;
72
+ }
73
+ button {
74
+ border: none !important;
75
+ }
76
+ &.xdsoft_inline {
77
+ display: inline-block;
78
+ position: static;
79
+ box-shadow: none;
80
+ }
81
+ * {
82
+ -moz-box-sizing: border-box;
83
+ box-sizing: border-box;
84
+ padding: 0;
85
+ margin: 0;
86
+ }
87
+ .xdsoft_datepicker {
88
+ display: none;
89
+ width: 224px;
90
+ float: left;
91
+ margin-left: 8px;
92
+ &.active {
93
+ display: block;
94
+ }
95
+ }
96
+ .xdsoft_timepicker {
97
+ display: none;
98
+ width: 58px;
99
+ float: left;
100
+ text-align: center;
101
+ margin-left: 8px;
102
+ margin-top: 0;
103
+ &.active {
104
+ display: block;
105
+ }
106
+ .xdsoft_prev {
107
+ float: none;
108
+ background-position: -40px -15px;
109
+ height: 15px;
110
+ width: 30px;
111
+ display: block;
112
+ margin-left: 14px;
113
+ margin-top: 7px;
114
+ background-position: -40px 0;
115
+ margin-bottom: 7px;
116
+ margin-top: 0;
117
+ }
118
+ .xdsoft_next {
119
+ float: none;
120
+ background-position: -40px -15px;
121
+ height: 15px;
122
+ width: 30px;
123
+ display: block;
124
+ margin-left: 14px;
125
+ margin-top: 7px;
126
+ }
127
+ .xdsoft_time_box {
128
+ height: 151px;
129
+ overflow: hidden;
130
+ border-bottom: 1px solid #ddd;
131
+ >div {
132
+ >div {
133
+ background: #f5f5f5;
134
+ border-top: 1px solid #ddd;
135
+ color: #666;
136
+ font-size: 12px;
137
+ text-align: center;
138
+ border-collapse: collapse;
139
+ cursor: pointer;
140
+ border-bottom-width: 0;
141
+ height: 25px;
142
+ line-height: 25px;
143
+ &.xdsoft_current {
144
+ background: #EB7F4C;
145
+ box-shadow: #cc6e42 0 1px 3px 0 inset;
146
+ color: #fff;
147
+ font-weight: 700;
148
+ }
149
+ &:hover {
150
+ color: #fff !important;
151
+ background: #ff8000 !important;
152
+ box-shadow: none !important;
153
+ }
154
+ &.xdsoft_disabled:hover {
155
+ color: inherit !important;
156
+ background: inherit !important;
157
+ box-shadow: inherit !important;
158
+ }
159
+ }
160
+ > div:first-child {
161
+ border-top-width: 0;
162
+ }
163
+ }
164
+ }
165
+ .xdsoft_time_box>div>div.xdsoft_current.xdsoft_disabled:hover {
166
+ background: #EB7F4C !important;
167
+ box-shadow: #cc6e42 0 1px 3px 0 inset !important;
168
+ color: #fff !important;
169
+ }
170
+ }
171
+ &.xdsoft_showweeks {
172
+ .xdsoft_datepicker {
173
+ width: 256px;
174
+ }
175
+ .xdsoft_calendar {
176
+ td {
177
+ width: 12.5%;
178
+ }
179
+ th {
180
+ width: 12.5%;
181
+ }
182
+ }
183
+ }
184
+ .xdsoft_mounthpicker {
185
+ position: relative;
186
+ text-align: center;
187
+ }
188
+ .xdsoft_label {
189
+ display: inline;
190
+ position: relative;
191
+ z-index: 9999;
192
+ margin: 0;
193
+ padding: 5px 3px;
194
+ font-size: 14px;
195
+ line-height: 20px;
196
+ font-weight: bold;
197
+ background-color: #fff;
198
+ float: left;
199
+ width: 182px;
200
+ text-align: center;
201
+ cursor: pointer;
202
+ i {
203
+ background-image: $url_0;
204
+ opacity: 0.5;
205
+ background-position: -92px -19px;
206
+ display: inline-block;
207
+ width: 9px;
208
+ height: 20px;
209
+ vertical-align: middle;
210
+ }
211
+ &:hover>span {
212
+ text-decoration: underline;
213
+ }
214
+ &:hover i {
215
+ opacity: 1.0;
216
+ }
217
+ > .xdsoft_select {
218
+ border: 1px solid #ccc;
219
+ position: absolute;
220
+ right: 0;
221
+ top: 30px;
222
+ z-index: 101;
223
+ display: none;
224
+ background: #fff;
225
+ max-height: 160px;
226
+ overflow-y: hidden;
227
+ &.xdsoft_monthselect {
228
+ right: -7px;
229
+ }
230
+ &.xdsoft_yearselect {
231
+ right: 2px;
232
+ }
233
+ > div > .xdsoft_option {
234
+ padding: 2px 10px 2px 5px;
235
+ text-decoration: none !important;
236
+ &:hover {
237
+ color: #fff;
238
+ background: #ff8000;
239
+ }
240
+ &.xdsoft_current {
241
+ background: #EB7F4C;
242
+ box-shadow: #cc6e42 0 1px 3px 0 inset;
243
+ color: #fff;
244
+ font-weight: 700;
245
+ }
246
+ }
247
+ }
248
+ }
249
+ .xdsoft_prev {
250
+ background-image: $url_0;
251
+ float: left;
252
+ background-position: -20px 0;
253
+ @extend %extend_1;
254
+ &:hover {
255
+ opacity: 1;
256
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
257
+ }
258
+ }
259
+ .xdsoft_next {
260
+ background-image: $url_0;
261
+ float: right;
262
+ background-position: 0 0;
263
+ @extend %extend_1;
264
+ &:hover {
265
+ opacity: 1;
266
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
267
+ }
268
+ }
269
+ .xdsoft_today_button {
270
+ background-image: $url_0;
271
+ float: left;
272
+ background-position: -70px 0;
273
+ margin-left: 5px;
274
+ @extend %extend_1;
275
+ &:hover {
276
+ opacity: 1;
277
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
278
+ }
279
+ }
280
+ .xdsoft_month {
281
+ width: 100px;
282
+ text-align: right;
283
+ }
284
+ .xdsoft_calendar {
285
+ clear: both;
286
+ table {
287
+ border-collapse: collapse;
288
+ width: 100%;
289
+ }
290
+ td {
291
+ @extend %extend_2;
292
+ &.xdsoft_today {
293
+ color: #EB7F4C;
294
+ }
295
+ &.xdsoft_default {
296
+ background: #EB7F4C;
297
+ box-shadow: #cc6e42 0 1px 3px 0 inset;
298
+ color: #fff;
299
+ font-weight: 700;
300
+ }
301
+ &.xdsoft_current {
302
+ background: #EB7F4C;
303
+ box-shadow: #cc6e42 0 1px 3px 0 inset;
304
+ color: #fff;
305
+ font-weight: 700;
306
+ }
307
+ &.xdsoft_other_month {
308
+ opacity: 0.5;
309
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
310
+ cursor: default;
311
+ }
312
+ &.xdsoft_disabled {
313
+ opacity: 0.5;
314
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
315
+ cursor: default;
316
+ &:hover {
317
+ color: inherit !important;
318
+ background: inherit !important;
319
+ box-shadow: inherit !important;
320
+ }
321
+ }
322
+ &:hover {
323
+ color: #fff !important;
324
+ background: #ff8000 !important;
325
+ box-shadow: none !important;
326
+ }
327
+ > div {
328
+ padding-right: 5px;
329
+ }
330
+ }
331
+ th {
332
+ height: 25px;
333
+ background: #f1f1f1;
334
+ font-weight: 700;
335
+ text-align: center;
336
+ color: #999;
337
+ cursor: default;
338
+ @extend %extend_2;
339
+ }
340
+ td.xdsoft_other_month.xdsoft_disabled {
341
+ opacity: 0.2;
342
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
343
+ }
344
+ td.xdsoft_current.xdsoft_disabled:hover {
345
+ background: #EB7F4C !important;
346
+ box-shadow: #cc6e42 0 1px 3px 0 inset !important;
347
+ color: #fff !important;
348
+ }
349
+ }
350
+ .xdsoft_year {
351
+ width: 48px;
352
+ margin-left: 5px;
353
+ }
354
+ .xdsoft_copyright {
355
+ color: #ccc !important;
356
+ font-size: 10px;
357
+ clear: both;
358
+ float: none;
359
+ margin-left: 8px;
360
+ a {
361
+ color: #eee !important;
362
+ &:hover {
363
+ color: #aaa !important;
364
+ }
365
+ }
366
+ }
367
+ &.xdsoft_dark {
368
+ box-shadow: 0 5px 15px -5px rgba(255, 255, 255, 0.506);
369
+ background: #000;
370
+ border-bottom: 1px solid #444;
371
+ border-left: 1px solid #333;
372
+ border-right: 1px solid #333;
373
+ border-top: 1px solid #333;
374
+ color: #ccc;
375
+ .xdsoft_label {
376
+ background-color: #000;
377
+ i {
378
+ background-image: url($data_uri_1);
379
+ }
380
+ > .xdsoft_select {
381
+ border: 1px solid #333;
382
+ background: #000;
383
+ > div > .xdsoft_option {
384
+ &:hover {
385
+ color: #000;
386
+ background: #b03e00;
387
+ }
388
+ &.xdsoft_current {
389
+ background: #cc5500;
390
+ box-shadow: #b03e00 0 1px 3px 0 inset;
391
+ color: #000;
392
+ }
393
+ }
394
+ }
395
+ }
396
+ .xdsoft_prev {
397
+ background-image: url($data_uri_1);
398
+ }
399
+ .xdsoft_next {
400
+ background-image: url($data_uri_1);
401
+ }
402
+ .xdsoft_today_button {
403
+ background-image: url($data_uri_1);
404
+ }
405
+ .xdsoft_calendar {
406
+ td {
407
+ background: #0a0a0a;
408
+ border: 1px solid #222;
409
+ color: #999;
410
+ &.xdsoft_today {
411
+ color: #cc5500;
412
+ }
413
+ &.xdsoft_default {
414
+ background: #cc5500;
415
+ box-shadow: #b03e00 0 1px 3px 0 inset;
416
+ color: #000;
417
+ }
418
+ &.xdsoft_current {
419
+ background: #cc5500;
420
+ box-shadow: #b03e00 0 1px 3px 0 inset;
421
+ color: #000;
422
+ }
423
+ &:hover {
424
+ color: #000 !important;
425
+ background: #b03e00 !important;
426
+ }
427
+ }
428
+ th {
429
+ background: #0a0a0a;
430
+ border: 1px solid #222;
431
+ color: #999;
432
+ background: #0e0e0e;
433
+ color: #666;
434
+ }
435
+ }
436
+ .xdsoft_copyright {
437
+ color: #333 !important;
438
+ a {
439
+ color: #111 !important;
440
+ &:hover {
441
+ color: #555 !important;
442
+ }
443
+ }
444
+ }
445
+ .xdsoft_timepicker .xdsoft_time_box {
446
+ border-bottom: 1px solid #222;
447
+ >div >div {
448
+ background: #0a0a0a;
449
+ border-top: 1px solid #222;
450
+ color: #999;
451
+ &.xdsoft_current {
452
+ background: #cc5500;
453
+ box-shadow: #b03e00 0 1px 3px 0 inset;
454
+ color: #000;
455
+ }
456
+ &:hover {
457
+ color: #000 !important;
458
+ background: #b03e00 !important;
459
+ }
460
+ }
461
+ }
462
+ }
463
+ .xdsoft_save_selected {
464
+ display: block;
465
+ border: 1px solid #dddddd !important;
466
+ margin-top: 5px;
467
+ width: 100%;
468
+ color: #454551;
469
+ font-size: 13px;
470
+ }
471
+ .blue-gradient-button {
472
+ font-family: museo-sans, Book Antiqua, sans-serif;
473
+ font-size: 12px;
474
+ font-weight: 300;
475
+ color: #82878c;
476
+ height: 28px;
477
+ position: relative;
478
+ padding: 4px 17px 4px 33px;
479
+ border: 1px solid #d7d8da;
480
+ background: linear-gradient(to bottom, #fff 0, #f4f8fa 73%);
481
+ filter: progid:dximagetransform.microsoft.gradient(startcolorstr='#fff', endcolorstr='#f4f8fa',gradienttype=0 );
482
+ &:hover {
483
+ color: #454551;
484
+ background: linear-gradient(to bottom, #f4f8fa 0, #fff 73%);
485
+ filter: progid:dximagetransform.microsoft.gradient(startcolorstr='#f4f8fa', endcolorstr='#fff',gradienttype=0 );
486
+ span {
487
+ color: #454551;
488
+ background: linear-gradient(to bottom, #f4f8fa 0, #fff 73%);
489
+ filter: progid:dximagetransform.microsoft.gradient(startcolorstr='#f4f8fa', endcolorstr='#fff',gradienttype=0 );
490
+ }
491
+ }
492
+ &:focus {
493
+ color: #454551;
494
+ background: linear-gradient(to bottom, #f4f8fa 0, #fff 73%);
495
+ filter: progid:dximagetransform.microsoft.gradient(startcolorstr='#f4f8fa', endcolorstr='#fff',gradienttype=0 );
496
+ span {
497
+ color: #454551;
498
+ background: linear-gradient(to bottom, #f4f8fa 0, #fff 73%);
499
+ filter: progid:dximagetransform.microsoft.gradient(startcolorstr='#f4f8fa', endcolorstr='#fff',gradienttype=0 );
500
+ }
501
+ }
502
+ }
503
+ .xdsoft_datepicker.active+.xdsoft_timepicker {
504
+ margin-top: 8px;
505
+ margin-bottom: 3px;
506
+ }
507
+ .xdsoft_time_box >div >div.xdsoft_disabled {
508
+ opacity: 0.5;
509
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
510
+ cursor: default;
511
+ }
512
+ }
513
+ .xdsoft_noselect {
514
+ -webkit-touch-callout: none;
515
+ -webkit-user-select: none;
516
+ -khtml-user-select: none;
517
+ -moz-user-select: none;
518
+ -ms-user-select: none;
519
+ -o-user-select: none;
520
+ user-select: none;
521
+ }
522
+ .xdsoft_noselect::selection {
523
+ background: transparent;
524
+ }
525
+ .xdsoft_noselect::-moz-selection {
526
+ background: transparent;
527
+ }
528
+ .xdsoft_time_box {
529
+ position: relative;
530
+ border: 1px solid #ccc;
531
+ }
532
+ .xdsoft_scrollbar {
533
+ position: absolute;
534
+ width: 7px;
535
+ right: 0;
536
+ top: 0;
537
+ bottom: 0;
538
+ cursor: pointer;
539
+ >.xdsoft_scroller {
540
+ background: #ccc !important;
541
+ height: 20px;
542
+ border-radius: 3px;
543
+ }
544
+ }
545
+ .xdsoft_scroller_box {
546
+ position: relative;
547
+ }
548
+ .xdsoft_dark {
549
+ .xdsoft_time_box {
550
+ border: 1px solid #333;
551
+ }
552
+ .xdsoft_scrollbar >.xdsoft_scroller {
553
+ background: #333 !important;
554
+ }
555
+ }