fomantic-ui-sass 2.6.4
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 +27 -0
- data/.rspec +1 -0
- data/.travis.yml +5 -0
- data/CHANGELOG.md +370 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +177 -0
- data/Rakefile +8 -0
- data/app/assets/fonts/semantic-ui/brand-icons.eot +0 -0
- data/app/assets/fonts/semantic-ui/brand-icons.svg +1008 -0
- data/app/assets/fonts/semantic-ui/brand-icons.ttf +0 -0
- data/app/assets/fonts/semantic-ui/brand-icons.woff +0 -0
- data/app/assets/fonts/semantic-ui/brand-icons.woff2 +0 -0
- data/app/assets/fonts/semantic-ui/icons.eot +0 -0
- data/app/assets/fonts/semantic-ui/icons.otf +0 -0
- data/app/assets/fonts/semantic-ui/icons.svg +1518 -0
- data/app/assets/fonts/semantic-ui/icons.ttf +0 -0
- data/app/assets/fonts/semantic-ui/icons.woff +0 -0
- data/app/assets/fonts/semantic-ui/icons.woff2 +0 -0
- data/app/assets/fonts/semantic-ui/outline-icons.eot +0 -0
- data/app/assets/fonts/semantic-ui/outline-icons.svg +366 -0
- data/app/assets/fonts/semantic-ui/outline-icons.ttf +0 -0
- data/app/assets/fonts/semantic-ui/outline-icons.woff +0 -0
- data/app/assets/fonts/semantic-ui/outline-icons.woff2 +0 -0
- data/app/assets/images/semantic-ui/flags.png +0 -0
- data/app/assets/javascripts/semantic-ui.js +27 -0
- data/app/assets/javascripts/semantic-ui/accordion.js +613 -0
- data/app/assets/javascripts/semantic-ui/api.js +1167 -0
- data/app/assets/javascripts/semantic-ui/calendar.js +1476 -0
- data/app/assets/javascripts/semantic-ui/checkbox.js +828 -0
- data/app/assets/javascripts/semantic-ui/colorize.js +280 -0
- data/app/assets/javascripts/semantic-ui/dimmer.js +735 -0
- data/app/assets/javascripts/semantic-ui/dropdown.js +4030 -0
- data/app/assets/javascripts/semantic-ui/embed.js +706 -0
- data/app/assets/javascripts/semantic-ui/form.js +1707 -0
- data/app/assets/javascripts/semantic-ui/modal.js +1090 -0
- data/app/assets/javascripts/semantic-ui/nag.js +507 -0
- data/app/assets/javascripts/semantic-ui/popup.js +1532 -0
- data/app/assets/javascripts/semantic-ui/progress.js +923 -0
- data/app/assets/javascripts/semantic-ui/range.js +278 -0
- data/app/assets/javascripts/semantic-ui/rating.js +511 -0
- data/app/assets/javascripts/semantic-ui/search.js +1515 -0
- data/app/assets/javascripts/semantic-ui/shape.js +921 -0
- data/app/assets/javascripts/semantic-ui/sidebar.js +1033 -0
- data/app/assets/javascripts/semantic-ui/site.js +490 -0
- data/app/assets/javascripts/semantic-ui/state.js +708 -0
- data/app/assets/javascripts/semantic-ui/sticky.js +959 -0
- data/app/assets/javascripts/semantic-ui/tab.js +952 -0
- data/app/assets/javascripts/semantic-ui/toast.js +592 -0
- data/app/assets/javascripts/semantic-ui/transition.js +1106 -0
- data/app/assets/javascripts/semantic-ui/video.js +532 -0
- data/app/assets/javascripts/semantic-ui/visibility.js +1311 -0
- data/app/assets/javascripts/semantic-ui/visit.js +525 -0
- data/app/assets/stylesheets/semantic-ui.scss +5 -0
- data/app/assets/stylesheets/semantic-ui/collections/_all.scss +6 -0
- data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +124 -0
- data/app/assets/stylesheets/semantic-ui/collections/_form.scss +1158 -0
- data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +2093 -0
- data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +2193 -0
- data/app/assets/stylesheets/semantic-ui/collections/_message.scss +606 -0
- data/app/assets/stylesheets/semantic-ui/collections/_table.scss +1117 -0
- data/app/assets/stylesheets/semantic-ui/elements/_all.scss +16 -0
- data/app/assets/stylesheets/semantic-ui/elements/_button.scss +4530 -0
- data/app/assets/stylesheets/semantic-ui/elements/_container.scss +145 -0
- data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +259 -0
- data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +1036 -0
- data/app/assets/stylesheets/semantic-ui/elements/_header.scss +762 -0
- data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +6330 -0
- data/app/assets/stylesheets/semantic-ui/elements/_image.scss +310 -0
- data/app/assets/stylesheets/semantic-ui/elements/_input.scss +519 -0
- data/app/assets/stylesheets/semantic-ui/elements/_label.scss +1395 -0
- data/app/assets/stylesheets/semantic-ui/elements/_list.scss +959 -0
- data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +458 -0
- data/app/assets/stylesheets/semantic-ui/elements/_placeholder.scss +242 -0
- data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +152 -0
- data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +295 -0
- data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +884 -0
- data/app/assets/stylesheets/semantic-ui/elements/_step.scss +675 -0
- data/app/assets/stylesheets/semantic-ui/globals/_all.scss +3 -0
- data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +485 -0
- data/app/assets/stylesheets/semantic-ui/globals/_site.scss +206 -0
- data/app/assets/stylesheets/semantic-ui/globals/_variables.scss +4 -0
- data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +247 -0
- data/app/assets/stylesheets/semantic-ui/modules/_all.scss +20 -0
- data/app/assets/stylesheets/semantic-ui/modules/_calendar.scss +165 -0
- data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +718 -0
- data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +464 -0
- data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +1745 -0
- data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +165 -0
- data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +646 -0
- data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +148 -0
- data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +789 -0
- data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +523 -0
- data/app/assets/stylesheets/semantic-ui/modules/_range.scss +192 -0
- data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +263 -0
- data/app/assets/stylesheets/semantic-ui/modules/_search.scss +445 -0
- data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +154 -0
- data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +626 -0
- data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +78 -0
- data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +92 -0
- data/app/assets/stylesheets/semantic-ui/modules/_toast.scss +291 -0
- data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +2059 -0
- data/app/assets/stylesheets/semantic-ui/modules/_video.scss +125 -0
- data/app/assets/stylesheets/semantic-ui/views/_ad.scss +275 -0
- data/app/assets/stylesheets/semantic-ui/views/_all.scss +6 -0
- data/app/assets/stylesheets/semantic-ui/views/_card.scss +1124 -0
- data/app/assets/stylesheets/semantic-ui/views/_comment.scss +296 -0
- data/app/assets/stylesheets/semantic-ui/views/_feed.scss +314 -0
- data/app/assets/stylesheets/semantic-ui/views/_item.scss +555 -0
- data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +583 -0
- data/app/helpers/semantic_breadcrumbs_helper.rb +10 -0
- data/app/helpers/semantic_flash_helper.rb +22 -0
- data/app/helpers/semantic_icon_helper.rb +8 -0
- data/app/views/semantic/_breadcrumbs.html.erb +12 -0
- data/fomantic-ui-sass.gemspec +31 -0
- data/lib/fomantic-ui-sass.rb +62 -0
- data/lib/fomantic/ui/sass/breadcrumbs.rb +41 -0
- data/lib/fomantic/ui/sass/engine.rb +23 -0
- data/lib/fomantic/ui/sass/version.rb +8 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +28 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +12 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +2 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/public/404.html +58 -0
- data/spec/dummy/public/422.html +58 -0
- data/spec/dummy/public/500.html +57 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/helpers/semantic_breadcrumbs_helper_spec.rb +38 -0
- data/spec/helpers/semantic_flash_helper_spec.rb +36 -0
- data/spec/helpers/semantic_icon_helper_spec.rb +48 -0
- data/spec/spec_helper.rb +17 -0
- data/tasks/converter.rb +216 -0
- data/templates/project/manifest.rb +29 -0
- data/templates/project/styles.scss +1 -0
- metadata +390 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@import 'accordion';
|
|
2
|
+
@import 'calendar';
|
|
3
|
+
@import 'checkbox';
|
|
4
|
+
@import 'dimmer';
|
|
5
|
+
@import 'dropdown';
|
|
6
|
+
@import 'embed';
|
|
7
|
+
@import 'modal';
|
|
8
|
+
@import 'nag';
|
|
9
|
+
@import 'popup';
|
|
10
|
+
@import 'progress';
|
|
11
|
+
@import 'range';
|
|
12
|
+
@import 'rating';
|
|
13
|
+
@import 'search';
|
|
14
|
+
@import 'shape';
|
|
15
|
+
@import 'sidebar';
|
|
16
|
+
@import 'sticky';
|
|
17
|
+
@import 'tab';
|
|
18
|
+
@import 'toast';
|
|
19
|
+
@import 'transition';
|
|
20
|
+
@import 'video';
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* # Semantic UI 2.6.4 - Calendar
|
|
3
|
+
* http://github.com/semantic-org/semantic-ui/
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* Released under the MIT license
|
|
7
|
+
* http://opensource.org/licenses/MIT
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
/*******************************
|
|
13
|
+
Popup
|
|
14
|
+
*******************************/
|
|
15
|
+
|
|
16
|
+
.ui.calendar .ui.popup {
|
|
17
|
+
max-width: none;
|
|
18
|
+
padding: 0;
|
|
19
|
+
border: none;
|
|
20
|
+
-webkit-user-select: none;
|
|
21
|
+
-moz-user-select: none;
|
|
22
|
+
-ms-user-select: none;
|
|
23
|
+
user-select: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
/*******************************
|
|
28
|
+
Calendar
|
|
29
|
+
*******************************/
|
|
30
|
+
|
|
31
|
+
.ui.calendar .calendar:focus {
|
|
32
|
+
outline: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/*******************************
|
|
37
|
+
Grid
|
|
38
|
+
*******************************/
|
|
39
|
+
|
|
40
|
+
.ui.calendar .ui.popup .ui.grid {
|
|
41
|
+
display: block;
|
|
42
|
+
white-space: nowrap;
|
|
43
|
+
}
|
|
44
|
+
.ui.calendar .ui.popup .ui.grid > .column {
|
|
45
|
+
width: auto;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
/*******************************
|
|
50
|
+
Table
|
|
51
|
+
*******************************/
|
|
52
|
+
|
|
53
|
+
.ui.calendar .ui.table.year,
|
|
54
|
+
.ui.calendar .ui.table.month,
|
|
55
|
+
.ui.calendar .ui.table.minute {
|
|
56
|
+
min-width: 15em;
|
|
57
|
+
}
|
|
58
|
+
.ui.calendar .ui.table.day {
|
|
59
|
+
min-width: 18em;
|
|
60
|
+
}
|
|
61
|
+
.ui.calendar .ui.table.day.andweek {
|
|
62
|
+
min-width: 22em;
|
|
63
|
+
}
|
|
64
|
+
.ui.calendar .ui.table.hour {
|
|
65
|
+
min-width: 20em;
|
|
66
|
+
}
|
|
67
|
+
.ui.calendar .ui.table tr th,
|
|
68
|
+
.ui.calendar .ui.table tr td {
|
|
69
|
+
padding: 0.5em;
|
|
70
|
+
white-space: nowrap;
|
|
71
|
+
}
|
|
72
|
+
.ui.calendar .ui.table tr th {
|
|
73
|
+
border-left: none;
|
|
74
|
+
}
|
|
75
|
+
.ui.calendar .ui.table tr th .icon {
|
|
76
|
+
margin: 0;
|
|
77
|
+
}
|
|
78
|
+
.ui.calendar .ui.table tr:first-child th {
|
|
79
|
+
position: relative;
|
|
80
|
+
padding-left: 0;
|
|
81
|
+
padding-right: 0;
|
|
82
|
+
}
|
|
83
|
+
.ui.calendar .ui.table.day tr:first-child th {
|
|
84
|
+
border: none;
|
|
85
|
+
}
|
|
86
|
+
.ui.calendar .ui.table.day tr:nth-child(2) th {
|
|
87
|
+
padding-top: 0.2em;
|
|
88
|
+
padding-bottom: 0.3em;
|
|
89
|
+
}
|
|
90
|
+
.ui.calendar .ui.table tr td {
|
|
91
|
+
padding-left: 0.1em;
|
|
92
|
+
padding-right: 0.1em;
|
|
93
|
+
}
|
|
94
|
+
.ui.calendar .ui.table tr .link {
|
|
95
|
+
cursor: pointer;
|
|
96
|
+
}
|
|
97
|
+
.ui.calendar .ui.table tr .prev.link {
|
|
98
|
+
width: 14.28571429%;
|
|
99
|
+
position: absolute;
|
|
100
|
+
left: 0;
|
|
101
|
+
}
|
|
102
|
+
.ui.calendar .ui.table tr .next.link {
|
|
103
|
+
width: 14.28571429%;
|
|
104
|
+
position: absolute;
|
|
105
|
+
right: 0;
|
|
106
|
+
}
|
|
107
|
+
.ui.calendar .ui.table tr .disabled {
|
|
108
|
+
pointer-events: auto;
|
|
109
|
+
cursor: default;
|
|
110
|
+
color: rgba(40, 40, 40, 0.3);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/*--------------
|
|
114
|
+
States
|
|
115
|
+
---------------*/
|
|
116
|
+
|
|
117
|
+
.ui.calendar .ui.table tr td.today {
|
|
118
|
+
font-weight: bold;
|
|
119
|
+
}
|
|
120
|
+
.ui.calendar .ui.table tr td.range {
|
|
121
|
+
background: rgba(0, 0, 0, 0.05);
|
|
122
|
+
color: rgba(0, 0, 0, 0.95);
|
|
123
|
+
-webkit-box-shadow: none;
|
|
124
|
+
box-shadow: none;
|
|
125
|
+
}
|
|
126
|
+
.ui.calendar .ui.table.inverted tr td.range {
|
|
127
|
+
background: rgba(255, 255, 255, 0.08);
|
|
128
|
+
color: #ffffff;
|
|
129
|
+
-webkit-box-shadow: none;
|
|
130
|
+
box-shadow: none;
|
|
131
|
+
}
|
|
132
|
+
.ui.calendar:not(.disabled) .calendar:focus .ui.table tbody tr td.focus,
|
|
133
|
+
.ui.calendar:not(.disabled) .calendar.active .ui.table tbody tr td.focus {
|
|
134
|
+
-webkit-box-shadow: inset 0 0 0 1px #85B7D9;
|
|
135
|
+
box-shadow: inset 0 0 0 1px #85B7D9;
|
|
136
|
+
}
|
|
137
|
+
.ui.calendar:not(.disabled) .calendar:focus .ui.table.inverted tbody tr td.focus,
|
|
138
|
+
.ui.calendar:not(.disabled) .calendar.active .ui.table.inverted tbody tr td.focus {
|
|
139
|
+
-webkit-box-shadow: inset 0 0 0 1px #85B7D9;
|
|
140
|
+
box-shadow: inset 0 0 0 1px #85B7D9;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
/*******************************
|
|
145
|
+
States
|
|
146
|
+
*******************************/
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
/*--------------------
|
|
150
|
+
Disabled
|
|
151
|
+
---------------------*/
|
|
152
|
+
|
|
153
|
+
.ui.disabled.calendar {
|
|
154
|
+
opacity: 0.45;
|
|
155
|
+
}
|
|
156
|
+
.ui.disabled.calendar > .input,
|
|
157
|
+
.ui.disabled.calendar .ui.table tr .link {
|
|
158
|
+
pointer-events: none;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
/*******************************
|
|
163
|
+
Theme Overrides
|
|
164
|
+
*******************************/
|
|
165
|
+
|
|
@@ -0,0 +1,718 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* # Semantic UI 2.6.4 - Checkbox
|
|
3
|
+
* http://github.com/semantic-org/semantic-ui/
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* Released under the MIT license
|
|
7
|
+
* http://opensource.org/licenses/MIT
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
/*******************************
|
|
13
|
+
Checkbox
|
|
14
|
+
*******************************/
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/*--------------
|
|
18
|
+
Content
|
|
19
|
+
---------------*/
|
|
20
|
+
|
|
21
|
+
.ui.checkbox {
|
|
22
|
+
position: relative;
|
|
23
|
+
display: inline-block;
|
|
24
|
+
-webkit-backface-visibility: hidden;
|
|
25
|
+
backface-visibility: hidden;
|
|
26
|
+
outline: none;
|
|
27
|
+
vertical-align: baseline;
|
|
28
|
+
font-style: normal;
|
|
29
|
+
min-height: 17px;
|
|
30
|
+
font-size: 1rem;
|
|
31
|
+
line-height: 17px;
|
|
32
|
+
min-width: 17px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* HTML Checkbox */
|
|
36
|
+
.ui.checkbox input[type="checkbox"],
|
|
37
|
+
.ui.checkbox input[type="radio"] {
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
position: absolute;
|
|
40
|
+
top: 0px;
|
|
41
|
+
left: 0px;
|
|
42
|
+
opacity: 0 !important;
|
|
43
|
+
outline: none;
|
|
44
|
+
z-index: 3;
|
|
45
|
+
width: 17px;
|
|
46
|
+
height: 17px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/*--------------
|
|
50
|
+
Box
|
|
51
|
+
---------------*/
|
|
52
|
+
|
|
53
|
+
.ui.checkbox .box,
|
|
54
|
+
.ui.checkbox label {
|
|
55
|
+
cursor: auto;
|
|
56
|
+
position: relative;
|
|
57
|
+
display: block;
|
|
58
|
+
padding-left: 1.85714em;
|
|
59
|
+
outline: none;
|
|
60
|
+
font-size: 1em;
|
|
61
|
+
}
|
|
62
|
+
.ui.checkbox .box:before,
|
|
63
|
+
.ui.checkbox label:before {
|
|
64
|
+
position: absolute;
|
|
65
|
+
top: 0px;
|
|
66
|
+
left: 0px;
|
|
67
|
+
width: 17px;
|
|
68
|
+
height: 17px;
|
|
69
|
+
content: '';
|
|
70
|
+
background: #FFFFFF;
|
|
71
|
+
border-radius: 0.21428571rem;
|
|
72
|
+
-webkit-transition: border 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
|
73
|
+
transition: border 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
|
74
|
+
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease;
|
|
75
|
+
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
|
76
|
+
border: 1px solid #D4D4D5;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/*--------------
|
|
80
|
+
Checkmark
|
|
81
|
+
---------------*/
|
|
82
|
+
|
|
83
|
+
.ui.checkbox .box:after,
|
|
84
|
+
.ui.checkbox label:after {
|
|
85
|
+
position: absolute;
|
|
86
|
+
font-size: 14px;
|
|
87
|
+
top: 0px;
|
|
88
|
+
left: 0px;
|
|
89
|
+
width: 17px;
|
|
90
|
+
height: 17px;
|
|
91
|
+
text-align: center;
|
|
92
|
+
opacity: 0;
|
|
93
|
+
color: rgba(0, 0, 0, 0.87);
|
|
94
|
+
-webkit-transition: border 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
|
95
|
+
transition: border 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
|
96
|
+
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease;
|
|
97
|
+
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/*--------------
|
|
101
|
+
Label
|
|
102
|
+
---------------*/
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
/* Inside */
|
|
106
|
+
.ui.checkbox label,
|
|
107
|
+
.ui.checkbox + label {
|
|
108
|
+
color: rgba(0, 0, 0, 0.87);
|
|
109
|
+
-webkit-transition: color 0.1s ease;
|
|
110
|
+
transition: color 0.1s ease;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* Outside */
|
|
114
|
+
.ui.checkbox + label {
|
|
115
|
+
vertical-align: middle;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
/*******************************
|
|
120
|
+
States
|
|
121
|
+
*******************************/
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
/*--------------
|
|
125
|
+
Hover
|
|
126
|
+
---------------*/
|
|
127
|
+
|
|
128
|
+
.ui.checkbox .box:hover::before,
|
|
129
|
+
.ui.checkbox label:hover::before {
|
|
130
|
+
background: #FFFFFF;
|
|
131
|
+
border-color: rgba(34, 36, 38, 0.35);
|
|
132
|
+
}
|
|
133
|
+
.ui.checkbox label:hover,
|
|
134
|
+
.ui.checkbox + label:hover {
|
|
135
|
+
color: rgba(0, 0, 0, 0.8);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/*--------------
|
|
139
|
+
Down
|
|
140
|
+
---------------*/
|
|
141
|
+
|
|
142
|
+
.ui.checkbox .box:active::before,
|
|
143
|
+
.ui.checkbox label:active::before {
|
|
144
|
+
background: #F9FAFB;
|
|
145
|
+
border-color: rgba(34, 36, 38, 0.35);
|
|
146
|
+
}
|
|
147
|
+
.ui.checkbox .box:active::after,
|
|
148
|
+
.ui.checkbox label:active::after {
|
|
149
|
+
color: rgba(0, 0, 0, 0.95);
|
|
150
|
+
}
|
|
151
|
+
.ui.checkbox input:active ~ label {
|
|
152
|
+
color: rgba(0, 0, 0, 0.95);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/*--------------
|
|
156
|
+
Focus
|
|
157
|
+
---------------*/
|
|
158
|
+
|
|
159
|
+
.ui.checkbox input:focus ~ .box:before,
|
|
160
|
+
.ui.checkbox input:focus ~ label:before {
|
|
161
|
+
background: #FFFFFF;
|
|
162
|
+
border-color: #96C8DA;
|
|
163
|
+
}
|
|
164
|
+
.ui.checkbox input:focus ~ .box:after,
|
|
165
|
+
.ui.checkbox input:focus ~ label:after {
|
|
166
|
+
color: rgba(0, 0, 0, 0.95);
|
|
167
|
+
}
|
|
168
|
+
.ui.checkbox input:focus ~ label {
|
|
169
|
+
color: rgba(0, 0, 0, 0.95);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/*--------------
|
|
173
|
+
Active
|
|
174
|
+
---------------*/
|
|
175
|
+
|
|
176
|
+
.ui.checkbox input:checked ~ .box:before,
|
|
177
|
+
.ui.checkbox input:checked ~ label:before {
|
|
178
|
+
background: #FFFFFF;
|
|
179
|
+
border-color: rgba(34, 36, 38, 0.35);
|
|
180
|
+
}
|
|
181
|
+
.ui.checkbox input:checked ~ .box:after,
|
|
182
|
+
.ui.checkbox input:checked ~ label:after {
|
|
183
|
+
opacity: 1;
|
|
184
|
+
color: rgba(0, 0, 0, 0.95);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/*--------------
|
|
188
|
+
Indeterminate
|
|
189
|
+
---------------*/
|
|
190
|
+
|
|
191
|
+
.ui.checkbox input:not([type=radio]):indeterminate ~ .box:before,
|
|
192
|
+
.ui.checkbox input:not([type=radio]):indeterminate ~ label:before {
|
|
193
|
+
background: #FFFFFF;
|
|
194
|
+
border-color: rgba(34, 36, 38, 0.35);
|
|
195
|
+
}
|
|
196
|
+
.ui.checkbox input:not([type=radio]):indeterminate ~ .box:after,
|
|
197
|
+
.ui.checkbox input:not([type=radio]):indeterminate ~ label:after {
|
|
198
|
+
opacity: 1;
|
|
199
|
+
color: rgba(0, 0, 0, 0.95);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/*--------------
|
|
203
|
+
Active Focus
|
|
204
|
+
---------------*/
|
|
205
|
+
|
|
206
|
+
.ui.checkbox input:not([type=radio]):indeterminate:focus ~ .box:before,
|
|
207
|
+
.ui.checkbox input:not([type=radio]):indeterminate:focus ~ label:before,
|
|
208
|
+
.ui.checkbox input:checked:focus ~ .box:before,
|
|
209
|
+
.ui.checkbox input:checked:focus ~ label:before {
|
|
210
|
+
background: #FFFFFF;
|
|
211
|
+
border-color: #96C8DA;
|
|
212
|
+
}
|
|
213
|
+
.ui.checkbox input:not([type=radio]):indeterminate:focus ~ .box:after,
|
|
214
|
+
.ui.checkbox input:not([type=radio]):indeterminate:focus ~ label:after,
|
|
215
|
+
.ui.checkbox input:checked:focus ~ .box:after,
|
|
216
|
+
.ui.checkbox input:checked:focus ~ label:after {
|
|
217
|
+
color: rgba(0, 0, 0, 0.95);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/*--------------
|
|
221
|
+
Read-Only
|
|
222
|
+
---------------*/
|
|
223
|
+
|
|
224
|
+
.ui.read-only.checkbox,
|
|
225
|
+
.ui.read-only.checkbox label {
|
|
226
|
+
cursor: default;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/*--------------
|
|
230
|
+
Disabled
|
|
231
|
+
---------------*/
|
|
232
|
+
|
|
233
|
+
.ui.disabled.checkbox .box:after,
|
|
234
|
+
.ui.disabled.checkbox label,
|
|
235
|
+
.ui.checkbox input[disabled] ~ .box:after,
|
|
236
|
+
.ui.checkbox input[disabled] ~ label {
|
|
237
|
+
cursor: default !important;
|
|
238
|
+
opacity: 0.5;
|
|
239
|
+
color: #000000;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/*--------------
|
|
243
|
+
Hidden
|
|
244
|
+
---------------*/
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
/* Initialized checkbox moves input below element
|
|
248
|
+
to prevent manually triggering */
|
|
249
|
+
.ui.checkbox input.hidden {
|
|
250
|
+
z-index: -1;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/* Selectable Label */
|
|
254
|
+
.ui.checkbox input.hidden + label {
|
|
255
|
+
cursor: pointer;
|
|
256
|
+
-webkit-user-select: none;
|
|
257
|
+
-moz-user-select: none;
|
|
258
|
+
-ms-user-select: none;
|
|
259
|
+
user-select: none;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
/*******************************
|
|
264
|
+
Types
|
|
265
|
+
*******************************/
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
/*--------------
|
|
269
|
+
Radio
|
|
270
|
+
---------------*/
|
|
271
|
+
|
|
272
|
+
.ui.radio.checkbox {
|
|
273
|
+
min-height: 15px;
|
|
274
|
+
}
|
|
275
|
+
.ui.radio.checkbox .box,
|
|
276
|
+
.ui.radio.checkbox label {
|
|
277
|
+
padding-left: 1.85714em;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/* Box */
|
|
281
|
+
.ui.radio.checkbox .box:before,
|
|
282
|
+
.ui.radio.checkbox label:before {
|
|
283
|
+
content: '';
|
|
284
|
+
-webkit-transform: none;
|
|
285
|
+
transform: none;
|
|
286
|
+
width: 15px;
|
|
287
|
+
height: 15px;
|
|
288
|
+
border-radius: 500rem;
|
|
289
|
+
top: 1px;
|
|
290
|
+
left: 0px;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/* Bullet */
|
|
294
|
+
.ui.radio.checkbox .box:after,
|
|
295
|
+
.ui.radio.checkbox label:after {
|
|
296
|
+
border: none;
|
|
297
|
+
content: '' !important;
|
|
298
|
+
width: 15px;
|
|
299
|
+
height: 15px;
|
|
300
|
+
line-height: 15px;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/* Radio Checkbox */
|
|
304
|
+
.ui.radio.checkbox .box:after,
|
|
305
|
+
.ui.radio.checkbox label:after {
|
|
306
|
+
top: 1px;
|
|
307
|
+
left: 0px;
|
|
308
|
+
width: 15px;
|
|
309
|
+
height: 15px;
|
|
310
|
+
border-radius: 500rem;
|
|
311
|
+
-webkit-transform: scale(0.46666667);
|
|
312
|
+
transform: scale(0.46666667);
|
|
313
|
+
background-color: rgba(0, 0, 0, 0.87);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/* Focus */
|
|
317
|
+
.ui.radio.checkbox input:focus ~ .box:before,
|
|
318
|
+
.ui.radio.checkbox input:focus ~ label:before {
|
|
319
|
+
background-color: #FFFFFF;
|
|
320
|
+
}
|
|
321
|
+
.ui.radio.checkbox input:focus ~ .box:after,
|
|
322
|
+
.ui.radio.checkbox input:focus ~ label:after {
|
|
323
|
+
background-color: rgba(0, 0, 0, 0.95);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/* Indeterminate */
|
|
327
|
+
.ui.radio.checkbox input:indeterminate ~ .box:after,
|
|
328
|
+
.ui.radio.checkbox input:indeterminate ~ label:after {
|
|
329
|
+
opacity: 0;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/* Active */
|
|
333
|
+
.ui.radio.checkbox input:checked ~ .box:before,
|
|
334
|
+
.ui.radio.checkbox input:checked ~ label:before {
|
|
335
|
+
background-color: #FFFFFF;
|
|
336
|
+
}
|
|
337
|
+
.ui.radio.checkbox input:checked ~ .box:after,
|
|
338
|
+
.ui.radio.checkbox input:checked ~ label:after {
|
|
339
|
+
background-color: rgba(0, 0, 0, 0.95);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/* Active Focus */
|
|
343
|
+
.ui.radio.checkbox input:focus:checked ~ .box:before,
|
|
344
|
+
.ui.radio.checkbox input:focus:checked ~ label:before {
|
|
345
|
+
background-color: #FFFFFF;
|
|
346
|
+
}
|
|
347
|
+
.ui.radio.checkbox input:focus:checked ~ .box:after,
|
|
348
|
+
.ui.radio.checkbox input:focus:checked ~ label:after {
|
|
349
|
+
background-color: rgba(0, 0, 0, 0.95);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/*--------------
|
|
353
|
+
Slider
|
|
354
|
+
---------------*/
|
|
355
|
+
|
|
356
|
+
.ui.slider.checkbox {
|
|
357
|
+
min-height: 1.25rem;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/* Input */
|
|
361
|
+
.ui.slider.checkbox input {
|
|
362
|
+
width: 3.5rem;
|
|
363
|
+
height: 1.25rem;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/* Label */
|
|
367
|
+
.ui.slider.checkbox .box,
|
|
368
|
+
.ui.slider.checkbox label {
|
|
369
|
+
padding-left: 4.5rem;
|
|
370
|
+
line-height: 1rem;
|
|
371
|
+
color: rgba(0, 0, 0, 0.4);
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/* Line */
|
|
375
|
+
.ui.slider.checkbox .box:before,
|
|
376
|
+
.ui.slider.checkbox label:before {
|
|
377
|
+
display: block;
|
|
378
|
+
position: absolute;
|
|
379
|
+
content: '';
|
|
380
|
+
-webkit-transform: none;
|
|
381
|
+
transform: none;
|
|
382
|
+
border: none !important;
|
|
383
|
+
left: 0em;
|
|
384
|
+
z-index: 1;
|
|
385
|
+
top: 0.4rem;
|
|
386
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
387
|
+
width: 3.5rem;
|
|
388
|
+
height: 0.21428571rem;
|
|
389
|
+
border-radius: 500rem;
|
|
390
|
+
-webkit-transition: background 0.3s ease;
|
|
391
|
+
transition: background 0.3s ease;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/* Handle */
|
|
395
|
+
.ui.slider.checkbox .box:after,
|
|
396
|
+
.ui.slider.checkbox label:after {
|
|
397
|
+
background: #FFFFFF -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.05)));
|
|
398
|
+
background: #FFFFFF -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
|
399
|
+
background: #FFFFFF linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
|
400
|
+
position: absolute;
|
|
401
|
+
content: '' !important;
|
|
402
|
+
opacity: 1;
|
|
403
|
+
z-index: 2;
|
|
404
|
+
border: none;
|
|
405
|
+
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
|
406
|
+
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
|
407
|
+
width: 1.5rem;
|
|
408
|
+
height: 1.5rem;
|
|
409
|
+
top: -0.25rem;
|
|
410
|
+
left: 0em;
|
|
411
|
+
-webkit-transform: none;
|
|
412
|
+
transform: none;
|
|
413
|
+
border-radius: 500rem;
|
|
414
|
+
-webkit-transition: left 0.3s ease;
|
|
415
|
+
transition: left 0.3s ease;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/* Focus */
|
|
419
|
+
.ui.slider.checkbox input:focus ~ .box:before,
|
|
420
|
+
.ui.slider.checkbox input:focus ~ label:before {
|
|
421
|
+
background-color: rgba(0, 0, 0, 0.15);
|
|
422
|
+
border: none;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/* Hover */
|
|
426
|
+
.ui.slider.checkbox .box:hover,
|
|
427
|
+
.ui.slider.checkbox label:hover {
|
|
428
|
+
color: rgba(0, 0, 0, 0.8);
|
|
429
|
+
}
|
|
430
|
+
.ui.slider.checkbox .box:hover::before,
|
|
431
|
+
.ui.slider.checkbox label:hover::before {
|
|
432
|
+
background: rgba(0, 0, 0, 0.15);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
/* Active */
|
|
436
|
+
.ui.slider.checkbox input:checked ~ .box,
|
|
437
|
+
.ui.slider.checkbox input:checked ~ label {
|
|
438
|
+
color: rgba(0, 0, 0, 0.95) !important;
|
|
439
|
+
}
|
|
440
|
+
.ui.slider.checkbox input:checked ~ .box:before,
|
|
441
|
+
.ui.slider.checkbox input:checked ~ label:before {
|
|
442
|
+
background-color: #545454 !important;
|
|
443
|
+
}
|
|
444
|
+
.ui.slider.checkbox input:checked ~ .box:after,
|
|
445
|
+
.ui.slider.checkbox input:checked ~ label:after {
|
|
446
|
+
left: 2rem;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/* Active Focus */
|
|
450
|
+
.ui.slider.checkbox input:focus:checked ~ .box,
|
|
451
|
+
.ui.slider.checkbox input:focus:checked ~ label {
|
|
452
|
+
color: rgba(0, 0, 0, 0.95) !important;
|
|
453
|
+
}
|
|
454
|
+
.ui.slider.checkbox input:focus:checked ~ .box:before,
|
|
455
|
+
.ui.slider.checkbox input:focus:checked ~ label:before {
|
|
456
|
+
background-color: #000000 !important;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/*--------------
|
|
460
|
+
Toggle
|
|
461
|
+
---------------*/
|
|
462
|
+
|
|
463
|
+
.ui.toggle.checkbox {
|
|
464
|
+
min-height: 1.5rem;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
/* Input */
|
|
468
|
+
.ui.toggle.checkbox input {
|
|
469
|
+
width: 3.5rem;
|
|
470
|
+
height: 1.5rem;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
/* Label */
|
|
474
|
+
.ui.toggle.checkbox .box,
|
|
475
|
+
.ui.toggle.checkbox label {
|
|
476
|
+
min-height: 1.5rem;
|
|
477
|
+
padding-left: 4.5rem;
|
|
478
|
+
color: rgba(0, 0, 0, 0.87);
|
|
479
|
+
}
|
|
480
|
+
.ui.toggle.checkbox label {
|
|
481
|
+
padding-top: 0.15em;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
/* Switch */
|
|
485
|
+
.ui.toggle.checkbox .box:before,
|
|
486
|
+
.ui.toggle.checkbox label:before {
|
|
487
|
+
display: block;
|
|
488
|
+
position: absolute;
|
|
489
|
+
content: '';
|
|
490
|
+
z-index: 1;
|
|
491
|
+
-webkit-transform: none;
|
|
492
|
+
transform: none;
|
|
493
|
+
border: none;
|
|
494
|
+
top: 0rem;
|
|
495
|
+
background: rgba(0, 0, 0, 0.05);
|
|
496
|
+
-webkit-box-shadow: none;
|
|
497
|
+
box-shadow: none;
|
|
498
|
+
width: 3.5rem;
|
|
499
|
+
height: 1.5rem;
|
|
500
|
+
border-radius: 500rem;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
/* Handle */
|
|
504
|
+
.ui.toggle.checkbox .box:after,
|
|
505
|
+
.ui.toggle.checkbox label:after {
|
|
506
|
+
background: #FFFFFF -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.05)));
|
|
507
|
+
background: #FFFFFF -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
|
508
|
+
background: #FFFFFF linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
|
509
|
+
position: absolute;
|
|
510
|
+
content: '' !important;
|
|
511
|
+
opacity: 1;
|
|
512
|
+
z-index: 2;
|
|
513
|
+
border: none;
|
|
514
|
+
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
|
515
|
+
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
|
516
|
+
width: 1.5rem;
|
|
517
|
+
height: 1.5rem;
|
|
518
|
+
top: 0rem;
|
|
519
|
+
left: 0em;
|
|
520
|
+
border-radius: 500rem;
|
|
521
|
+
-webkit-transition: background 0.3s ease, left 0.3s ease;
|
|
522
|
+
transition: background 0.3s ease, left 0.3s ease;
|
|
523
|
+
}
|
|
524
|
+
.ui.toggle.checkbox input ~ .box:after,
|
|
525
|
+
.ui.toggle.checkbox input ~ label:after {
|
|
526
|
+
left: -0.05rem;
|
|
527
|
+
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
|
528
|
+
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
/* Focus */
|
|
532
|
+
.ui.toggle.checkbox input:focus ~ .box:before,
|
|
533
|
+
.ui.toggle.checkbox input:focus ~ label:before {
|
|
534
|
+
background-color: rgba(0, 0, 0, 0.15);
|
|
535
|
+
border: none;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/* Hover */
|
|
539
|
+
.ui.toggle.checkbox .box:hover::before,
|
|
540
|
+
.ui.toggle.checkbox label:hover::before {
|
|
541
|
+
background-color: rgba(0, 0, 0, 0.15);
|
|
542
|
+
border: none;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
/* Active */
|
|
546
|
+
.ui.toggle.checkbox input:checked ~ .box,
|
|
547
|
+
.ui.toggle.checkbox input:checked ~ label {
|
|
548
|
+
color: rgba(0, 0, 0, 0.95) !important;
|
|
549
|
+
}
|
|
550
|
+
.ui.toggle.checkbox input:checked ~ .box:before,
|
|
551
|
+
.ui.toggle.checkbox input:checked ~ label:before {
|
|
552
|
+
background-color: #2185D0 !important;
|
|
553
|
+
}
|
|
554
|
+
.ui.toggle.checkbox input:checked ~ .box:after,
|
|
555
|
+
.ui.toggle.checkbox input:checked ~ label:after {
|
|
556
|
+
left: 2.15rem;
|
|
557
|
+
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
|
558
|
+
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
/* Active Focus */
|
|
562
|
+
.ui.toggle.checkbox input:focus:checked ~ .box,
|
|
563
|
+
.ui.toggle.checkbox input:focus:checked ~ label {
|
|
564
|
+
color: rgba(0, 0, 0, 0.95) !important;
|
|
565
|
+
}
|
|
566
|
+
.ui.toggle.checkbox input:focus:checked ~ .box:before,
|
|
567
|
+
.ui.toggle.checkbox input:focus:checked ~ label:before {
|
|
568
|
+
background-color: #0d71bb !important;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
/*******************************
|
|
573
|
+
Variations
|
|
574
|
+
*******************************/
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
/*--------------
|
|
578
|
+
Fitted
|
|
579
|
+
---------------*/
|
|
580
|
+
|
|
581
|
+
.ui.fitted.checkbox .box,
|
|
582
|
+
.ui.fitted.checkbox label {
|
|
583
|
+
padding-left: 0em !important;
|
|
584
|
+
}
|
|
585
|
+
.ui.fitted.toggle.checkbox {
|
|
586
|
+
width: 3.5rem;
|
|
587
|
+
}
|
|
588
|
+
.ui.fitted.slider.checkbox {
|
|
589
|
+
width: 3.5rem;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
/*--------------
|
|
593
|
+
Inverted
|
|
594
|
+
---------------*/
|
|
595
|
+
|
|
596
|
+
.ui.inverted.checkbox label,
|
|
597
|
+
.ui.inverted.checkbox + label {
|
|
598
|
+
color: rgba(255, 255, 255, 0.9) !important;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
/* Hover */
|
|
602
|
+
.ui.inverted.checkbox .box:hover,
|
|
603
|
+
.ui.inverted.checkbox label:hover {
|
|
604
|
+
color: #ffffff !important;
|
|
605
|
+
}
|
|
606
|
+
.ui.inverted.checkbox .box:hover::before,
|
|
607
|
+
.ui.inverted.checkbox label:hover::before {
|
|
608
|
+
border-color: rgba(34, 36, 38, 0.5);
|
|
609
|
+
}
|
|
610
|
+
/*Slider Label */
|
|
611
|
+
.ui.inverted.slider.checkbox .box,
|
|
612
|
+
.ui.inverted.slider.checkbox label {
|
|
613
|
+
color: rgba(255, 255, 255, 0.5);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
/* Slider Line */
|
|
617
|
+
.ui.inverted.slider.checkbox .box:before,
|
|
618
|
+
.ui.inverted.slider.checkbox label:before {
|
|
619
|
+
background-color: rgba(255, 255, 255, 0.5) !important;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
/* Slider Hover */
|
|
623
|
+
.ui.inverted.slider.checkbox .box:hover::before,
|
|
624
|
+
.ui.inverted.slider.checkbox label:hover::before {
|
|
625
|
+
background: rgba(255, 255, 255, 0.7) !important;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
/* Slider Active */
|
|
629
|
+
.ui.inverted.slider.checkbox input:checked ~ .box,
|
|
630
|
+
.ui.inverted.slider.checkbox input:checked ~ label {
|
|
631
|
+
color: #ffffff !important;
|
|
632
|
+
}
|
|
633
|
+
.ui.inverted.slider.checkbox input:checked ~ .box:before,
|
|
634
|
+
.ui.inverted.slider.checkbox input:checked ~ label:before {
|
|
635
|
+
background-color: rgba(255, 255, 255, 0.8) !important;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
/* Slider Active Focus */
|
|
639
|
+
.ui.inverted.slider.checkbox input:focus:checked ~ .box,
|
|
640
|
+
.ui.inverted.slider.checkbox input:focus:checked ~ label {
|
|
641
|
+
color: #ffffff !important;
|
|
642
|
+
}
|
|
643
|
+
.ui.inverted.slider.checkbox input:focus:checked ~ .box:before,
|
|
644
|
+
.ui.inverted.slider.checkbox input:focus:checked ~ label:before {
|
|
645
|
+
background-color: rgba(255, 255, 255, 0.8) !important;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
/* Toggle Switch */
|
|
649
|
+
.ui.inverted.toggle.checkbox .box:before,
|
|
650
|
+
.ui.inverted.toggle.checkbox label:before {
|
|
651
|
+
background-color: rgba(255, 255, 255, 0.9) !important;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
/* Toggle Hover */
|
|
655
|
+
.ui.inverted.toggle.checkbox .box:hover::before,
|
|
656
|
+
.ui.inverted.toggle.checkbox label:hover::before {
|
|
657
|
+
background: #ffffff !important;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
/* Toggle Active */
|
|
661
|
+
.ui.inverted.toggle.checkbox input:checked ~ .box,
|
|
662
|
+
.ui.inverted.toggle.checkbox input:checked ~ label {
|
|
663
|
+
color: #ffffff !important;
|
|
664
|
+
}
|
|
665
|
+
.ui.inverted.toggle.checkbox input:checked ~ .box:before,
|
|
666
|
+
.ui.inverted.toggle.checkbox input:checked ~ label:before {
|
|
667
|
+
background-color: #2185D0 !important;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
/* Toggle Active Focus */
|
|
671
|
+
.ui.inverted.toggle.checkbox input:focus:checked ~ .box,
|
|
672
|
+
.ui.inverted.toggle.checkbox input:focus:checked ~ label {
|
|
673
|
+
color: #ffffff !important;
|
|
674
|
+
}
|
|
675
|
+
.ui.inverted.toggle.checkbox input:focus:checked ~ .box:before,
|
|
676
|
+
.ui.inverted.toggle.checkbox input:focus:checked ~ label:before {
|
|
677
|
+
background-color: #0d71bb !important;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
/*******************************
|
|
682
|
+
Theme Overrides
|
|
683
|
+
*******************************/
|
|
684
|
+
|
|
685
|
+
@font-face {
|
|
686
|
+
font-family: 'Checkbox';
|
|
687
|
+
src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBD8AAAC8AAAAYGNtYXAYVtCJAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5Zn4huwUAAAF4AAABYGhlYWQGPe1ZAAAC2AAAADZoaGVhB30DyAAAAxAAAAAkaG10eBBKAEUAAAM0AAAAHGxvY2EAmgESAAADUAAAABBtYXhwAAkALwAAA2AAAAAgbmFtZSC8IugAAAOAAAABknBvc3QAAwAAAAAFFAAAACAAAwMTAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADoAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6AL//f//AAAAAAAg6AD//f//AAH/4xgEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAEUAUQO7AvgAGgAAARQHAQYjIicBJjU0PwE2MzIfAQE2MzIfARYVA7sQ/hQQFhcQ/uMQEE4QFxcQqAF2EBcXEE4QAnMWEP4UEBABHRAXFhBOEBCoAXcQEE4QFwAAAAABAAABbgMlAkkAFAAAARUUBwYjISInJj0BNDc2MyEyFxYVAyUQEBf9SRcQEBAQFwK3FxAQAhJtFxAQEBAXbRcQEBAQFwAAAAABAAAASQMlA24ALAAAARUUBwYrARUUBwYrASInJj0BIyInJj0BNDc2OwE1NDc2OwEyFxYdATMyFxYVAyUQEBfuEBAXbhYQEO4XEBAQEBfuEBAWbhcQEO4XEBACEm0XEBDuFxAQEBAX7hAQF20XEBDuFxAQEBAX7hAQFwAAAQAAAAIAAHRSzT9fDzz1AAsEAAAAAADRsdR3AAAAANGx1HcAAAAAA7sDbgAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAADuwABAAAAAAAAAAAAAAAAAAAABwQAAAAAAAAAAAAAAAIAAAAEAABFAyUAAAMlAAAAAAAAAAoAFAAeAE4AcgCwAAEAAAAHAC0AAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAIAAAAAQAAAAAAAgAHAGkAAQAAAAAAAwAIADkAAQAAAAAABAAIAH4AAQAAAAAABQALABgAAQAAAAAABgAIAFEAAQAAAAAACgAaAJYAAwABBAkAAQAQAAgAAwABBAkAAgAOAHAAAwABBAkAAwAQAEEAAwABBAkABAAQAIYAAwABBAkABQAWACMAAwABBAkABgAQAFkAAwABBAkACgA0ALBDaGVja2JveABDAGgAZQBjAGsAYgBvAHhWZXJzaW9uIDIuMABWAGUAcgBzAGkAbwBuACAAMgAuADBDaGVja2JveABDAGgAZQBjAGsAYgBvAHhDaGVja2JveABDAGgAZQBjAGsAYgBvAHhSZWd1bGFyAFIAZQBnAHUAbABhAHJDaGVja2JveABDAGgAZQBjAGsAYgBvAHhGb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('truetype');
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
/* Checkmark */
|
|
691
|
+
.ui.checkbox label:after,
|
|
692
|
+
.ui.checkbox .box:after {
|
|
693
|
+
font-family: 'Checkbox';
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/* Checked */
|
|
697
|
+
.ui.checkbox input:checked ~ .box:after,
|
|
698
|
+
.ui.checkbox input:checked ~ label:after {
|
|
699
|
+
content: '\e800';
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
/* Indeterminate */
|
|
703
|
+
.ui.checkbox input:indeterminate ~ .box:after,
|
|
704
|
+
.ui.checkbox input:indeterminate ~ label:after {
|
|
705
|
+
font-size: 12px;
|
|
706
|
+
content: '\e801';
|
|
707
|
+
}
|
|
708
|
+
/* UTF Reference
|
|
709
|
+
.check:before { content: '\e800'; }
|
|
710
|
+
.dash:before { content: '\e801'; }
|
|
711
|
+
.plus:before { content: '\e802'; }
|
|
712
|
+
*/
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
/*******************************
|
|
716
|
+
Site Overrides
|
|
717
|
+
*******************************/
|
|
718
|
+
|