semantic-ui-sass 2.3.1.1 → 2.4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -2
- data/CHANGELOG.md +126 -98
- data/README.md +56 -2
- 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 +1515 -944
- 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/javascripts/semantic-ui/dimmer.js +27 -4
- data/app/assets/javascripts/semantic-ui/dropdown.js +41 -9
- data/app/assets/javascripts/semantic-ui/embed.js +11 -1
- data/app/assets/javascripts/semantic-ui/modal.js +85 -10
- data/app/assets/javascripts/semantic-ui/popup.js +14 -5
- data/app/assets/javascripts/semantic-ui/search.js +1 -1
- data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/collections/_form.scss +5 -5
- data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +28 -28
- data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +11 -11
- data/app/assets/stylesheets/semantic-ui/collections/_message.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/collections/_table.scss +5 -5
- data/app/assets/stylesheets/semantic-ui/elements/_all.scss +2 -0
- data/app/assets/stylesheets/semantic-ui/elements/_button.scss +153 -3
- data/app/assets/stylesheets/semantic-ui/elements/_container.scss +30 -31
- data/app/assets/stylesheets/semantic-ui/elements/_container_variables.scss +48 -0
- data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +3 -3
- data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +2 -1
- data/app/assets/stylesheets/semantic-ui/elements/_header.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +36 -17
- data/app/assets/stylesheets/semantic-ui/elements/_image.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_input.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_label.scss +22 -22
- data/app/assets/stylesheets/semantic-ui/elements/_list.scss +3 -1
- data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_placeholder.scss +239 -0
- data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +65 -3
- data/app/assets/stylesheets/semantic-ui/elements/_step.scss +6 -6
- data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/globals/_site.scss +39 -37
- data/app/assets/stylesheets/semantic-ui/globals/_variables.scss +46 -2
- data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +27 -13
- data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +38 -29
- data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +60 -35
- data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +2 -2
- data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_search.scss +4 -2
- data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/views/_ad.scss +2 -2
- data/app/assets/stylesheets/semantic-ui/views/_card.scss +4 -4
- data/app/assets/stylesheets/semantic-ui/views/_comment.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/views/_feed.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/views/_item.scss +4 -4
- data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +23 -26
- data/lib/semantic-ui-sass.rb +2 -2
- data/lib/semantic/ui/sass/version.rb +2 -2
- data/semantic-ui-sass.gemspec +2 -2
- data/spec/dummy/app/assets/config/manifest.js +3 -0
- data/tasks/converter.rb +29 -2
- metadata +21 -13
@@ -1,4 +1,48 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
/*******************************
|
2
|
+
Site Settings
|
3
|
+
*******************************/
|
4
|
+
|
5
|
+
/*-------------------
|
6
|
+
Fonts
|
7
|
+
--------------------*/
|
8
|
+
|
3
9
|
$font-name: 'Lato' !default;
|
4
10
|
$font-family: $font-name, 'Helvetica Neue', Arial, Helvetica, sans-serif !default;
|
11
|
+
$font-url: 'https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic&subset=latin,latin-ext' !default;
|
12
|
+
$import-google-fonts: true !default;
|
13
|
+
|
14
|
+
/*-------------------
|
15
|
+
Base Sizes
|
16
|
+
--------------------*/
|
17
|
+
|
18
|
+
/* This is the single variable that controls them all */
|
19
|
+
$em-size: 14px;
|
20
|
+
|
21
|
+
/*-------------------
|
22
|
+
Scroll Bars
|
23
|
+
--------------------*/
|
24
|
+
|
25
|
+
$use-custom-scrollbars: true !default;
|
26
|
+
|
27
|
+
/*-------------------
|
28
|
+
Breakpoints
|
29
|
+
--------------------*/
|
30
|
+
|
31
|
+
$mobile-breakpoint: 320px !default;
|
32
|
+
$tablet-breakpoint: 768px !default;
|
33
|
+
$computer-breakpoint: 992px !default;
|
34
|
+
$large-monitor-breakpoint: 1200px !default;
|
35
|
+
$widescreen-monitor-breakpoint: 1920px !default;
|
36
|
+
|
37
|
+
/*-------------------
|
38
|
+
Derived Values
|
39
|
+
--------------------*/
|
40
|
+
|
41
|
+
/* Rendered Scrollbar Width */
|
42
|
+
$scrollbar-width: 17px;
|
43
|
+
|
44
|
+
/* Responsive */
|
45
|
+
$largest-mobile-screen: ($tablet-breakpoint - 1px);
|
46
|
+
$largest-tablet-screen: ($computer-breakpoint - 1px);
|
47
|
+
$largest-small-monitor: ($large-monitor-breakpoint - 1px);
|
48
|
+
$largest-large-monitor: ($widescreen-monitor-breakpoint - 1px);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Semantic UI 2.
|
2
|
+
* # Semantic UI 2.4.2 - Dimmer
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
@@ -67,18 +67,20 @@
|
|
67
67
|
border-radius: inherit !important;
|
68
68
|
}
|
69
69
|
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
70
|
+
@if $use-custom-scrollbars {
|
71
|
+
/* Scrollbars */
|
72
|
+
.ui.dimmer:not(.inverted)::-webkit-scrollbar-track {
|
73
|
+
background: rgba(255, 255, 255, 0.1);
|
74
|
+
}
|
75
|
+
.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb {
|
76
|
+
background: rgba(255, 255, 255, 0.25);
|
77
|
+
}
|
78
|
+
.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:window-inactive {
|
79
|
+
background: rgba(255, 255, 255, 0.15);
|
80
|
+
}
|
81
|
+
.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:hover {
|
82
|
+
background: rgba(255, 255, 255, 0.35);
|
83
|
+
}
|
82
84
|
}
|
83
85
|
|
84
86
|
|
@@ -115,6 +117,18 @@
|
|
115
117
|
*******************************/
|
116
118
|
|
117
119
|
|
120
|
+
/*--------------
|
121
|
+
Legacy
|
122
|
+
---------------*/
|
123
|
+
|
124
|
+
|
125
|
+
/* Animating / Active / Visible */
|
126
|
+
.dimmed.dimmable > .ui.animating.legacy.dimmer,
|
127
|
+
.dimmed.dimmable > .ui.visible.legacy.dimmer,
|
128
|
+
.ui.active.legacy.dimmer {
|
129
|
+
display: block;
|
130
|
+
}
|
131
|
+
|
118
132
|
/*--------------
|
119
133
|
Alignment
|
120
134
|
---------------*/
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Semantic UI 2.
|
2
|
+
* # Semantic UI 2.4.2 - Dropdown
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
@@ -433,22 +433,22 @@ select.ui.dropdown {
|
|
433
433
|
.ui.selection.dropdown .menu > .message {
|
434
434
|
padding: 0.78571429rem 1.14285714rem;
|
435
435
|
}
|
436
|
-
@media only screen and (max-width:
|
436
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
437
437
|
.ui.selection.dropdown .menu {
|
438
438
|
max-height: 8.01428571rem;
|
439
439
|
}
|
440
440
|
}
|
441
|
-
@media only screen and (min-width:
|
441
|
+
@media only screen and (min-width: $tablet-breakpoint) {
|
442
442
|
.ui.selection.dropdown .menu {
|
443
443
|
max-height: 10.68571429rem;
|
444
444
|
}
|
445
445
|
}
|
446
|
-
@media only screen and (min-width:
|
446
|
+
@media only screen and (min-width: $computer-breakpoint) {
|
447
447
|
.ui.selection.dropdown .menu {
|
448
448
|
max-height: 16.02857143rem;
|
449
449
|
}
|
450
450
|
}
|
451
|
-
@media only screen and (min-width:
|
451
|
+
@media only screen and (min-width: $widescreen-monitor-breakpoint) {
|
452
452
|
.ui.selection.dropdown .menu {
|
453
453
|
max-height: 21.37142857rem;
|
454
454
|
}
|
@@ -519,7 +519,7 @@ select.ui.dropdown {
|
|
519
519
|
/* Dropdown Icon */
|
520
520
|
.ui.active.selection.dropdown > .dropdown.icon,
|
521
521
|
.ui.visible.selection.dropdown > .dropdown.icon {
|
522
|
-
opacity:
|
522
|
+
opacity: '';
|
523
523
|
z-index: 3;
|
524
524
|
}
|
525
525
|
|
@@ -619,22 +619,22 @@ select.ui.dropdown {
|
|
619
619
|
backface-visibility: hidden;
|
620
620
|
-webkit-overflow-scrolling: touch;
|
621
621
|
}
|
622
|
-
@media only screen and (max-width:
|
622
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
623
623
|
.ui.search.dropdown .menu {
|
624
624
|
max-height: 8.01428571rem;
|
625
625
|
}
|
626
626
|
}
|
627
|
-
@media only screen and (min-width:
|
627
|
+
@media only screen and (min-width: $tablet-breakpoint) {
|
628
628
|
.ui.search.dropdown .menu {
|
629
629
|
max-height: 10.68571429rem;
|
630
630
|
}
|
631
631
|
}
|
632
|
-
@media only screen and (min-width:
|
632
|
+
@media only screen and (min-width: $computer-breakpoint) {
|
633
633
|
.ui.search.dropdown .menu {
|
634
634
|
max-height: 16.02857143rem;
|
635
635
|
}
|
636
636
|
}
|
637
|
-
@media only screen and (min-width:
|
637
|
+
@media only screen and (min-width: $widescreen-monitor-breakpoint) {
|
638
638
|
.ui.search.dropdown .menu {
|
639
639
|
max-height: 21.37142857rem;
|
640
640
|
}
|
@@ -735,7 +735,7 @@ select.ui.dropdown {
|
|
735
735
|
color: inherit;
|
736
736
|
}
|
737
737
|
.ui.inline.dropdown .dropdown.icon {
|
738
|
-
margin: 0em 0.
|
738
|
+
margin: 0em 0.21428571em 0em 0.21428571em;
|
739
739
|
vertical-align: baseline;
|
740
740
|
}
|
741
741
|
.ui.inline.dropdown > .text {
|
@@ -946,6 +946,19 @@ select.ui.dropdown {
|
|
946
946
|
background-color: #FDCFCF;
|
947
947
|
}
|
948
948
|
|
949
|
+
/*--------------------
|
950
|
+
Clear
|
951
|
+
----------------------*/
|
952
|
+
|
953
|
+
.ui.dropdown > .clear.dropdown.icon {
|
954
|
+
opacity: 0.8;
|
955
|
+
-webkit-transition: opacity 0.1s ease;
|
956
|
+
transition: opacity 0.1s ease;
|
957
|
+
}
|
958
|
+
.ui.dropdown > .clear.dropdown.icon:hover {
|
959
|
+
opacity: 1;
|
960
|
+
}
|
961
|
+
|
949
962
|
/*--------------------
|
950
963
|
Disabled
|
951
964
|
----------------------*/
|
@@ -1125,28 +1138,28 @@ select.ui.dropdown {
|
|
1125
1138
|
@media all and (-ms-high-contrast: none) {
|
1126
1139
|
.ui.scrolling.dropdown .menu,
|
1127
1140
|
.ui.dropdown .scrolling.menu {
|
1128
|
-
min-width: calc(100% -
|
1141
|
+
min-width: calc(100% - 17px);
|
1129
1142
|
}
|
1130
1143
|
}
|
1131
|
-
@media only screen and (max-width:
|
1144
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
1132
1145
|
.ui.scrolling.dropdown .menu,
|
1133
1146
|
.ui.dropdown .scrolling.menu {
|
1134
1147
|
max-height: 10.28571429rem;
|
1135
1148
|
}
|
1136
1149
|
}
|
1137
|
-
@media only screen and (min-width:
|
1150
|
+
@media only screen and (min-width: $tablet-breakpoint) {
|
1138
1151
|
.ui.scrolling.dropdown .menu,
|
1139
1152
|
.ui.dropdown .scrolling.menu {
|
1140
1153
|
max-height: 15.42857143rem;
|
1141
1154
|
}
|
1142
1155
|
}
|
1143
|
-
@media only screen and (min-width:
|
1156
|
+
@media only screen and (min-width: $computer-breakpoint) {
|
1144
1157
|
.ui.scrolling.dropdown .menu,
|
1145
1158
|
.ui.dropdown .scrolling.menu {
|
1146
1159
|
max-height: 20.57142857rem;
|
1147
1160
|
}
|
1148
1161
|
}
|
1149
|
-
@media only screen and (min-width:
|
1162
|
+
@media only screen and (min-width: $widescreen-monitor-breakpoint) {
|
1150
1163
|
.ui.scrolling.dropdown .menu,
|
1151
1164
|
.ui.dropdown .scrolling.menu {
|
1152
1165
|
max-height: 20.57142857rem;
|
@@ -1450,7 +1463,7 @@ select.ui.dropdown {
|
|
1450
1463
|
/* Dropdown Carets */
|
1451
1464
|
@font-face {
|
1452
1465
|
font-family: 'Dropdown';
|
1453
|
-
src: url(data:application/
|
1466
|
+
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAAVgAA8AAAAACFAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABWAAAABwAAAAchGgaq0dERUYAAAF0AAAAHAAAAB4AJwAPT1MvMgAAAZAAAABDAAAAVnW4TJdjbWFwAAAB1AAAAEsAAAFS8CcaqmN2dCAAAAIgAAAABAAAAAQAEQFEZ2FzcAAAAiQAAAAIAAAACP//AANnbHlmAAACLAAAAQoAAAGkrRHP9WhlYWQAAAM4AAAAMAAAADYPK8YyaGhlYQAAA2gAAAAdAAAAJANCAb1obXR4AAADiAAAACIAAAAiCBkAOGxvY2EAAAOsAAAAFAAAABQBnAIybWF4cAAAA8AAAAAfAAAAIAEVAF5uYW1lAAAD4AAAATAAAAKMFGlj5HBvc3QAAAUQAAAARgAAAHJoedjqd2ViZgAABVgAAAAGAAAABrO7W5UAAAABAAAAANXulPUAAAAA1r4hgAAAAADXu2Q1eNpjYGRgYOABYjEgZmJgBEIOIGYB8xgAA/YAN3jaY2BktGOcwMDKwMI4jTGNgYHBHUp/ZZBkaGFgYGJgZWbACgLSXFMYHFT/fLjFeOD/AQY9xjMMbkBhRpAcAN48DQYAeNpjYGBgZoBgGQZGBhDwAfIYwXwWBgMgzQGETAwMqn8+8H649f8/lHX9//9b7Pzf+fWgusCAkY0BzmUE6gHpQwGMDMMeAACbxg7SAAARAUQAAAAB//8AAnjadZBPSsNAGMXfS+yMqYgOhpSuSlKadmUhiVEhEMQzFF22m17BbbvzCh5BXCUn6EG8gjeQ4DepwYo4i+/ffL95j4EDA+CFC7jQuKyIeVHrI3wkleq9F7XrSInKteOeHdda8bOoaeepSc00NWPz/LRec9G8GabyGtEdF7h19z033GAMTK7zbM42xNEZpzYof0RtQ5CUHAQJ73OtVyutc+3b7Ou//b8XNlsPx3jgjUifABdhEohKJJL5iM5p39uqc7X1+sRQSqmGrUVhlsJ4lpmEUVwyT8SUYtg0P9DyNzPADDs+tjrGV6KRCRfsui3eHcL4/p8ZXvfMlcnEU+CLv7hDykOP+AKTPTxbAAB42mNgZGBgAGKuf5KP4vltvjLIMzGAwLV9ig0g+vruFFMQzdjACOJzMIClARh0CTJ42mNgZGBgPPD/AJD8wgAEjA0MjAyogAMAbOQEAQAAAAC7ABEAAAAAAKoAAAH0AAABgAAAAUAACAFAAAgAwAAXAAAAAAAAACoAKgAqADIAbACGAKAAugDSeNpjYGRgYOBkUGFgYgABEMkFhAwM/xn0QAIADdUBdAB42qWQvUoDQRSFv3GjaISUQaymSmGxJoGAsRC0iPYLsU50Y6IxrvlRtPCJJKUPIBb+PIHv4EN4djKuKAqCDHfmu+feOdwZoMCUAJNbAlYUMzaUlM14jjxbngOq7HnOia89z1Pk1vMCa9x7ztPkzfMyJbPj+ZGi6Xp+omxuPD+zaD7meaFg7mb8GrBqHmhwxoAxlm0uiRkpP9X5m26pKRoMxTGR1D49Dv/Yb/91o6l8qL6eu5n2hZQzn68utR9m3FU2cB4t9cdSLG2utI+44Eh/P9bqKO+oJ/WxmXssj77YkrjasZQD6SFddythk3Wtzrf+UF2p076Udla1VNzsERP3kkjVRKel7mp1udXYcHtZSlV7RfmJe1GiFWveluaeKD5/MuJcSk8Tpm/vvwPIbmJleNpjYGKAAFYG7ICTgYGRiZGZkYWRlZGNkZ2Rg5GTLT2nsiDDEEIZsZfmZRqZujmDaDcDAxcI7WIOpS2gtCWUdgQAZkcSmQAAAAFblbO6AAA=) format('woff');
|
1454
1467
|
font-weight: normal;
|
1455
1468
|
font-style: normal;
|
1456
1469
|
}
|
@@ -1485,19 +1498,15 @@ select.ui.dropdown {
|
|
1485
1498
|
.ui.vertical.menu .dropdown.item > .dropdown.icon:before {
|
1486
1499
|
content: "\f0da" /*rtl:"\f0d9"*/;
|
1487
1500
|
}
|
1488
|
-
|
1489
|
-
|
1490
|
-
content: "\f0d7";
|
1491
|
-
}
|
1492
|
-
.dropdown.up.icon {
|
1493
|
-
content: "\f0d8";
|
1494
|
-
}
|
1495
|
-
.dropdown.left.icon {
|
1496
|
-
content: "\f0d9";
|
1497
|
-
}
|
1498
|
-
.dropdown.icon.icon {
|
1499
|
-
content: "\f0da";
|
1501
|
+
.ui.dropdown > .clear.icon:before {
|
1502
|
+
content: "\f00d";
|
1500
1503
|
}
|
1504
|
+
/* Icons for Reference (Subsetted in 2.4.0)
|
1505
|
+
.dropdown.down:before { content: "\f0d7"; }
|
1506
|
+
.dropdown.up:before { content: "\f0d8"; }
|
1507
|
+
.dropdown.left:before { content: "\f0d9"; }
|
1508
|
+
.dropdown.right:before { content: "\f0da"; }
|
1509
|
+
.dropdown.close:before { content: "\f00d"; }
|
1501
1510
|
*/
|
1502
1511
|
|
1503
1512
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Semantic UI 2.
|
2
|
+
* # Semantic UI 2.4.2 - Modal
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
@@ -14,6 +14,7 @@
|
|
14
14
|
*******************************/
|
15
15
|
|
16
16
|
.ui.modal {
|
17
|
+
position: absolute;
|
17
18
|
display: none;
|
18
19
|
z-index: 1001;
|
19
20
|
text-align: left;
|
@@ -184,31 +185,31 @@
|
|
184
185
|
|
185
186
|
|
186
187
|
/* Modal Width */
|
187
|
-
@media only screen and (max-width:
|
188
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
188
189
|
.ui.modal {
|
189
190
|
width: 95%;
|
190
191
|
margin: 0em 0em 0em 0em;
|
191
192
|
}
|
192
193
|
}
|
193
|
-
@media only screen and (min-width:
|
194
|
+
@media only screen and (min-width: $tablet-breakpoint) {
|
194
195
|
.ui.modal {
|
195
196
|
width: 88%;
|
196
197
|
margin: 0em 0em 0em 0em;
|
197
198
|
}
|
198
199
|
}
|
199
|
-
@media only screen and (min-width:
|
200
|
+
@media only screen and (min-width: $computer-breakpoint) {
|
200
201
|
.ui.modal {
|
201
202
|
width: 850px;
|
202
203
|
margin: 0em 0em 0em 0em;
|
203
204
|
}
|
204
205
|
}
|
205
|
-
@media only screen and (min-width:
|
206
|
+
@media only screen and (min-width: $large-monitor-breakpoint) {
|
206
207
|
.ui.modal {
|
207
208
|
width: 900px;
|
208
209
|
margin: 0em 0em 0em 0em;
|
209
210
|
}
|
210
211
|
}
|
211
|
-
@media only screen and (min-width:
|
212
|
+
@media only screen and (min-width: $widescreen-monitor-breakpoint) {
|
212
213
|
.ui.modal {
|
213
214
|
width: 950px;
|
214
215
|
margin: 0em 0em 0em 0em;
|
@@ -216,7 +217,7 @@
|
|
216
217
|
}
|
217
218
|
|
218
219
|
/* Tablet and Mobile */
|
219
|
-
@media only screen and (max-width:
|
220
|
+
@media only screen and (max-width: $largest-tablet-screen) {
|
220
221
|
.ui.modal > .header {
|
221
222
|
padding-right: 2.25rem;
|
222
223
|
}
|
@@ -228,7 +229,7 @@
|
|
228
229
|
}
|
229
230
|
|
230
231
|
/* Mobile */
|
231
|
-
@media only screen and (max-width:
|
232
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
232
233
|
.ui.modal > .header {
|
233
234
|
padding: 0.75rem 1rem !important;
|
234
235
|
padding-right: 2.25rem !important;
|
@@ -320,8 +321,21 @@
|
|
320
321
|
color: rgba(0, 0, 0, 0.85);
|
321
322
|
}
|
322
323
|
|
324
|
+
/* Resort to margin positioning if legacy */
|
325
|
+
.ui.legacy.modal,
|
326
|
+
.ui.legacy.page.dimmer > .ui.modal {
|
327
|
+
top: 50%;
|
328
|
+
left: 50%;
|
329
|
+
}
|
330
|
+
.ui.legacy.page.dimmer > .ui.scrolling.modal,
|
331
|
+
.ui.page.dimmer > .ui.scrolling.legacy.modal,
|
332
|
+
.ui.top.aligned.legacy.page.dimmer > .ui.modal,
|
333
|
+
.ui.top.aligned.dimmer > .ui.legacy.modal {
|
334
|
+
top: auto;
|
335
|
+
}
|
336
|
+
|
323
337
|
/* Tablet and Mobile */
|
324
|
-
@media only screen and (max-width:
|
338
|
+
@media only screen and (max-width: $largest-tablet-screen) {
|
325
339
|
.ui.basic.modal > .close {
|
326
340
|
color: #FFFFFF;
|
327
341
|
}
|
@@ -356,6 +370,21 @@
|
|
356
370
|
.modals.dimmer[class*="top aligned"] .modal {
|
357
371
|
margin: 5vh auto;
|
358
372
|
}
|
373
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
374
|
+
.modals.dimmer[class*="top aligned"] .modal {
|
375
|
+
margin: 1rem auto;
|
376
|
+
}
|
377
|
+
}
|
378
|
+
|
379
|
+
/* Legacy Top Aligned */
|
380
|
+
.legacy.modals.dimmer[class*="top aligned"] {
|
381
|
+
padding-top: 5vh;
|
382
|
+
}
|
383
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
384
|
+
.legacy.modals.dimmer[class*="top aligned"] {
|
385
|
+
padding-top: 1rem;
|
386
|
+
}
|
387
|
+
}
|
359
388
|
|
360
389
|
/*--------------
|
361
390
|
Scrolling
|
@@ -379,7 +408,7 @@
|
|
379
408
|
position: fixed;
|
380
409
|
}
|
381
410
|
.modals.dimmer .ui.scrolling.modal {
|
382
|
-
margin: 1rem auto
|
411
|
+
margin: 1rem auto;
|
383
412
|
}
|
384
413
|
|
385
414
|
/* Undetached Scrolling */
|
@@ -398,7 +427,7 @@
|
|
398
427
|
|
399
428
|
/* Scrolling Content */
|
400
429
|
.ui.modal .scrolling.content {
|
401
|
-
max-height: calc(
|
430
|
+
max-height: calc(80vh - 10em);
|
402
431
|
overflow: auto;
|
403
432
|
}
|
404
433
|
|
@@ -408,12 +437,8 @@
|
|
408
437
|
|
409
438
|
.ui.fullscreen.modal {
|
410
439
|
width: 95% !important;
|
411
|
-
left: 0em !important;
|
412
440
|
margin: 1em auto;
|
413
441
|
}
|
414
|
-
.ui.fullscreen.scrolling.modal {
|
415
|
-
left: 0em !important;
|
416
|
-
}
|
417
442
|
.ui.fullscreen.modal > .header {
|
418
443
|
padding-right: 2.25rem;
|
419
444
|
}
|
@@ -437,31 +462,31 @@
|
|
437
462
|
}
|
438
463
|
|
439
464
|
/* Mini Modal Width */
|
440
|
-
@media only screen and (max-width:
|
465
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
441
466
|
.ui.mini.modal {
|
442
467
|
width: 95%;
|
443
468
|
margin: 0em 0em 0em 0em;
|
444
469
|
}
|
445
470
|
}
|
446
|
-
@media only screen and (min-width:
|
471
|
+
@media only screen and (min-width: $tablet-breakpoint) {
|
447
472
|
.ui.mini.modal {
|
448
473
|
width: 35.2%;
|
449
474
|
margin: 0em 0em 0em 0em;
|
450
475
|
}
|
451
476
|
}
|
452
|
-
@media only screen and (min-width:
|
477
|
+
@media only screen and (min-width: $computer-breakpoint) {
|
453
478
|
.ui.mini.modal {
|
454
479
|
width: 340px;
|
455
480
|
margin: 0em 0em 0em 0em;
|
456
481
|
}
|
457
482
|
}
|
458
|
-
@media only screen and (min-width:
|
483
|
+
@media only screen and (min-width: $large-monitor-breakpoint) {
|
459
484
|
.ui.mini.modal {
|
460
485
|
width: 360px;
|
461
486
|
margin: 0em 0em 0em 0em;
|
462
487
|
}
|
463
488
|
}
|
464
|
-
@media only screen and (min-width:
|
489
|
+
@media only screen and (min-width: $widescreen-monitor-breakpoint) {
|
465
490
|
.ui.mini.modal {
|
466
491
|
width: 380px;
|
467
492
|
margin: 0em 0em 0em 0em;
|
@@ -474,31 +499,31 @@
|
|
474
499
|
}
|
475
500
|
|
476
501
|
/* Tiny Modal Width */
|
477
|
-
@media only screen and (max-width:
|
502
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
478
503
|
.ui.tiny.modal {
|
479
504
|
width: 95%;
|
480
505
|
margin: 0em 0em 0em 0em;
|
481
506
|
}
|
482
507
|
}
|
483
|
-
@media only screen and (min-width:
|
508
|
+
@media only screen and (min-width: $tablet-breakpoint) {
|
484
509
|
.ui.tiny.modal {
|
485
510
|
width: 52.8%;
|
486
511
|
margin: 0em 0em 0em 0em;
|
487
512
|
}
|
488
513
|
}
|
489
|
-
@media only screen and (min-width:
|
514
|
+
@media only screen and (min-width: $computer-breakpoint) {
|
490
515
|
.ui.tiny.modal {
|
491
516
|
width: 510px;
|
492
517
|
margin: 0em 0em 0em 0em;
|
493
518
|
}
|
494
519
|
}
|
495
|
-
@media only screen and (min-width:
|
520
|
+
@media only screen and (min-width: $large-monitor-breakpoint) {
|
496
521
|
.ui.tiny.modal {
|
497
522
|
width: 540px;
|
498
523
|
margin: 0em 0em 0em 0em;
|
499
524
|
}
|
500
525
|
}
|
501
|
-
@media only screen and (min-width:
|
526
|
+
@media only screen and (min-width: $widescreen-monitor-breakpoint) {
|
502
527
|
.ui.tiny.modal {
|
503
528
|
width: 570px;
|
504
529
|
margin: 0em 0em 0em 0em;
|
@@ -511,31 +536,31 @@
|
|
511
536
|
}
|
512
537
|
|
513
538
|
/* Small Modal Width */
|
514
|
-
@media only screen and (max-width:
|
539
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
515
540
|
.ui.small.modal {
|
516
541
|
width: 95%;
|
517
542
|
margin: 0em 0em 0em 0em;
|
518
543
|
}
|
519
544
|
}
|
520
|
-
@media only screen and (min-width:
|
545
|
+
@media only screen and (min-width: $tablet-breakpoint) {
|
521
546
|
.ui.small.modal {
|
522
547
|
width: 70.4%;
|
523
548
|
margin: 0em 0em 0em 0em;
|
524
549
|
}
|
525
550
|
}
|
526
|
-
@media only screen and (min-width:
|
551
|
+
@media only screen and (min-width: $computer-breakpoint) {
|
527
552
|
.ui.small.modal {
|
528
553
|
width: 680px;
|
529
554
|
margin: 0em 0em 0em 0em;
|
530
555
|
}
|
531
556
|
}
|
532
|
-
@media only screen and (min-width:
|
557
|
+
@media only screen and (min-width: $large-monitor-breakpoint) {
|
533
558
|
.ui.small.modal {
|
534
559
|
width: 720px;
|
535
560
|
margin: 0em 0em 0em 0em;
|
536
561
|
}
|
537
562
|
}
|
538
|
-
@media only screen and (min-width:
|
563
|
+
@media only screen and (min-width: $widescreen-monitor-breakpoint) {
|
539
564
|
.ui.small.modal {
|
540
565
|
width: 760px;
|
541
566
|
margin: 0em 0em 0em 0em;
|
@@ -546,31 +571,31 @@
|
|
546
571
|
.ui.large.modal > .header {
|
547
572
|
font-size: 1.6em;
|
548
573
|
}
|
549
|
-
@media only screen and (max-width:
|
574
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
550
575
|
.ui.large.modal {
|
551
576
|
width: 95%;
|
552
577
|
margin: 0em 0em 0em 0em;
|
553
578
|
}
|
554
579
|
}
|
555
|
-
@media only screen and (min-width:
|
580
|
+
@media only screen and (min-width: $tablet-breakpoint) {
|
556
581
|
.ui.large.modal {
|
557
582
|
width: 88%;
|
558
583
|
margin: 0em 0em 0em 0em;
|
559
584
|
}
|
560
585
|
}
|
561
|
-
@media only screen and (min-width:
|
586
|
+
@media only screen and (min-width: $computer-breakpoint) {
|
562
587
|
.ui.large.modal {
|
563
588
|
width: 1020px;
|
564
589
|
margin: 0em 0em 0em 0em;
|
565
590
|
}
|
566
591
|
}
|
567
|
-
@media only screen and (min-width:
|
592
|
+
@media only screen and (min-width: $large-monitor-breakpoint) {
|
568
593
|
.ui.large.modal {
|
569
594
|
width: 1080px;
|
570
595
|
margin: 0em 0em 0em 0em;
|
571
596
|
}
|
572
597
|
}
|
573
|
-
@media only screen and (min-width:
|
598
|
+
@media only screen and (min-width: $widescreen-monitor-breakpoint) {
|
574
599
|
.ui.large.modal {
|
575
600
|
width: 1140px;
|
576
601
|
margin: 0em 0em 0em 0em;
|