doc-msp-theme 0.1.0
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/LICENSE.txt +21 -0
- data/README.md +52 -0
- data/_includes/footer.html +16 -0
- data/_includes/header.html +55 -0
- data/_layouts/article.html +46 -0
- data/_layouts/chapter.html +39 -0
- data/_layouts/default.html +75 -0
- data/_sass/.csslintrc +20 -0
- data/_sass/.scss-lint.yml +212 -0
- data/_sass/_accessibility-seo.md +233 -0
- data/_sass/_accessibility.md +17 -0
- data/_sass/_accessibility.scss +30 -0
- data/_sass/_animation.scss +17 -0
- data/_sass/_badges.md +39 -0
- data/_sass/_badges.scss +50 -0
- data/_sass/_brandbar.scss +34 -0
- data/_sass/_brandcolor.md +92 -0
- data/_sass/_brandcolor.scss +24 -0
- data/_sass/_brandheader.scss +35 -0
- data/_sass/_brandnav.scss +224 -0
- data/_sass/_breadcrumb.md +39 -0
- data/_sass/_breadcrumb.scss +44 -0
- data/_sass/_button.md +218 -0
- data/_sass/_button.scss +146 -0
- data/_sass/_cancel.scss +13 -0
- data/_sass/_checkbox.md +55 -0
- data/_sass/_checkbox.scss +124 -0
- data/_sass/_close.scss +16 -0
- data/_sass/_collapse.scss +30 -0
- data/_sass/_content-list.md +375 -0
- data/_sass/_content-list.scss +49 -0
- data/_sass/_doc-msp-theme.md +106 -0
- data/_sass/_doc-msp-theme.scss +59 -0
- data/_sass/_expandable.md +141 -0
- data/_sass/_expandable.scss +21 -0
- data/_sass/_font-faces.md +83 -0
- data/_sass/_font-faces.scss +15 -0
- data/_sass/_footer.md +392 -0
- data/_sass/_footer.scss +147 -0
- data/_sass/_forms.md +139 -0
- data/_sass/_forms.scss +199 -0
- data/_sass/_functions.md +251 -0
- data/_sass/_functions.scss +389 -0
- data/_sass/_grid.md +449 -0
- data/_sass/_grid.scss +314 -0
- data/_sass/_header.md +1042 -0
- data/_sass/_helper.md +212 -0
- data/_sass/_helper.scss +150 -0
- data/_sass/_icons.md +153 -0
- data/_sass/_icons.scss +154 -0
- data/_sass/_images.md +21 -0
- data/_sass/_images.scss +54 -0
- data/_sass/_jsbutton.md +171 -0
- data/_sass/_media.scss +48 -0
- data/_sass/_mixins.scss +430 -0
- data/_sass/_modal.md +329 -0
- data/_sass/_modal.scss +117 -0
- data/_sass/_nav.scss +40 -0
- data/_sass/_navbar.scss +250 -0
- data/_sass/_normalize.md +7 -0
- data/_sass/_normalize.scss +423 -0
- data/_sass/_notifications.md +211 -0
- data/_sass/_notifications.scss +110 -0
- data/_sass/_pager.md +67 -0
- data/_sass/_pager.scss +138 -0
- data/_sass/_pagination.md +49 -0
- data/_sass/_pagination.scss +95 -0
- data/_sass/_qtip.md +74 -0
- data/_sass/_qtip.scss +175 -0
- data/_sass/_radio.md +53 -0
- data/_sass/_radio.scss +122 -0
- data/_sass/_scaffolding.scss +61 -0
- data/_sass/_search.md +0 -0
- data/_sass/_search.scss +90 -0
- data/_sass/_select.md +55 -0
- data/_sass/_select.scss +146 -0
- data/_sass/_tables.md +405 -0
- data/_sass/_tables.scss +131 -0
- data/_sass/_totop.md +126 -0
- data/_sass/_totop.scss +33 -0
- data/_sass/_type.md +817 -0
- data/_sass/_type.scss +450 -0
- data/_sass/_variables.scss +480 -0
- data/_sass/themes/bevel-theme/theme.scss +13 -0
- data/_sass/themes/dark-theme/_badges.scss +37 -0
- data/_sass/themes/dark-theme/_brandnav.scss +30 -0
- data/_sass/themes/dark-theme/_breadcrumb.scss +17 -0
- data/_sass/themes/dark-theme/_button.scss +86 -0
- data/_sass/themes/dark-theme/_checkbox.scss +9 -0
- data/_sass/themes/dark-theme/_content-list.scss +40 -0
- data/_sass/themes/dark-theme/_forms.scss +107 -0
- data/_sass/themes/dark-theme/_images.scss +30 -0
- data/_sass/themes/dark-theme/_mixins.scss +67 -0
- data/_sass/themes/dark-theme/_modal.scss +9 -0
- data/_sass/themes/dark-theme/_navbar.scss +15 -0
- data/_sass/themes/dark-theme/_notifications.scss +94 -0
- data/_sass/themes/dark-theme/_pager.scss +46 -0
- data/_sass/themes/dark-theme/_pagination.scss +81 -0
- data/_sass/themes/dark-theme/_qtip.scss +8 -0
- data/_sass/themes/dark-theme/_radio.scss +9 -0
- data/_sass/themes/dark-theme/_scaffolding.scss +29 -0
- data/_sass/themes/dark-theme/_select.scss +93 -0
- data/_sass/themes/dark-theme/_tables.scss +57 -0
- data/_sass/themes/dark-theme/_type.scss +70 -0
- data/_sass/themes/dark-theme/_variables.scss +171 -0
- data/_sass/themes/dark-theme/theme.scss +36 -0
- data/_sass/themes/debug-theme/theme.scss +415 -0
- metadata +179 -0
data/_sass/_radio.scss
ADDED
@@ -0,0 +1,122 @@
|
|
1
|
+
//
|
2
|
+
// Radio - JS
|
3
|
+
// ----------------------------------------
|
4
|
+
|
5
|
+
.form-radio-js {
|
6
|
+
width: 22px;
|
7
|
+
height: 22px;
|
8
|
+
font-size: 24px;
|
9
|
+
padding: 0;
|
10
|
+
border: 0;
|
11
|
+
background-color: $radio-bgr-color;
|
12
|
+
border-radius: 50%;
|
13
|
+
font-family: 'TeleIconUi';
|
14
|
+
line-height: 1px;
|
15
|
+
position: relative;
|
16
|
+
@include user-select(none);
|
17
|
+
@include transition(all $transition-time-out $transition-function);
|
18
|
+
|
19
|
+
&.focus,
|
20
|
+
&:focus {
|
21
|
+
outline: 0;
|
22
|
+
}
|
23
|
+
|
24
|
+
&.focus { // since we simulate the focus behavior, we need a real class
|
25
|
+
background-color: hsv-darken($radio-bgr-color, 21%, true);
|
26
|
+
}
|
27
|
+
|
28
|
+
&.hover,
|
29
|
+
&:hover {
|
30
|
+
background-color: hsv-darken($radio-bgr-color, 7%, true);
|
31
|
+
@include transition($transition-time-in, '-duration');
|
32
|
+
}
|
33
|
+
|
34
|
+
&.active,
|
35
|
+
&:active {
|
36
|
+
background-color: hsv-darken($radio-bgr-color, 15%, true);
|
37
|
+
}
|
38
|
+
|
39
|
+
// outline
|
40
|
+
> .border {
|
41
|
+
color: $radio-border-color;
|
42
|
+
position: absolute;
|
43
|
+
top: 9px;
|
44
|
+
left: -1px;
|
45
|
+
|
46
|
+
&:before {
|
47
|
+
content: 'C';
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
> .check {
|
52
|
+
font-size: 24px;
|
53
|
+
position: absolute;
|
54
|
+
top: 9px;
|
55
|
+
left: -1px;
|
56
|
+
color: $radio-check-color;
|
57
|
+
|
58
|
+
&:before {
|
59
|
+
content: '';
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
&.checked > .check:before {
|
64
|
+
content: 'D';
|
65
|
+
}
|
66
|
+
|
67
|
+
fieldset[disabled] &,
|
68
|
+
&[disabled],
|
69
|
+
&.disabled {
|
70
|
+
cursor: not-allowed;
|
71
|
+
background-color: $radio-disabled-bgr-color;
|
72
|
+
|
73
|
+
> .border:before {
|
74
|
+
color: $radio-disabled-border-color;
|
75
|
+
}
|
76
|
+
|
77
|
+
> .check:before {
|
78
|
+
color: $radio-disabled-check-color;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
.form-radio-set & {
|
83
|
+
vertical-align: middle;
|
84
|
+
float: left;
|
85
|
+
margin-left: -36px;
|
86
|
+
margin-right: 12px;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
// <= IE8
|
91
|
+
|
92
|
+
.lte-ie8 {
|
93
|
+
.form-radio-js {
|
94
|
+
background-color: transparent !important;
|
95
|
+
background-repeat: no-repeat;
|
96
|
+
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAAYCAYAAAAxkDmIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDozNzdDRDJBNDk3RTFFMzExODA1Q0VBNjZFMjk1MzI2MiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxODZGRDVCRkUxQTcxMUUzQTBCRkM0RUQzNUQwMDFCRiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxODZGRDVCRUUxQTcxMUUzQTBCRkM0RUQzNUQwMDFCRiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1LjEgV2luZG93cyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjM4N0NEMkE0OTdFMUUzMTE4MDVDRUE2NkUyOTUzMjYyIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjM3N0NEMkE0OTdFMUUzMTE4MDVDRUE2NkUyOTUzMjYyIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+JE+ciQAAAjVJREFUeNrsms1Kw0AUhadpl4KrglAQFMTiSvAFiiAIgsWFm3bpA9gnUHyALnyAbty6EApSQfANBFeiCHZVEEILBbcFz+ANxKGTv87tgNwDpw2h+ZJyksmdn9J4PFYJqsEn8BFchXdp/wscwvfwHTyad/BkMlEpWogfhiErfzqdsvIbjQYrX6tkCXgNvoLP4HLKRczgHnwJf2UM2Ak/IWAn/ISAnfATAnbCtwV8CN/CKyqfvuFT+CElYGd8S8DO+JaAnfEtATvjawXGj87hQQG4omMGxLBJ+EvmxwM+hrtqcXWJZUr4HvhB7GV+k6G9z6IysWpGsSB8D/wo4At4VbnTKjGV8P3ydZG1ju9PR3ePWd1tUqHFxqdCi41PhRYbnwotNn4FHy0GeNRUtGLbwvfA1wEfKD7tM1288DPydcDbjCfYUbwSfgq/QkNgXKoy/wHhp/ADJfrX0gGHjPxQ+H75uol+NzrdLvVKRYTwPfH1E/zIeAc9Cd8vXw90bGDjg6mjvUUDHWx8Guhg49NABxufBjrY+PoJHqrf+UTX6iHcIScf4bLyES4rH+Gy8jU7mg/W74A3VWyaap703GQdAUcrDVj4CJiVj4BZ+QiYlQ+Pom6SPlHb4d3TVn+XkQjfEz/eD+7DHQfwDrFMCd8D3xzouIab9IgXaRaaxLBJ+EvmB5Y7qU4v6VnGaq1Hx/Qz/F74S+SXci6b3aP9z4pn2WwufoFls7n4BZbN5uIXWDabi6/1I8AAeDZjVOQRAs0AAAAASUVORK5CYII=');
|
97
|
+
|
98
|
+
&.focus,
|
99
|
+
&:focus {
|
100
|
+
background-position: -72px 0;
|
101
|
+
}
|
102
|
+
|
103
|
+
&.hover,
|
104
|
+
&:hover {
|
105
|
+
background-position: -24px 0;
|
106
|
+
}
|
107
|
+
|
108
|
+
&.active,
|
109
|
+
&:active {
|
110
|
+
background-position: -47px 1px; // -48px 0 -3d click fx ie
|
111
|
+
}
|
112
|
+
|
113
|
+
&[disabled],
|
114
|
+
&.disabled {
|
115
|
+
background-position: -96px 0;
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
.lte-ie8 fieldset[disabled] .form-radio-js {
|
121
|
+
background-position: -96px 0;
|
122
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
//
|
2
|
+
// Common HTML Scaffolding
|
3
|
+
// ----------------------------------------
|
4
|
+
|
5
|
+
// reset box sizing to border box to enable better percentage use..
|
6
|
+
* {
|
7
|
+
@include box-sizing(border-box);
|
8
|
+
}
|
9
|
+
|
10
|
+
*:before,
|
11
|
+
*:after {
|
12
|
+
@include box-sizing(border-box);
|
13
|
+
}
|
14
|
+
|
15
|
+
// for components, debugging and extensions
|
16
|
+
.t-html-cc-ver {
|
17
|
+
content: $version;
|
18
|
+
}
|
19
|
+
|
20
|
+
// reset html
|
21
|
+
html {
|
22
|
+
font-size: 62.5%; // reset browser font size to 1em = 10px
|
23
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); // reset ios tab color
|
24
|
+
}
|
25
|
+
|
26
|
+
// set typo basics for all components
|
27
|
+
body {
|
28
|
+
color: $font-color-regular;
|
29
|
+
font-family: $font-family-regular;
|
30
|
+
font-size: $font-size-regular;
|
31
|
+
line-height: $line-height-regular;
|
32
|
+
}
|
33
|
+
|
34
|
+
// link definitions
|
35
|
+
a {
|
36
|
+
color: $font-color-link;
|
37
|
+
text-decoration: none;
|
38
|
+
|
39
|
+
&:focus { color: $font-color-link-focus; text-decoration: underline; @include tab-focus(); }
|
40
|
+
&:hover { color: $font-color-link-hover; text-decoration: underline; }
|
41
|
+
&:active { color: $font-color-link-active; }
|
42
|
+
}
|
43
|
+
|
44
|
+
hr {
|
45
|
+
margin-top: $line-height-extracted;
|
46
|
+
margin-bottom: $line-height-extracted;
|
47
|
+
border: 0;
|
48
|
+
border-top: 1px solid $hr-border-color;
|
49
|
+
}
|
50
|
+
|
51
|
+
.img-responsive {
|
52
|
+
display: block;
|
53
|
+
max-width: 100%;
|
54
|
+
height: auto;
|
55
|
+
}
|
56
|
+
|
57
|
+
.img-responsive-vertical {
|
58
|
+
display: block;
|
59
|
+
max-height: 100%;
|
60
|
+
width: auto;
|
61
|
+
}
|
data/_sass/_search.md
ADDED
File without changes
|
data/_sass/_search.scss
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
//
|
2
|
+
// Search
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
.search {
|
6
|
+
display: none;
|
7
|
+
&.in { display: block; }
|
8
|
+
}
|
9
|
+
|
10
|
+
.search-form-set {
|
11
|
+
position: relative;
|
12
|
+
|
13
|
+
.form-input {
|
14
|
+
padding-right: 29px;
|
15
|
+
|
16
|
+
&::-ms-clear {
|
17
|
+
display: none;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.input-group {
|
22
|
+
overflow: hidden;
|
23
|
+
}
|
24
|
+
|
25
|
+
.cancel {
|
26
|
+
position: absolute;
|
27
|
+
right: 8px;
|
28
|
+
top: 7px;
|
29
|
+
width: 20px;
|
30
|
+
height: 20px;
|
31
|
+
text-align: center;
|
32
|
+
line-height: 20px;
|
33
|
+
font-size: 18px;
|
34
|
+
overflow: hidden;
|
35
|
+
z-index: 1; // set z-index at least to 1
|
36
|
+
|
37
|
+
&:hover,
|
38
|
+
&:focus {
|
39
|
+
text-decoration: none;
|
40
|
+
cursor: pointer;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
button.cancel {
|
45
|
+
padding: 0;
|
46
|
+
cursor: pointer;
|
47
|
+
background: transparent;
|
48
|
+
border: 0;
|
49
|
+
-webkit-appearance: none;
|
50
|
+
}
|
51
|
+
|
52
|
+
&.in .cancel {
|
53
|
+
display: block;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
.search-results {
|
58
|
+
position: absolute;
|
59
|
+
width: 100%;
|
60
|
+
top: 100%;
|
61
|
+
left: 0;
|
62
|
+
z-index: 1;
|
63
|
+
background-color: #fff;
|
64
|
+
overflow: hidden;
|
65
|
+
margin-top: 4px;
|
66
|
+
border-radius: 3px;
|
67
|
+
border: 1px solid $color-border;
|
68
|
+
display: none;
|
69
|
+
|
70
|
+
> ul {
|
71
|
+
list-style: none;
|
72
|
+
margin: 0;
|
73
|
+
padding-left: 0;
|
74
|
+
|
75
|
+
> li {
|
76
|
+
min-height: building-units(4);
|
77
|
+
font-size: $font-size-regular;
|
78
|
+
padding: (capline-bu(1.5, $font-size-regular) - 2px) 12px (baseline-bu(1.5, $font-size-regular) - 1px);
|
79
|
+
|
80
|
+
&.hover,
|
81
|
+
&:hover {
|
82
|
+
background-color: hsv-darken(#fff, 7%, true);
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
.has-results & {
|
88
|
+
display: block;
|
89
|
+
}
|
90
|
+
}
|
data/_sass/_select.md
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
# Select
|
2
|
+
|
3
|
+
<div class="tc-example" role="application">
|
4
|
+
<form>
|
5
|
+
<fieldset class="form-fieldset">
|
6
|
+
<legend>Gruppen Beschriftung</legend>
|
7
|
+
<div class="form-input-set">
|
8
|
+
<label for="selectbox" title="Primäroptionen Auswahlliste">Selectbox</label>
|
9
|
+
<select name="select" id="selectbox" class="form-select">
|
10
|
+
<option value="opt1">Option A</option>
|
11
|
+
<option value="opt2" selected>Option B</option>
|
12
|
+
<option value="opt3">Option C</option>
|
13
|
+
<option value="opt4" disabled>Option D (inaktiv)</option>
|
14
|
+
</select>
|
15
|
+
</div>
|
16
|
+
<div class="form-input-set">
|
17
|
+
<label for="selectbox2" title="Sekundäroptionen Auswahlliste">Selectbox ( inaktiv )</label>
|
18
|
+
<select name="select2" id="selectbox2" class="form-select" disabled>
|
19
|
+
<option value="opt1">Option A</option>
|
20
|
+
<option value="opt2">Option B</option>
|
21
|
+
<option value="opt3">Option C</option>
|
22
|
+
<option value="opt4" disabled>Option D (inaktiv)</option>
|
23
|
+
</select>
|
24
|
+
</div>
|
25
|
+
</fieldset>
|
26
|
+
<button type="submit" class="sr-only">senden</button>
|
27
|
+
</form>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
```html
|
31
|
+
<!-- Selectbox -->
|
32
|
+
<div class="form-input-set">
|
33
|
+
<label for="selectbox" title="Primäroptionen Auswahlliste">Selectbox</label>
|
34
|
+
<select name="select" id="selectbox" class="form-select">
|
35
|
+
<option value="opt1">Option A</option>
|
36
|
+
<option value="opt2" selected>Option B</option>
|
37
|
+
<option value="opt3">Option C</option>
|
38
|
+
<option value="opt4" disabled>Option D (inaktiv)</option>
|
39
|
+
</select>
|
40
|
+
</div>
|
41
|
+
|
42
|
+
<!-- Selectbox (inaktiv) -->
|
43
|
+
<div class="form-input-set">
|
44
|
+
<label for="selectbox2" title="Sekundäroptionen Auswahlliste">Selectbox ( inaktiv )</label>
|
45
|
+
<select name="select2" id="selectbox2" class="form-select" disabled>
|
46
|
+
<option value="opt1">Option eins</option>
|
47
|
+
<option value="opt2">Option zwei</option>
|
48
|
+
<option value="opt3">Option drei</option>
|
49
|
+
<option value="opt4" disabled>Option vier (inaktiv)</option>
|
50
|
+
</select>
|
51
|
+
</div>
|
52
|
+
```
|
53
|
+
|
54
|
+
Nähere Informationen zu Accessibility von Eingabe-Elementen im Artikel:
|
55
|
+
[SEO und Accessibility](accessibility.html#aria)
|
data/_sass/_select.scss
ADDED
@@ -0,0 +1,146 @@
|
|
1
|
+
//
|
2
|
+
// Select - JS
|
3
|
+
// ----------------------------------------
|
4
|
+
|
5
|
+
.form-select-js {
|
6
|
+
position: relative;
|
7
|
+
cursor: default;
|
8
|
+
font-size: $font-size-regular; // prevent font-size inherit in other modules / scopes
|
9
|
+
line-height: $line-height-regular; // set line height since it was resetted by normalize
|
10
|
+
|
11
|
+
.form-select-js-choice {
|
12
|
+
background-color: $select-bgr-color;
|
13
|
+
border: 1px solid $select-border-color;
|
14
|
+
border-radius: $input-border-radius;
|
15
|
+
color: $select-font-color;
|
16
|
+
display: block;
|
17
|
+
padding: $input-padding;
|
18
|
+
padding-right: 35px;
|
19
|
+
width: 100%;
|
20
|
+
text-decoration: none;
|
21
|
+
-webkit-appearance: none;
|
22
|
+
text-align: left;
|
23
|
+
@include transition(all $transition-time-out $transition-function);
|
24
|
+
|
25
|
+
&:before { // caret
|
26
|
+
content: 'd';
|
27
|
+
float: right;
|
28
|
+
font-family: 'TeleIconUi';
|
29
|
+
font-size: 24px;
|
30
|
+
line-height: 1px;
|
31
|
+
margin-top: 10px;
|
32
|
+
margin-right: -29px;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
&.focus .form-select-js-choice ,
|
37
|
+
&:focus .form-select-js-choice {
|
38
|
+
border-color: hsv-darken($select-border-color, 21%, true);
|
39
|
+
background-color: hsv-darken($select-bgr-color, 21%, true);
|
40
|
+
outline: 0;
|
41
|
+
}
|
42
|
+
|
43
|
+
&.hover .form-select-js-choice ,
|
44
|
+
&:hover .form-select-js-choice {
|
45
|
+
border-color: hsv-darken($select-border-color, 7%, true);
|
46
|
+
background-color: hsv-darken($select-bgr-color, 7%, true);
|
47
|
+
@include transition($transition-time-in, '-duration');
|
48
|
+
}
|
49
|
+
|
50
|
+
&.selected .form-select-js-choice ,
|
51
|
+
&:selected .form-select-js-choice {
|
52
|
+
border-color: hsv-darken($select-border-color, -15%, true);
|
53
|
+
background-color: hsv-darken($select-bgr-color, -15%, true);
|
54
|
+
}
|
55
|
+
|
56
|
+
&.active .form-select-js-choice ,
|
57
|
+
&:active .form-select-js-choice {
|
58
|
+
border-color: hsv-darken($select-border-color, 15%, true);
|
59
|
+
background-color: hsv-darken($select-bgr-color, 15%, true);
|
60
|
+
}
|
61
|
+
|
62
|
+
&[aria-disabled=true] .form-select-js-choice {
|
63
|
+
background-color: $select-disabled-bgr-color;
|
64
|
+
border-color: $select-disabled-border-color;
|
65
|
+
color: $select-disabled-font-color;
|
66
|
+
cursor: not-allowed;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
.form-select-js-option-scroll-wrapper {
|
71
|
+
display: none;
|
72
|
+
position: fixed;
|
73
|
+
background-color: $select-options-bgr-color;
|
74
|
+
border: 1px solid $input-border-color;
|
75
|
+
border-radius: $input-border-radius;
|
76
|
+
margin-top: building-units(1);
|
77
|
+
margin-bottom: building-units(1);
|
78
|
+
z-index: $z-index-select-options;
|
79
|
+
overflow-y: auto;
|
80
|
+
|
81
|
+
.in > & {
|
82
|
+
display: block;
|
83
|
+
}
|
84
|
+
|
85
|
+
.form-select-js-options {
|
86
|
+
margin: 0;
|
87
|
+
padding: 0;
|
88
|
+
list-style: none;
|
89
|
+
|
90
|
+
> li {
|
91
|
+
padding: $select-options-padding;
|
92
|
+
@include transition(all $transition-time-out $transition-function);
|
93
|
+
outline: 0;
|
94
|
+
cursor: pointer;
|
95
|
+
|
96
|
+
&.focus,
|
97
|
+
&:focus {
|
98
|
+
background-color: hsv-darken($select-options-bgr-color, 15%, true);
|
99
|
+
}
|
100
|
+
|
101
|
+
&.hover { // do hover only by javascript to prevent hover after key event
|
102
|
+
background-color: hsv-darken($select-options-bgr-color, 7%, true);
|
103
|
+
@include transition($transition-time-in, '-duration');
|
104
|
+
}
|
105
|
+
|
106
|
+
&.active,
|
107
|
+
&:active {
|
108
|
+
background-color: hsv-darken($select-options-bgr-color, 15%, true);
|
109
|
+
}
|
110
|
+
|
111
|
+
&[aria-disabled=true] {
|
112
|
+
background-color: inherit;
|
113
|
+
color: #eee;
|
114
|
+
cursor: not-allowed;
|
115
|
+
}
|
116
|
+
|
117
|
+
&.selected {
|
118
|
+
background-color: $select-options-active-bgr-color;
|
119
|
+
color: $font-color-regular;
|
120
|
+
|
121
|
+
&.focus,
|
122
|
+
&:focus {
|
123
|
+
background-color: hsv-darken($select-options-active-bgr-color, 15%, true);
|
124
|
+
}
|
125
|
+
|
126
|
+
&.hover { // do hover only by javascript to prevent hover after key event
|
127
|
+
background-color: hsv-darken($select-options-active-bgr-color, 7%, true);
|
128
|
+
}
|
129
|
+
|
130
|
+
&.active,
|
131
|
+
&:active {
|
132
|
+
background-color: hsv-darken($select-options-active-bgr-color, 15%, true);
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
.form-select-js-choice-input {
|
140
|
+
width: 0;
|
141
|
+
position: absolute;
|
142
|
+
outline: 0;
|
143
|
+
background: none;
|
144
|
+
opacity: 0;
|
145
|
+
clip: rect(0, 0, 0, 0);
|
146
|
+
}
|