now-ui-kit-rails 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +1 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +31 -0
- data/Rakefile +27 -0
- data/app/assets/fonts/now_ui_kit/.keep +0 -0
- data/app/assets/fonts/now_ui_kit/nucleo-outline.eot +0 -0
- data/app/assets/fonts/now_ui_kit/nucleo-outline.ttf +0 -0
- data/app/assets/fonts/now_ui_kit/nucleo-outline.woff +0 -0
- data/app/assets/fonts/now_ui_kit/nucleo-outline.woff2 +0 -0
- data/app/assets/images/now_ui_kit/.keep +0 -0
- data/app/assets/images/now_ui_kit/apple-icon.png +0 -0
- data/app/assets/images/now_ui_kit/avatar.jpg +0 -0
- data/app/assets/images/now_ui_kit/bg1.jpg +0 -0
- data/app/assets/images/now_ui_kit/bg11.jpg +0 -0
- data/app/assets/images/now_ui_kit/bg3.jpg +0 -0
- data/app/assets/images/now_ui_kit/bg4.jpg +0 -0
- data/app/assets/images/now_ui_kit/bg5.jpg +0 -0
- data/app/assets/images/now_ui_kit/bg6.jpg +0 -0
- data/app/assets/images/now_ui_kit/bg7.jpg +0 -0
- data/app/assets/images/now_ui_kit/bg8.jpg +0 -0
- data/app/assets/images/now_ui_kit/blurred-image-1.jpg +0 -0
- data/app/assets/images/now_ui_kit/creative-tim-white-slim2.png +0 -0
- data/app/assets/images/now_ui_kit/default-avatar.png +0 -0
- data/app/assets/images/now_ui_kit/eva.jpg +0 -0
- data/app/assets/images/now_ui_kit/favicon.png +0 -0
- data/app/assets/images/now_ui_kit/flags/AD.png +0 -0
- data/app/assets/images/now_ui_kit/flags/AE.png +0 -0
- data/app/assets/images/now_ui_kit/flags/AG.png +0 -0
- data/app/assets/images/now_ui_kit/flags/AM.png +0 -0
- data/app/assets/images/now_ui_kit/flags/AR.png +0 -0
- data/app/assets/images/now_ui_kit/flags/AT.png +0 -0
- data/app/assets/images/now_ui_kit/flags/AU.png +0 -0
- data/app/assets/images/now_ui_kit/flags/BE.png +0 -0
- data/app/assets/images/now_ui_kit/flags/BF.png +0 -0
- data/app/assets/images/now_ui_kit/flags/BG.png +0 -0
- data/app/assets/images/now_ui_kit/flags/BO.png +0 -0
- data/app/assets/images/now_ui_kit/flags/BR.png +0 -0
- data/app/assets/images/now_ui_kit/flags/CA.png +0 -0
- data/app/assets/images/now_ui_kit/flags/CD.png +0 -0
- data/app/assets/images/now_ui_kit/flags/CG.png +0 -0
- data/app/assets/images/now_ui_kit/flags/CH.png +0 -0
- data/app/assets/images/now_ui_kit/flags/CL.png +0 -0
- data/app/assets/images/now_ui_kit/flags/CM.png +0 -0
- data/app/assets/images/now_ui_kit/flags/CN.png +0 -0
- data/app/assets/images/now_ui_kit/flags/CO.png +0 -0
- data/app/assets/images/now_ui_kit/flags/CZ.png +0 -0
- data/app/assets/images/now_ui_kit/flags/DE.png +0 -0
- data/app/assets/images/now_ui_kit/flags/DJ.png +0 -0
- data/app/assets/images/now_ui_kit/flags/DK.png +0 -0
- data/app/assets/images/now_ui_kit/flags/DZ.png +0 -0
- data/app/assets/images/now_ui_kit/flags/EE.png +0 -0
- data/app/assets/images/now_ui_kit/flags/EG.png +0 -0
- data/app/assets/images/now_ui_kit/flags/ES.png +0 -0
- data/app/assets/images/now_ui_kit/flags/FI.png +0 -0
- data/app/assets/images/now_ui_kit/flags/FR.png +0 -0
- data/app/assets/images/now_ui_kit/flags/GA.png +0 -0
- data/app/assets/images/now_ui_kit/flags/GB.png +0 -0
- data/app/assets/images/now_ui_kit/flags/GM.png +0 -0
- data/app/assets/images/now_ui_kit/flags/GT.png +0 -0
- data/app/assets/images/now_ui_kit/flags/HN.png +0 -0
- data/app/assets/images/now_ui_kit/flags/HT.png +0 -0
- data/app/assets/images/now_ui_kit/flags/HU.png +0 -0
- data/app/assets/images/now_ui_kit/flags/ID.png +0 -0
- data/app/assets/images/now_ui_kit/flags/IE.png +0 -0
- data/app/assets/images/now_ui_kit/flags/IL.png +0 -0
- data/app/assets/images/now_ui_kit/flags/IN.png +0 -0
- data/app/assets/images/now_ui_kit/flags/IQ.png +0 -0
- data/app/assets/images/now_ui_kit/flags/IR.png +0 -0
- data/app/assets/images/now_ui_kit/flags/IT.png +0 -0
- data/app/assets/images/now_ui_kit/flags/JM.png +0 -0
- data/app/assets/images/now_ui_kit/flags/JO.png +0 -0
- data/app/assets/images/now_ui_kit/flags/JP.png +0 -0
- data/app/assets/images/now_ui_kit/flags/KG.png +0 -0
- data/app/assets/images/now_ui_kit/flags/KN.png +0 -0
- data/app/assets/images/now_ui_kit/flags/KP.png +0 -0
- data/app/assets/images/now_ui_kit/flags/KR.png +0 -0
- data/app/assets/images/now_ui_kit/flags/KW.png +0 -0
- data/app/assets/images/now_ui_kit/flags/KZ.png +0 -0
- data/app/assets/images/now_ui_kit/flags/LA.png +0 -0
- data/app/assets/images/now_ui_kit/flags/LB.png +0 -0
- data/app/assets/images/now_ui_kit/flags/LC.png +0 -0
- data/app/assets/images/now_ui_kit/flags/LS.png +0 -0
- data/app/assets/images/now_ui_kit/flags/LU.png +0 -0
- data/app/assets/images/now_ui_kit/flags/LV.png +0 -0
- data/app/assets/images/now_ui_kit/flags/MG.png +0 -0
- data/app/assets/images/now_ui_kit/flags/MK.png +0 -0
- data/app/assets/images/now_ui_kit/flags/ML.png +0 -0
- data/app/assets/images/now_ui_kit/flags/MM.png +0 -0
- data/app/assets/images/now_ui_kit/flags/MT.png +0 -0
- data/app/assets/images/now_ui_kit/flags/MX.png +0 -0
- data/app/assets/images/now_ui_kit/flags/NA.png +0 -0
- data/app/assets/images/now_ui_kit/flags/NE.png +0 -0
- data/app/assets/images/now_ui_kit/flags/NG.png +0 -0
- data/app/assets/images/now_ui_kit/flags/NI.png +0 -0
- data/app/assets/images/now_ui_kit/flags/NL.png +0 -0
- data/app/assets/images/now_ui_kit/flags/NO.png +0 -0
- data/app/assets/images/now_ui_kit/flags/OM.png +0 -0
- data/app/assets/images/now_ui_kit/flags/PA.png +0 -0
- data/app/assets/images/now_ui_kit/flags/PE.png +0 -0
- data/app/assets/images/now_ui_kit/flags/PG.png +0 -0
- data/app/assets/images/now_ui_kit/flags/PK.png +0 -0
- data/app/assets/images/now_ui_kit/flags/PL.png +0 -0
- data/app/assets/images/now_ui_kit/flags/PT.png +0 -0
- data/app/assets/images/now_ui_kit/flags/PY.png +0 -0
- data/app/assets/images/now_ui_kit/flags/QA.png +0 -0
- data/app/assets/images/now_ui_kit/flags/RO.png +0 -0
- data/app/assets/images/now_ui_kit/flags/RU.png +0 -0
- data/app/assets/images/now_ui_kit/flags/RW.png +0 -0
- data/app/assets/images/now_ui_kit/flags/SA.png +0 -0
- data/app/assets/images/now_ui_kit/flags/SE.png +0 -0
- data/app/assets/images/now_ui_kit/flags/SG.png +0 -0
- data/app/assets/images/now_ui_kit/flags/SL.png +0 -0
- data/app/assets/images/now_ui_kit/flags/SN.png +0 -0
- data/app/assets/images/now_ui_kit/flags/SO.png +0 -0
- data/app/assets/images/now_ui_kit/flags/SV.png +0 -0
- data/app/assets/images/now_ui_kit/flags/TD.png +0 -0
- data/app/assets/images/now_ui_kit/flags/TJ.png +0 -0
- data/app/assets/images/now_ui_kit/flags/TL.png +0 -0
- data/app/assets/images/now_ui_kit/flags/TR.png +0 -0
- data/app/assets/images/now_ui_kit/flags/TZ.png +0 -0
- data/app/assets/images/now_ui_kit/flags/UA.png +0 -0
- data/app/assets/images/now_ui_kit/flags/US.png +0 -0
- data/app/assets/images/now_ui_kit/flags/VE.png +0 -0
- data/app/assets/images/now_ui_kit/flags/VN.png +0 -0
- data/app/assets/images/now_ui_kit/flags/YE.png +0 -0
- data/app/assets/images/now_ui_kit/header.jpg +0 -0
- data/app/assets/images/now_ui_kit/hero-image-1.png +0 -0
- data/app/assets/images/now_ui_kit/hero-image-2.png +0 -0
- data/app/assets/images/now_ui_kit/hero-image-3.png +0 -0
- data/app/assets/images/now_ui_kit/invision-white-slim.png +0 -0
- data/app/assets/images/now_ui_kit/landing.jpg +0 -0
- data/app/assets/images/now_ui_kit/login.jpg +0 -0
- data/app/assets/images/now_ui_kit/logo-square.jpg +0 -0
- data/app/assets/images/now_ui_kit/logo.png +0 -0
- data/app/assets/images/now_ui_kit/now-logo.png +0 -0
- data/app/assets/images/now_ui_kit/nucleo-logo.svg +1 -0
- data/app/assets/images/now_ui_kit/profile.jpg +0 -0
- data/app/assets/images/now_ui_kit/ryan.jpg +0 -0
- data/app/assets/javascripts/now_ui_kit/.keep +0 -0
- data/app/assets/javascripts/now_ui_kit/core/bootstrap.min.js +7 -0
- data/app/assets/javascripts/now_ui_kit/core/jquery.3.2.1.min.js +4 -0
- data/app/assets/javascripts/now_ui_kit/core/tether.min.js +1 -0
- data/app/assets/javascripts/now_ui_kit/now-ui-kit.js +238 -0
- data/app/assets/javascripts/now_ui_kit/plugins/bootstrap-datepicker.js +2031 -0
- data/app/assets/javascripts/now_ui_kit/plugins/bootstrap-switch.js +744 -0
- data/app/assets/javascripts/now_ui_kit/plugins/nouislider.min.js +3 -0
- data/app/assets/stylesheets/now_ui_kit/.keep +0 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit.scss +57 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_alerts.scss +53 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_badges.scss +39 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_buttons.scss +158 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_cards.scss +96 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_carousel.scss +15 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_checkboxes-radio.scss +178 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_dropdown.scss +106 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_example-pages.scss +256 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_footers.scss +45 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_images.scss +7 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_inputs.scss +248 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_misc.scss +62 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_mixins.scss +13 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_modals.scss +173 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_navbar.scss +183 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_nucleo-outline.scss +534 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_pagination.scss +136 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_pills.scss +131 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_popups.scss +75 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_progress.scss +126 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_responsive.scss +454 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_sections.scss +384 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_social-buttons.scss +39 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_tabs.scss +110 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_typography.scss +150 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/_variables.scss +248 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/mixins/_badges.scss +4 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/mixins/_buttons.scss +152 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/mixins/_datepicker.scss +121 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/mixins/_dropdown.scss +24 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/mixins/_inputs.scss +205 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/mixins/_modals.scss +12 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/mixins/_pages.scss +7 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/mixins/_popovers.scss +25 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/mixins/_transparency.scss +8 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/mixins/_vendor-prefixes.scss +160 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/plugins/_plugin-bootstrap-switch.scss +304 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/plugins/_plugin-datepicker.scss +521 -0
- data/app/assets/stylesheets/now_ui_kit/now-ui-kit/plugins/_plugin-nouislider.scss +351 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/now-ui-kit.rb +1 -0
- data/lib/now_ui_kit.rb +2 -0
- data/lib/now_ui_kit/engine.rb +6 -0
- data/lib/now_ui_kit/version.rb +5 -0
- data/now-ui-kit-rails.gemspec +27 -0
- metadata +297 -0
@@ -0,0 +1,304 @@
|
|
1
|
+
/* ========================================================================
|
2
|
+
* bootstrap-switch - v3.3.2
|
3
|
+
* http://www.bootstrap-switch.org
|
4
|
+
* ========================================================================
|
5
|
+
* Copyright 2012-2013 Mattia Larentis
|
6
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7
|
+
*/
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
//* IMPORTANT! Creative Tim Notice: this file has major changes to fit the NOW UI Kit's design. If you want to use the plugin as it was before our changes, please get the old files from http://www.bootstrap-switch.org
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
.bootstrap-switch {
|
48
|
+
display: inline-block;
|
49
|
+
direction: ltr;
|
50
|
+
cursor: pointer;
|
51
|
+
border-radius: 30px;
|
52
|
+
border: 0;
|
53
|
+
position: relative;
|
54
|
+
text-align: left;
|
55
|
+
margin-bottom: 10px;
|
56
|
+
line-height: 8px;
|
57
|
+
width: 59px !important;
|
58
|
+
height: 22px;
|
59
|
+
outline: none;
|
60
|
+
z-index: 0;
|
61
|
+
-webkit-user-select: none;
|
62
|
+
-moz-user-select: none;
|
63
|
+
-ms-user-select: none;
|
64
|
+
user-select: none;
|
65
|
+
vertical-align: middle;
|
66
|
+
-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
67
|
+
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
68
|
+
margin-right: 20px;
|
69
|
+
background: rgba($black-color, .2);
|
70
|
+
}
|
71
|
+
|
72
|
+
.bootstrap-switch .bootstrap-switch-container {
|
73
|
+
display: inline-flex;
|
74
|
+
top: 0;
|
75
|
+
height: 22px;
|
76
|
+
border-radius: 4px;
|
77
|
+
-webkit-transform: translate3d(0, 0, 0);
|
78
|
+
transform: translate3d(0, 0, 0);
|
79
|
+
width: 100px !important;
|
80
|
+
}
|
81
|
+
.bootstrap-switch .bootstrap-switch-handle-on,
|
82
|
+
.bootstrap-switch .bootstrap-switch-handle-off,
|
83
|
+
.bootstrap-switch .bootstrap-switch-label {
|
84
|
+
-webkit-box-sizing: border-box;
|
85
|
+
-moz-box-sizing: border-box;
|
86
|
+
box-sizing: border-box;
|
87
|
+
cursor: pointer;
|
88
|
+
display: inline-block !important;
|
89
|
+
height: 100%;
|
90
|
+
color: #fff;
|
91
|
+
padding: 6px 12px;
|
92
|
+
font-size: 11px;
|
93
|
+
text-indent: -5px;
|
94
|
+
line-height: 15px;
|
95
|
+
-webkit-transition: 0.25s ease-out;
|
96
|
+
transition: 0.25s ease-out;
|
97
|
+
|
98
|
+
}
|
99
|
+
.bootstrap-switch .bootstrap-switch-handle-on,
|
100
|
+
.bootstrap-switch .bootstrap-switch-handle-off {
|
101
|
+
text-align: center;
|
102
|
+
z-index: 1;
|
103
|
+
float: left;
|
104
|
+
line-height: 11px;
|
105
|
+
width: 50% !important;
|
106
|
+
}
|
107
|
+
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-brown,
|
108
|
+
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-brown {
|
109
|
+
color: #fff;
|
110
|
+
background: $brand-primary;
|
111
|
+
}
|
112
|
+
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-blue,
|
113
|
+
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-blue {
|
114
|
+
color: #fff;
|
115
|
+
background: $brand-info;
|
116
|
+
}
|
117
|
+
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-green,
|
118
|
+
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-green {
|
119
|
+
color: #fff;
|
120
|
+
background: $brand-success;
|
121
|
+
}
|
122
|
+
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-orange,
|
123
|
+
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-orange {
|
124
|
+
background: $brand-warning;
|
125
|
+
color: #fff;
|
126
|
+
}
|
127
|
+
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-red,
|
128
|
+
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-red {
|
129
|
+
color: #fff;
|
130
|
+
background: $brand-danger;
|
131
|
+
}
|
132
|
+
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default,
|
133
|
+
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default {
|
134
|
+
color: #fff;
|
135
|
+
}
|
136
|
+
.bootstrap-switch .bootstrap-switch-label {
|
137
|
+
text-align: center;
|
138
|
+
z-index: 100;
|
139
|
+
color: #333333;
|
140
|
+
background: #ffffff;
|
141
|
+
width: 22px !important;
|
142
|
+
height: 22px !important;
|
143
|
+
margin: 0px -11px;
|
144
|
+
border-radius: 20px;
|
145
|
+
position: absolute;
|
146
|
+
float: left;
|
147
|
+
top: 0;
|
148
|
+
left: 50%;
|
149
|
+
padding: 0;
|
150
|
+
box-shadow: 0 1px 11px rgba(0, 0, 0, 0.25);
|
151
|
+
}
|
152
|
+
|
153
|
+
.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label{
|
154
|
+
background-color: rgba(23, 23, 23, .4);
|
155
|
+
}
|
156
|
+
.bootstrap-switch.bootstrap-switch-on:hover .bootstrap-switch-label{
|
157
|
+
width: 27px !important;
|
158
|
+
margin-left: -16px;
|
159
|
+
}
|
160
|
+
.bootstrap-switch.bootstrap-switch-off:hover .bootstrap-switch-label{
|
161
|
+
width: 27px !important;
|
162
|
+
margin-left: -11px;
|
163
|
+
}
|
164
|
+
.bootstrap-switch .bootstrap-switch-handle-on {
|
165
|
+
border-bottom-left-radius: 3px;
|
166
|
+
border-top-left-radius: 3px;
|
167
|
+
}
|
168
|
+
.bootstrap-switch .bootstrap-switch-handle-off {
|
169
|
+
text-indent: 6px;
|
170
|
+
}
|
171
|
+
.bootstrap-switch input[type='radio'],
|
172
|
+
.bootstrap-switch input[type='checkbox'] {
|
173
|
+
position: absolute !important;
|
174
|
+
top: 0;
|
175
|
+
left: 0;
|
176
|
+
opacity: 0;
|
177
|
+
filter: alpha(opacity=0);
|
178
|
+
z-index: -1;
|
179
|
+
}
|
180
|
+
.bootstrap-switch input[type='radio'].form-control,
|
181
|
+
.bootstrap-switch input[type='checkbox'].form-control {
|
182
|
+
height: auto;
|
183
|
+
}
|
184
|
+
.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on,
|
185
|
+
.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off,
|
186
|
+
.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label {
|
187
|
+
padding: 1px 5px;
|
188
|
+
font-size: 12px;
|
189
|
+
line-height: 1.5;
|
190
|
+
}
|
191
|
+
.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on,
|
192
|
+
.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off,
|
193
|
+
.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label {
|
194
|
+
padding: 5px 10px;
|
195
|
+
font-size: 12px;
|
196
|
+
line-height: 1.5;
|
197
|
+
}
|
198
|
+
.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-on,
|
199
|
+
.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-off,
|
200
|
+
.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-label {
|
201
|
+
padding: 6px 16px;
|
202
|
+
font-size: 18px;
|
203
|
+
line-height: 1.33;
|
204
|
+
}
|
205
|
+
.bootstrap-switch.bootstrap-switch-disabled,
|
206
|
+
.bootstrap-switch.bootstrap-switch-readonly,
|
207
|
+
.bootstrap-switch.bootstrap-switch-indeterminate {
|
208
|
+
cursor: default !important;
|
209
|
+
}
|
210
|
+
.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on,
|
211
|
+
.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on,
|
212
|
+
.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on,
|
213
|
+
.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off,
|
214
|
+
.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off,
|
215
|
+
.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off,
|
216
|
+
.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label,
|
217
|
+
.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label,
|
218
|
+
.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label {
|
219
|
+
opacity: 0.5;
|
220
|
+
filter: alpha(opacity=50);
|
221
|
+
cursor: default !important;
|
222
|
+
}
|
223
|
+
.bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container {
|
224
|
+
-webkit-transition: margin-left 0.5s;
|
225
|
+
transition: margin-left 0.5s;
|
226
|
+
}
|
227
|
+
.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-on {
|
228
|
+
border-bottom-left-radius: 0;
|
229
|
+
border-top-left-radius: 0;
|
230
|
+
border-bottom-right-radius: 3px;
|
231
|
+
border-top-right-radius: 3px;
|
232
|
+
}
|
233
|
+
.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-off {
|
234
|
+
border-bottom-right-radius: 0;
|
235
|
+
border-top-right-radius: 0;
|
236
|
+
border-bottom-left-radius: 3px;
|
237
|
+
border-top-left-radius: 3px;
|
238
|
+
}
|
239
|
+
.bootstrap-switch.bootstrap-switch-focused {
|
240
|
+
// border-color: #66afe9;
|
241
|
+
// outline: 0;
|
242
|
+
// -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
|
243
|
+
// box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
|
244
|
+
}
|
245
|
+
// .bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label,
|
246
|
+
// .bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-label {
|
247
|
+
// border-bottom-right-radius: 3px;
|
248
|
+
// border-top-right-radius: 3px;
|
249
|
+
// }
|
250
|
+
// .bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label,
|
251
|
+
// .bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-label {
|
252
|
+
// border-bottom-left-radius: 3px;
|
253
|
+
// border-top-left-radius: 3px;
|
254
|
+
// }
|
255
|
+
|
256
|
+
.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-container{
|
257
|
+
margin-left: -2px !important;
|
258
|
+
}
|
259
|
+
|
260
|
+
.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-container{
|
261
|
+
margin-left: -39px !important;
|
262
|
+
}
|
263
|
+
|
264
|
+
.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label{
|
265
|
+
&:before{
|
266
|
+
background-color: #FFFFFF;
|
267
|
+
}
|
268
|
+
}
|
269
|
+
|
270
|
+
.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-red ~ .bootstrap-switch-default{
|
271
|
+
background-color: $brand-danger;
|
272
|
+
}
|
273
|
+
|
274
|
+
.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-orange ~ .bootstrap-switch-default{
|
275
|
+
background-color: $brand-warning;
|
276
|
+
}
|
277
|
+
|
278
|
+
.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-green ~ .bootstrap-switch-default{
|
279
|
+
background-color: $brand-success;
|
280
|
+
}
|
281
|
+
|
282
|
+
.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-brown ~ .bootstrap-switch-default{
|
283
|
+
background-color: $brand-primary;
|
284
|
+
}
|
285
|
+
|
286
|
+
.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-blue ~ .bootstrap-switch-default{
|
287
|
+
background-color: $brand-info;
|
288
|
+
}
|
289
|
+
|
290
|
+
.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-red,
|
291
|
+
.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-brown,
|
292
|
+
.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-blue,
|
293
|
+
.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-orange,
|
294
|
+
.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-green{
|
295
|
+
background-color: $light-gray;
|
296
|
+
}
|
297
|
+
|
298
|
+
.bootstrap-switch-off .bootstrap-switch-handle-on{
|
299
|
+
opacity: 0;
|
300
|
+
}
|
301
|
+
|
302
|
+
.bootstrap-switch-on .bootstrap-switch-handle-off{
|
303
|
+
opacity: 0;
|
304
|
+
}
|
@@ -0,0 +1,521 @@
|
|
1
|
+
/*!
|
2
|
+
* Datepicker for Bootstrap v1.7.0-dev (https://github.com/uxsolutions/bootstrap-datepicker)
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
|
5
|
+
*/
|
6
|
+
|
7
|
+
.datepicker {
|
8
|
+
padding: 8px 6px;
|
9
|
+
-webkit-border-radius: 4px;
|
10
|
+
-moz-border-radius: 4px;
|
11
|
+
border-radius: 4px;
|
12
|
+
direction: ltr;
|
13
|
+
@include transform-translate-y(-40px);
|
14
|
+
transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, opacity 0.3s ease 0s, height 0s linear 0.35s;
|
15
|
+
|
16
|
+
@include opacity(0);
|
17
|
+
visibility: hidden;
|
18
|
+
display: block;
|
19
|
+
width: 254px;
|
20
|
+
max-width: 254px;
|
21
|
+
|
22
|
+
&.dropdown-menu:before{
|
23
|
+
display: none;
|
24
|
+
}
|
25
|
+
|
26
|
+
&.datepicker-primary{
|
27
|
+
@include datepicker-colors($primary-color);
|
28
|
+
}
|
29
|
+
}
|
30
|
+
.datepicker-inline {
|
31
|
+
width: 220px;
|
32
|
+
}
|
33
|
+
.datepicker.datepicker-rtl {
|
34
|
+
direction: rtl;
|
35
|
+
}
|
36
|
+
.datepicker.datepicker-rtl.dropdown-menu {
|
37
|
+
left: auto;
|
38
|
+
}
|
39
|
+
.datepicker.datepicker-rtl table tr td span {
|
40
|
+
float: right;
|
41
|
+
}
|
42
|
+
.datepicker-dropdown {
|
43
|
+
top: 0;
|
44
|
+
left: 0;
|
45
|
+
}
|
46
|
+
.datepicker-dropdown:before {
|
47
|
+
content: '';
|
48
|
+
display: inline-block;
|
49
|
+
border-left: 7px solid transparent;
|
50
|
+
border-right: 7px solid transparent;
|
51
|
+
border-bottom: 7px solid transparent;
|
52
|
+
border-top: 0;
|
53
|
+
border-bottom-color: rgba(0, 0, 0, 0.2);
|
54
|
+
position: absolute;
|
55
|
+
}
|
56
|
+
.datepicker-dropdown:after {
|
57
|
+
content: '';
|
58
|
+
display: inline-block;
|
59
|
+
border-left: 6px solid transparent;
|
60
|
+
border-right: 6px solid transparent;
|
61
|
+
border-bottom: 6px solid #fff;
|
62
|
+
border-top: 0;
|
63
|
+
position: absolute;
|
64
|
+
}
|
65
|
+
.datepicker-dropdown.datepicker-orient-left:before {
|
66
|
+
left: 6px;
|
67
|
+
}
|
68
|
+
.datepicker-dropdown.datepicker-orient-left:after {
|
69
|
+
left: 7px;
|
70
|
+
}
|
71
|
+
.datepicker-dropdown.datepicker-orient-right:before {
|
72
|
+
right: 6px;
|
73
|
+
}
|
74
|
+
.datepicker-dropdown.datepicker-orient-right:after {
|
75
|
+
right: 7px;
|
76
|
+
}
|
77
|
+
.datepicker-dropdown.datepicker-orient-bottom:before {
|
78
|
+
top: -7px;
|
79
|
+
}
|
80
|
+
.datepicker-dropdown.datepicker-orient-bottom:after {
|
81
|
+
top: -6px;
|
82
|
+
}
|
83
|
+
.datepicker-dropdown.datepicker-orient-top:before {
|
84
|
+
bottom: -7px;
|
85
|
+
border-bottom: 0;
|
86
|
+
border-top: 7px solid transparent;
|
87
|
+
}
|
88
|
+
.datepicker-dropdown.datepicker-orient-top:after {
|
89
|
+
bottom: -6px;
|
90
|
+
border-bottom: 0;
|
91
|
+
border-top: 6px solid #fff;
|
92
|
+
}
|
93
|
+
.datepicker table {
|
94
|
+
margin: 0;
|
95
|
+
-webkit-touch-callout: none;
|
96
|
+
-webkit-user-select: none;
|
97
|
+
-khtml-user-select: none;
|
98
|
+
-moz-user-select: none;
|
99
|
+
-ms-user-select: none;
|
100
|
+
user-select: none;
|
101
|
+
width: 241px;
|
102
|
+
max-width: 241px;
|
103
|
+
}
|
104
|
+
.datepicker .day div,
|
105
|
+
.datepicker th {
|
106
|
+
@include transition($general-transition-time, $transition-ease);
|
107
|
+
text-align: center;
|
108
|
+
width: 30px;
|
109
|
+
height: 30px;
|
110
|
+
line-height: 2.2;
|
111
|
+
-webkit-border-radius: 4px;
|
112
|
+
-moz-border-radius: 4px;
|
113
|
+
border-radius: 50%;
|
114
|
+
font-weight: $font-weight-light;
|
115
|
+
font-size: $font-size-base;
|
116
|
+
border: none;
|
117
|
+
z-index: -1;
|
118
|
+
position: relative;
|
119
|
+
cursor: pointer;
|
120
|
+
}
|
121
|
+
|
122
|
+
.datepicker th{
|
123
|
+
color: $primary-color;
|
124
|
+
}
|
125
|
+
|
126
|
+
.table-condensed > tbody > tr > td,
|
127
|
+
.table-condensed > tbody > tr > th,
|
128
|
+
.table-condensed > tfoot > tr > td,
|
129
|
+
.table-condensed > tfoot > tr > th,
|
130
|
+
.table-condensed > thead > tr > td,
|
131
|
+
.table-condensed > thead > tr > th{
|
132
|
+
padding: 2px;
|
133
|
+
text-align: center;
|
134
|
+
cursor: pointer;
|
135
|
+
}
|
136
|
+
|
137
|
+
.table-striped .datepicker table tr td,
|
138
|
+
.table-striped .datepicker table tr th {
|
139
|
+
background-color: transparent;
|
140
|
+
}
|
141
|
+
.datepicker table tr td.day:hover div,
|
142
|
+
.datepicker table tr td.day.focused div {
|
143
|
+
background: #eee;
|
144
|
+
cursor: pointer;
|
145
|
+
}
|
146
|
+
.datepicker table tr td.old,
|
147
|
+
.datepicker table tr td.new {
|
148
|
+
color: $default-color;
|
149
|
+
}
|
150
|
+
.datepicker table tr td.disabled,
|
151
|
+
.datepicker table tr td.disabled:hover {
|
152
|
+
background: none;
|
153
|
+
color: $default-color ;
|
154
|
+
cursor: default;
|
155
|
+
}
|
156
|
+
.datepicker table tr td.highlighted {
|
157
|
+
background: #d9edf7;
|
158
|
+
border-radius: 0;
|
159
|
+
}
|
160
|
+
.datepicker table tr td.today,
|
161
|
+
.datepicker table tr td.today:hover,
|
162
|
+
.datepicker table tr td.today.disabled,
|
163
|
+
.datepicker table tr td.today.disabled:hover {
|
164
|
+
background-color: #fde19a;
|
165
|
+
background-image: -moz-linear-gradient(to bottom, #fdd49a, #fdf59a);
|
166
|
+
background-image: -ms-linear-gradient(to bottom, #fdd49a, #fdf59a);
|
167
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a));
|
168
|
+
background-image: -webkit-linear-gradient(to bottom, #fdd49a, #fdf59a);
|
169
|
+
background-image: -o-linear-gradient(to bottom, #fdd49a, #fdf59a);
|
170
|
+
background-image: linear-gradient(to bottom, #fdd49a, #fdf59a);
|
171
|
+
background-repeat: repeat-x;
|
172
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);
|
173
|
+
border-color: #fdf59a #fdf59a #fbed50;
|
174
|
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
175
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
176
|
+
color: #000;
|
177
|
+
}
|
178
|
+
.datepicker table tr td.today:hover,
|
179
|
+
.datepicker table tr td.today:hover:hover,
|
180
|
+
.datepicker table tr td.today.disabled:hover,
|
181
|
+
.datepicker table tr td.today.disabled:hover:hover,
|
182
|
+
.datepicker table tr td.today:active,
|
183
|
+
.datepicker table tr td.today:hover:active,
|
184
|
+
.datepicker table tr td.today.disabled:active,
|
185
|
+
.datepicker table tr td.today.disabled:hover:active,
|
186
|
+
.datepicker table tr td.today.active,
|
187
|
+
.datepicker table tr td.today:hover.active,
|
188
|
+
.datepicker table tr td.today.disabled.active,
|
189
|
+
.datepicker table tr td.today.disabled:hover.active,
|
190
|
+
.datepicker table tr td.today.disabled,
|
191
|
+
.datepicker table tr td.today:hover.disabled,
|
192
|
+
.datepicker table tr td.today.disabled.disabled,
|
193
|
+
.datepicker table tr td.today.disabled:hover.disabled,
|
194
|
+
.datepicker table tr td.today[disabled],
|
195
|
+
.datepicker table tr td.today:hover[disabled],
|
196
|
+
.datepicker table tr td.today.disabled[disabled],
|
197
|
+
.datepicker table tr td.today.disabled:hover[disabled] {
|
198
|
+
background-color: #fdf59a;
|
199
|
+
}
|
200
|
+
.datepicker table tr td.today:active,
|
201
|
+
.datepicker table tr td.today:hover:active,
|
202
|
+
.datepicker table tr td.today.disabled:active,
|
203
|
+
.datepicker table tr td.today.disabled:hover:active,
|
204
|
+
.datepicker table tr td.today.active,
|
205
|
+
.datepicker table tr td.today:hover.active,
|
206
|
+
.datepicker table tr td.today.disabled.active,
|
207
|
+
.datepicker table tr td.today.disabled:hover.active {
|
208
|
+
background-color: #fbf069 \9;
|
209
|
+
}
|
210
|
+
.datepicker table tr td.today:hover:hover {
|
211
|
+
color: #000;
|
212
|
+
}
|
213
|
+
.datepicker table tr td.today.active:hover {
|
214
|
+
color: #fff;
|
215
|
+
}
|
216
|
+
.datepicker table tr td.range,
|
217
|
+
.datepicker table tr td.range:hover,
|
218
|
+
.datepicker table tr td.range.disabled,
|
219
|
+
.datepicker table tr td.range.disabled:hover {
|
220
|
+
background: #eee;
|
221
|
+
-webkit-border-radius: 0;
|
222
|
+
-moz-border-radius: 0;
|
223
|
+
border-radius: 0;
|
224
|
+
}
|
225
|
+
.datepicker table tr td.range.today,
|
226
|
+
.datepicker table tr td.range.today:hover,
|
227
|
+
.datepicker table tr td.range.today.disabled,
|
228
|
+
.datepicker table tr td.range.today.disabled:hover {
|
229
|
+
background-color: #f3d17a;
|
230
|
+
background-image: -moz-linear-gradient(to bottom, #f3c17a, #f3e97a);
|
231
|
+
background-image: -ms-linear-gradient(to bottom, #f3c17a, #f3e97a);
|
232
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3c17a), to(#f3e97a));
|
233
|
+
background-image: -webkit-linear-gradient(to bottom, #f3c17a, #f3e97a);
|
234
|
+
background-image: -o-linear-gradient(to bottom, #f3c17a, #f3e97a);
|
235
|
+
background-image: linear-gradient(to bottom, #f3c17a, #f3e97a);
|
236
|
+
background-repeat: repeat-x;
|
237
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3c17a', endColorstr='#f3e97a', GradientType=0);
|
238
|
+
border-color: #f3e97a #f3e97a #edde34;
|
239
|
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
240
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
241
|
+
-webkit-border-radius: 0;
|
242
|
+
-moz-border-radius: 0;
|
243
|
+
border-radius: 0;
|
244
|
+
}
|
245
|
+
.datepicker table tr td.range.today:hover,
|
246
|
+
.datepicker table tr td.range.today:hover:hover,
|
247
|
+
.datepicker table tr td.range.today.disabled:hover,
|
248
|
+
.datepicker table tr td.range.today.disabled:hover:hover,
|
249
|
+
.datepicker table tr td.range.today:active,
|
250
|
+
.datepicker table tr td.range.today:hover:active,
|
251
|
+
.datepicker table tr td.range.today.disabled:active,
|
252
|
+
.datepicker table tr td.range.today.disabled:hover:active,
|
253
|
+
.datepicker table tr td.range.today.active,
|
254
|
+
.datepicker table tr td.range.today:hover.active,
|
255
|
+
.datepicker table tr td.range.today.disabled.active,
|
256
|
+
.datepicker table tr td.range.today.disabled:hover.active,
|
257
|
+
.datepicker table tr td.range.today.disabled,
|
258
|
+
.datepicker table tr td.range.today:hover.disabled,
|
259
|
+
.datepicker table tr td.range.today.disabled.disabled,
|
260
|
+
.datepicker table tr td.range.today.disabled:hover.disabled,
|
261
|
+
.datepicker table tr td.range.today[disabled],
|
262
|
+
.datepicker table tr td.range.today:hover[disabled],
|
263
|
+
.datepicker table tr td.range.today.disabled[disabled],
|
264
|
+
.datepicker table tr td.range.today.disabled:hover[disabled] {
|
265
|
+
background-color: #f3e97a;
|
266
|
+
}
|
267
|
+
.datepicker table tr td.range.today:active,
|
268
|
+
.datepicker table tr td.range.today:hover:active,
|
269
|
+
.datepicker table tr td.range.today.disabled:active,
|
270
|
+
.datepicker table tr td.range.today.disabled:hover:active,
|
271
|
+
.datepicker table tr td.range.today.active,
|
272
|
+
.datepicker table tr td.range.today:hover.active,
|
273
|
+
.datepicker table tr td.range.today.disabled.active,
|
274
|
+
.datepicker table tr td.range.today.disabled:hover.active {
|
275
|
+
background-color: #efe24b \9;
|
276
|
+
}
|
277
|
+
.datepicker table tr td.selected,
|
278
|
+
.datepicker table tr td.selected:hover,
|
279
|
+
.datepicker table tr td.selected.disabled,
|
280
|
+
.datepicker table tr td.selected.disabled:hover {
|
281
|
+
background-color: #9e9e9e;
|
282
|
+
background-image: -moz-linear-gradient(to bottom, #b3b3b3, #808080);
|
283
|
+
background-image: -ms-linear-gradient(to bottom, #b3b3b3, #808080);
|
284
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b3b3b3), to(#808080));
|
285
|
+
background-image: -webkit-linear-gradient(to bottom, #b3b3b3, #808080);
|
286
|
+
background-image: -o-linear-gradient(to bottom, #b3b3b3, #808080);
|
287
|
+
background-image: linear-gradient(to bottom, #b3b3b3, #808080);
|
288
|
+
background-repeat: repeat-x;
|
289
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#808080', GradientType=0);
|
290
|
+
border-color: #808080 #808080 #595959;
|
291
|
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
292
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
293
|
+
color: #fff;
|
294
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
295
|
+
}
|
296
|
+
.datepicker table tr td.selected:hover,
|
297
|
+
.datepicker table tr td.selected:hover:hover,
|
298
|
+
.datepicker table tr td.selected.disabled:hover,
|
299
|
+
.datepicker table tr td.selected.disabled:hover:hover,
|
300
|
+
.datepicker table tr td.selected:active,
|
301
|
+
.datepicker table tr td.selected:hover:active,
|
302
|
+
.datepicker table tr td.selected.disabled:active,
|
303
|
+
.datepicker table tr td.selected.disabled:hover:active,
|
304
|
+
.datepicker table tr td.selected.active,
|
305
|
+
.datepicker table tr td.selected:hover.active,
|
306
|
+
.datepicker table tr td.selected.disabled.active,
|
307
|
+
.datepicker table tr td.selected.disabled:hover.active,
|
308
|
+
.datepicker table tr td.selected.disabled,
|
309
|
+
.datepicker table tr td.selected:hover.disabled,
|
310
|
+
.datepicker table tr td.selected.disabled.disabled,
|
311
|
+
.datepicker table tr td.selected.disabled:hover.disabled,
|
312
|
+
.datepicker table tr td.selected[disabled],
|
313
|
+
.datepicker table tr td.selected:hover[disabled],
|
314
|
+
.datepicker table tr td.selected.disabled[disabled],
|
315
|
+
.datepicker table tr td.selected.disabled:hover[disabled] {
|
316
|
+
background-color: #808080;
|
317
|
+
}
|
318
|
+
.datepicker table tr td.selected:active,
|
319
|
+
.datepicker table tr td.selected:hover:active,
|
320
|
+
.datepicker table tr td.selected.disabled:active,
|
321
|
+
.datepicker table tr td.selected.disabled:hover:active,
|
322
|
+
.datepicker table tr td.selected.active,
|
323
|
+
.datepicker table tr td.selected:hover.active,
|
324
|
+
.datepicker table tr td.selected.disabled.active,
|
325
|
+
.datepicker table tr td.selected.disabled:hover.active {
|
326
|
+
background-color: #666666 \9;
|
327
|
+
}
|
328
|
+
.datepicker table tr td.active div,
|
329
|
+
.datepicker table tr td.active:hover div,
|
330
|
+
.datepicker table tr td.active.disabled div,
|
331
|
+
.datepicker table tr td.active.disabled:hover div {
|
332
|
+
|
333
|
+
background-color: $primary-color;
|
334
|
+
color: $white-color;
|
335
|
+
box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.2);
|
336
|
+
}
|
337
|
+
.datepicker table tr td.active:hover div,
|
338
|
+
.datepicker table tr td.active:hover:hover div,
|
339
|
+
.datepicker table tr td.active.disabled:hover div,
|
340
|
+
.datepicker table tr td.active.disabled:hover:hover div,
|
341
|
+
.datepicker table tr td.active:active div,
|
342
|
+
.datepicker table tr td.active:hover:active div,
|
343
|
+
.datepicker table tr td.active.disabled:active div,
|
344
|
+
.datepicker table tr td.active.disabled:hover:active div,
|
345
|
+
.datepicker table tr td.active.active div,
|
346
|
+
.datepicker table tr td.active:hover.active div,
|
347
|
+
.datepicker table tr td.active.disabled.active div,
|
348
|
+
.datepicker table tr td.active.disabled:hover.active div,
|
349
|
+
.datepicker table tr td.active.disabled div,
|
350
|
+
.datepicker table tr td.active:hover.disabled div,
|
351
|
+
.datepicker table tr td.active.disabled.disabled div,
|
352
|
+
.datepicker table tr td.active.disabled:hover.disabled div,
|
353
|
+
.datepicker table tr td.active[disabled] div,
|
354
|
+
.datepicker table tr td.active:hover[disabled] div,
|
355
|
+
.datepicker table tr td.active.disabled[disabled] div,
|
356
|
+
.datepicker table tr td.active.disabled:hover[disabled] div{
|
357
|
+
background-color: $primary-color;
|
358
|
+
}
|
359
|
+
.datepicker table tr td.active:active,
|
360
|
+
.datepicker table tr td.active:hover:active,
|
361
|
+
.datepicker table tr td.active.disabled:active,
|
362
|
+
.datepicker table tr td.active.disabled:hover:active,
|
363
|
+
.datepicker table tr td.active.active,
|
364
|
+
.datepicker table tr td.active:hover.active,
|
365
|
+
.datepicker table tr td.active.disabled.active,
|
366
|
+
.datepicker table tr td.active.disabled:hover.active {
|
367
|
+
background-color: #003399 \9;
|
368
|
+
}
|
369
|
+
.datepicker table tr td span {
|
370
|
+
display: block;
|
371
|
+
width: 41px;
|
372
|
+
height: 41px;
|
373
|
+
line-height: 41px;
|
374
|
+
float: left;
|
375
|
+
margin: 1%;
|
376
|
+
font-size: $font-size-base;
|
377
|
+
cursor: pointer;
|
378
|
+
-webkit-border-radius: 50%;
|
379
|
+
-moz-border-radius: 50%;
|
380
|
+
border-radius: 50%;
|
381
|
+
|
382
|
+
}
|
383
|
+
.datepicker table tr td span:hover,
|
384
|
+
.datepicker table tr td span.focused {
|
385
|
+
background: #eee;
|
386
|
+
}
|
387
|
+
.datepicker table tr td span.disabled,
|
388
|
+
.datepicker table tr td span.disabled:hover {
|
389
|
+
background: none;
|
390
|
+
color: $default-color;
|
391
|
+
cursor: default;
|
392
|
+
}
|
393
|
+
.datepicker table tr td span.active,
|
394
|
+
.datepicker table tr td span.active:hover,
|
395
|
+
.datepicker table tr td span.active.disabled,
|
396
|
+
.datepicker table tr td span.active.disabled:hover {
|
397
|
+
color: #fff;
|
398
|
+
background-color: $primary-color;
|
399
|
+
}
|
400
|
+
.datepicker table tr td span.active:hover,
|
401
|
+
.datepicker table tr td span.active:hover:hover,
|
402
|
+
.datepicker table tr td span.active.disabled:hover,
|
403
|
+
.datepicker table tr td span.active.disabled:hover:hover,
|
404
|
+
.datepicker table tr td span.active:active,
|
405
|
+
.datepicker table tr td span.active:hover:active,
|
406
|
+
.datepicker table tr td span.active.disabled:active,
|
407
|
+
.datepicker table tr td span.active.disabled:hover:active,
|
408
|
+
.datepicker table tr td span.active.active,
|
409
|
+
.datepicker table tr td span.active:hover.active,
|
410
|
+
.datepicker table tr td span.active.disabled.active,
|
411
|
+
.datepicker table tr td span.active.disabled:hover.active,
|
412
|
+
.datepicker table tr td span.active.disabled,
|
413
|
+
.datepicker table tr td span.active:hover.disabled,
|
414
|
+
.datepicker table tr td span.active.disabled.disabled,
|
415
|
+
.datepicker table tr td span.active.disabled:hover.disabled,
|
416
|
+
.datepicker table tr td span.active[disabled],
|
417
|
+
.datepicker table tr td span.active:hover[disabled],
|
418
|
+
.datepicker table tr td span.active.disabled[disabled],
|
419
|
+
.datepicker table tr td span.active.disabled:hover[disabled] {
|
420
|
+
background-color: $primary-color;
|
421
|
+
box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.2);
|
422
|
+
}
|
423
|
+
.datepicker table tr td span.active:active,
|
424
|
+
.datepicker table tr td span.active:hover:active,
|
425
|
+
.datepicker table tr td span.active.disabled:active,
|
426
|
+
.datepicker table tr td span.active.disabled:hover:active,
|
427
|
+
.datepicker table tr td span.active.active,
|
428
|
+
.datepicker table tr td span.active:hover.active,
|
429
|
+
.datepicker table tr td span.active.disabled.active,
|
430
|
+
.datepicker table tr td span.active.disabled:hover.active {
|
431
|
+
background-color: #003399 \9;
|
432
|
+
}
|
433
|
+
.datepicker table tr td span.old,
|
434
|
+
.datepicker table tr td span.new {
|
435
|
+
color: $default-color;
|
436
|
+
}
|
437
|
+
.datepicker .datepicker-switch {
|
438
|
+
width: auto;
|
439
|
+
border-radius: $border-radius-small;
|
440
|
+
}
|
441
|
+
.datepicker .datepicker-switch,
|
442
|
+
.datepicker .prev,
|
443
|
+
.datepicker .next,
|
444
|
+
.datepicker tfoot tr th {
|
445
|
+
cursor: pointer;
|
446
|
+
}
|
447
|
+
|
448
|
+
.datepicker{
|
449
|
+
.prev,
|
450
|
+
.next{
|
451
|
+
width: 35px;
|
452
|
+
height: 35px;
|
453
|
+
}
|
454
|
+
|
455
|
+
i{
|
456
|
+
position: relative;
|
457
|
+
top: 2px;
|
458
|
+
}
|
459
|
+
|
460
|
+
.prev i{
|
461
|
+
left: -1px;
|
462
|
+
}
|
463
|
+
|
464
|
+
.next i{
|
465
|
+
right: -1px;
|
466
|
+
}
|
467
|
+
}
|
468
|
+
|
469
|
+
.datepicker .datepicker-switch:hover,
|
470
|
+
.datepicker .prev:hover,
|
471
|
+
.datepicker .next:hover,
|
472
|
+
.datepicker tfoot tr th:hover {
|
473
|
+
background: #eee;
|
474
|
+
}
|
475
|
+
.datepicker .prev.disabled,
|
476
|
+
.datepicker .next.disabled {
|
477
|
+
visibility: hidden;
|
478
|
+
}
|
479
|
+
.datepicker .cw {
|
480
|
+
font-size: 10px;
|
481
|
+
width: 12px;
|
482
|
+
padding: 0 2px 0 5px;
|
483
|
+
vertical-align: middle;
|
484
|
+
}
|
485
|
+
.input-append.date .add-on,
|
486
|
+
.input-prepend.date .add-on {
|
487
|
+
cursor: pointer;
|
488
|
+
}
|
489
|
+
.input-append.date .add-on i,
|
490
|
+
.input-prepend.date .add-on i {
|
491
|
+
margin-top: 3px;
|
492
|
+
}
|
493
|
+
.input-daterange input {
|
494
|
+
text-align: center;
|
495
|
+
}
|
496
|
+
.input-daterange input:first-child {
|
497
|
+
-webkit-border-radius: 3px 0 0 3px;
|
498
|
+
-moz-border-radius: 3px 0 0 3px;
|
499
|
+
border-radius: 3px 0 0 3px;
|
500
|
+
}
|
501
|
+
.input-daterange input:last-child {
|
502
|
+
-webkit-border-radius: 0 3px 3px 0;
|
503
|
+
-moz-border-radius: 0 3px 3px 0;
|
504
|
+
border-radius: 0 3px 3px 0;
|
505
|
+
}
|
506
|
+
.input-daterange .add-on {
|
507
|
+
display: inline-block;
|
508
|
+
width: auto;
|
509
|
+
min-width: 16px;
|
510
|
+
height: 18px;
|
511
|
+
padding: 4px 5px;
|
512
|
+
font-weight: normal;
|
513
|
+
line-height: 18px;
|
514
|
+
text-align: center;
|
515
|
+
text-shadow: 0 1px 0 #fff;
|
516
|
+
vertical-align: middle;
|
517
|
+
background-color: #eee;
|
518
|
+
border: 1px solid #ccc;
|
519
|
+
margin-left: -5px;
|
520
|
+
margin-right: -5px;
|
521
|
+
}
|