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
@@ -0,0 +1,70 @@
|
|
1
|
+
//
|
2
|
+
// Headlines
|
3
|
+
// ----------------------------------------
|
4
|
+
|
5
|
+
.dark {
|
6
|
+
|
7
|
+
h1, h2, h3, h4, h5, h6,
|
8
|
+
.h1, .h2, .h3, .h4, .h5, .h6 {
|
9
|
+
|
10
|
+
&.underline, &.cluster {
|
11
|
+
border-color: $heading-border-color;
|
12
|
+
}
|
13
|
+
|
14
|
+
&.cluster {
|
15
|
+
color: $font-color-light;
|
16
|
+
}
|
17
|
+
|
18
|
+
small,
|
19
|
+
.small {
|
20
|
+
color: $font-color-light;
|
21
|
+
}
|
22
|
+
|
23
|
+
}
|
24
|
+
|
25
|
+
dfn,
|
26
|
+
abbr,
|
27
|
+
abbr[title] {
|
28
|
+
background-image: $dfn-background-image;
|
29
|
+
}
|
30
|
+
|
31
|
+
mark {
|
32
|
+
background-color: $marked-bgr-color;
|
33
|
+
color: $marked-font-color;
|
34
|
+
}
|
35
|
+
|
36
|
+
.text-positive { @include emphasis-variant($font-color-positive); }
|
37
|
+
.text-warning { @include emphasis-variant($font-color-warning); }
|
38
|
+
.text-negative { @include emphasis-variant($font-color-negative); }
|
39
|
+
.text-brand { @include emphasis-variant($font-color-brand); }
|
40
|
+
.text-inactive { @include emphasis-variant($font-color-inactive, true); }
|
41
|
+
|
42
|
+
//
|
43
|
+
// Lists
|
44
|
+
// ----------------------------------------
|
45
|
+
|
46
|
+
|
47
|
+
.list-unordered-brand > li:before {
|
48
|
+
color: $font-color-brand;
|
49
|
+
}
|
50
|
+
|
51
|
+
.list-ordered-brand > li:before {
|
52
|
+
color: $font-color-brand;
|
53
|
+
}
|
54
|
+
|
55
|
+
//
|
56
|
+
// Blockquote
|
57
|
+
// ----------------------------------------
|
58
|
+
|
59
|
+
.figure {
|
60
|
+
border-left: $quote-figure-border-left;
|
61
|
+
}
|
62
|
+
|
63
|
+
|
64
|
+
.quote-list {
|
65
|
+
.quote-list-item {
|
66
|
+
border-left: $quote-figure-border-left;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
}
|
@@ -0,0 +1,171 @@
|
|
1
|
+
//
|
2
|
+
// Components Variables and Settings - Dark
|
3
|
+
// ----------------------------------------
|
4
|
+
|
5
|
+
////// Scaffolding //////
|
6
|
+
$background-color-regular: #262626; // used for transparency calculations
|
7
|
+
|
8
|
+
////// Colors //////
|
9
|
+
$color-bright: #fff;
|
10
|
+
$color-dark: #383838;
|
11
|
+
|
12
|
+
$color-positive: #6bb32d;
|
13
|
+
$color-warning: #dbad39;
|
14
|
+
$color-negative: #d90000;
|
15
|
+
$color-brand: #e20074;
|
16
|
+
$color-inactive: #d0d0d0;
|
17
|
+
$color-function: #0ca1dc;
|
18
|
+
$color-highlight: #ff0;
|
19
|
+
|
20
|
+
$color-border: #858585;
|
21
|
+
$color-border-bright: #5c5c5c;
|
22
|
+
|
23
|
+
$color-element-background: #383838;
|
24
|
+
$color-element-border: #737373;
|
25
|
+
$color-element-divider: #858585;
|
26
|
+
|
27
|
+
|
28
|
+
$font-color-regular: $color-bright;
|
29
|
+
$font-color-light: #a3a3a3;
|
30
|
+
$font-color-dark: $color-dark;
|
31
|
+
|
32
|
+
$font-color-positive: $color-positive;
|
33
|
+
$font-color-warning: $color-warning;
|
34
|
+
$font-color-negative: $color-negative;
|
35
|
+
$font-color-brand: $color-brand;
|
36
|
+
$font-color-inactive: hsv-lighten($background-color-regular, 10%, true);
|
37
|
+
|
38
|
+
$font-color-link: #31c3f7;
|
39
|
+
$font-color-link-hover: hsv-darken($font-color-link, 7%, true); // -7%
|
40
|
+
$font-color-link-active: hsv-darken($font-color-link, 15%, true); // -15%
|
41
|
+
$font-color-link-focus: hsv-darken($font-color-link, 21%, true); // -21%
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
//////Heading/////
|
46
|
+
|
47
|
+
$heading-border-color: $color-element-divider;
|
48
|
+
|
49
|
+
////// Mark //////
|
50
|
+
$marked-font-color: $font-color-dark;
|
51
|
+
$marked-bgr-color: $color-highlight;
|
52
|
+
|
53
|
+
|
54
|
+
////// Quotes //////
|
55
|
+
$quote-figure-border-left: 1px solid $color-border-bright;
|
56
|
+
|
57
|
+
////// Tables //////
|
58
|
+
|
59
|
+
$table-row-border-bottom: 1px solid $color-border-bright;
|
60
|
+
|
61
|
+
$table-header-border-bottom: 1px solid $color-border;
|
62
|
+
$table-footer-border-top: 1px double $color-border; // double wins over solid from $table-row-border-bottom
|
63
|
+
$table-footer-border-bottom: 1px solid $color-border;
|
64
|
+
|
65
|
+
$table-font-color-hover: hsv-darken($font-color-regular, 7%, true);
|
66
|
+
|
67
|
+
$table-font-color-positive: hsv-darken($font-color-positive, 10%, true);
|
68
|
+
$table-font-color-warning: hsv-darken($font-color-warning , 10%, true);
|
69
|
+
$table-font-color-negative: hsv-darken($font-color-negative, 10%, true);
|
70
|
+
$table-font-color-brand: $color-bright;
|
71
|
+
$table-font-color-inactive: $font-color-inactive;
|
72
|
+
|
73
|
+
$table-bgr-color-hover: hsv-lighten($background-color-regular, 12%, true);
|
74
|
+
|
75
|
+
$table-bgr-color-positive: $color-positive;
|
76
|
+
$table-bgr-color-warning: $color-warning;
|
77
|
+
$table-bgr-color-negative: $color-negative;
|
78
|
+
$table-bgr-color-brand: $color-brand; // brand has no fallback
|
79
|
+
$table-bgr-color-inactive: transparent; // inactive has no fallback
|
80
|
+
|
81
|
+
$table-bgr-color-alpha: .05;
|
82
|
+
$table-bgr-color-hover-alpha: .2;
|
83
|
+
|
84
|
+
$table-gray-odd-bgr-color: hsv-darken($background-color-regular, -5%, true);
|
85
|
+
$table-gray-odd-font-color: $font-color-regular;
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
////// Forms //////
|
91
|
+
$input-bgr-color: $color-bright;
|
92
|
+
$input-border-color: $color-bright;
|
93
|
+
|
94
|
+
$input-border-color-positive: hsv-darken($color-positive, -15, true);
|
95
|
+
$input-border-color-warning: hsv-darken($color-warning, 0, true);
|
96
|
+
$input-border-color-negative: hsv-darken($color-negative, 0, true);
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
////// Checkboxes | JS //////
|
101
|
+
$checkbox-border-color: $color-element-border;
|
102
|
+
|
103
|
+
////// Radios | JS //////
|
104
|
+
$radio-border-color: $color-element-border;
|
105
|
+
|
106
|
+
////// Selects | JS //////
|
107
|
+
$select-font-color: $font-color-regular;
|
108
|
+
$select-font-color-dropdown: $font-color-dark;
|
109
|
+
$select-border-color: $color-element-border;
|
110
|
+
$select-bgr-color: $color-element-background;
|
111
|
+
|
112
|
+
$select-disabled-font-color: hsv-darken($select-font-color, 50%, true);
|
113
|
+
$select-disabled-border-color: hsv-darken($select-border-color, 14%, true);
|
114
|
+
$select-disabled-bgr-color: hsv-darken($select-bgr-color, 5%, true);
|
115
|
+
|
116
|
+
$select-options-bgr-color: $color-bright;
|
117
|
+
$select-options-active-bgr-color: hsv-darken($select-options-bgr-color, 15%, true);
|
118
|
+
|
119
|
+
////// Buttons //////
|
120
|
+
$button-border-color-positive: hsv-darken($color-positive, 32%, true);
|
121
|
+
$button-border-color-function: hsv-darken($color-function, 32%, true);
|
122
|
+
$button-border-color-negative: hsv-darken($color-negative, 32%, true);
|
123
|
+
$button-border-color-brand: #e3bacf; // special color
|
124
|
+
|
125
|
+
|
126
|
+
////// Content-Lists //////
|
127
|
+
$cl-element-bgr-color-focus: hsv-lighten($background-color-regular, 21%, true);
|
128
|
+
$cl-element-bgr-color-hover: hsv-lighten($background-color-regular, 7%, true);
|
129
|
+
$cl-element-bgr-color-active: hsv-lighten($background-color-regular, 15%, true);
|
130
|
+
|
131
|
+
$cl-element-font-color-brand: $color-bright;
|
132
|
+
$cl-element-bgr-color-brand: $color-brand;
|
133
|
+
|
134
|
+
////// Pager //////
|
135
|
+
$pager-text-color: $font-color-regular;
|
136
|
+
$pager-border-color: $color-element-border;
|
137
|
+
$pager-background-color: $background-color-regular;
|
138
|
+
|
139
|
+
$pager-disabled-text-color: hsv-darken($pager-text-color, 50%, true);
|
140
|
+
$pager-disabled-border-color: hsv-darken($pager-border-color, 14%, true);
|
141
|
+
$pager-disabled-bgr-color: hsv-lighten($pager-background-color, 5%, true);
|
142
|
+
|
143
|
+
////// Breadcrumb //////
|
144
|
+
$breadcrumb-color: #757575;
|
145
|
+
|
146
|
+
////// Pagination //////
|
147
|
+
|
148
|
+
$pagination-bgr-color: $color-element-background;
|
149
|
+
$pagination-border-color: $color-element-border;
|
150
|
+
|
151
|
+
$pagination-active-bgr-color: $color-brand;
|
152
|
+
$pagination-active-border-color: $pagination-active-bgr-color;
|
153
|
+
|
154
|
+
$pagination-disabled-bgr-color: $pagination-bgr-color;
|
155
|
+
$pagination-disabled-border-color: hsv-darken($pagination-border-color, 15%, true);
|
156
|
+
|
157
|
+
|
158
|
+
////// Badges //////
|
159
|
+
$badges-bgr-color: $color-bright;
|
160
|
+
$badges-bgr-color-positive: $color-positive;
|
161
|
+
$badges-bgr-color-warning: $color-warning;
|
162
|
+
$badges-bgr-color-negative: $color-negative;
|
163
|
+
$badges-bgr-color-function: $color-function;
|
164
|
+
$badges-bgr-color-brand: $color-brand;
|
165
|
+
$badges-bgr-color-dark: $color-element-background;
|
166
|
+
$badges-font-color-normal: $color-dark;
|
167
|
+
$badges-font-color-bright: $font-color-regular;
|
168
|
+
|
169
|
+
|
170
|
+
////// Modal //////
|
171
|
+
$modal-content-bgr: $color-dark;
|
@@ -0,0 +1,36 @@
|
|
1
|
+
// Core functions
|
2
|
+
@import '../../functions';
|
3
|
+
|
4
|
+
// Core variables and mixins
|
5
|
+
@import '../../variables';
|
6
|
+
@import '../../mixins';
|
7
|
+
|
8
|
+
@import 'variables';
|
9
|
+
@import 'mixins';
|
10
|
+
|
11
|
+
// Reset + Scaffolding
|
12
|
+
@import 'scaffolding';
|
13
|
+
|
14
|
+
// Basic css
|
15
|
+
@import 'type';
|
16
|
+
@import 'images';
|
17
|
+
@import 'tables';
|
18
|
+
@import 'button';
|
19
|
+
@import 'forms';
|
20
|
+
|
21
|
+
// Components
|
22
|
+
@import 'content-list';
|
23
|
+
@import 'navbar';
|
24
|
+
@import 'brandnav';
|
25
|
+
@import 'breadcrumb';
|
26
|
+
@import 'pagination';
|
27
|
+
@import 'badges';
|
28
|
+
@import 'modal';
|
29
|
+
@import 'notifications';
|
30
|
+
@import 'pager';
|
31
|
+
|
32
|
+
// Components with JavaScript
|
33
|
+
@import 'checkbox';
|
34
|
+
@import 'radio';
|
35
|
+
@import 'select';
|
36
|
+
@import 'qtip';
|
@@ -0,0 +1,415 @@
|
|
1
|
+
// black alpha = 90%
|
2
|
+
// background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAE0lEQVQIW2NkYGB4BsQogJEGggAKvQSEMnZimwAAAABJRU5ErkJggg==) repeat;
|
3
|
+
// black alpha = 70%
|
4
|
+
// background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAE0lEQVQIW2NkYGDYDMQogJEGggDP6QOF2TXaEQAAAABJRU5ErkJggg==) repeat;
|
5
|
+
// black alpha = 50%
|
6
|
+
// background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAE0lEQVQIW2NkYGCoB2IUwEgDQQCT/QKB/1JzRQAAAABJRU5ErkJggg==) repeat;
|
7
|
+
|
8
|
+
// Core functions
|
9
|
+
@import '../../functions';
|
10
|
+
|
11
|
+
// Core variables and mixins
|
12
|
+
@import '../../variables';
|
13
|
+
@import '../../mixins';
|
14
|
+
|
15
|
+
// The Grid
|
16
|
+
@import '../../grid';
|
17
|
+
|
18
|
+
@if $compile-grid {
|
19
|
+
@include grid-debug();
|
20
|
+
|
21
|
+
}
|
22
|
+
|
23
|
+
.debug-cross-section {
|
24
|
+
.container-fixed,
|
25
|
+
.container-liquid,
|
26
|
+
&.container-fixed,
|
27
|
+
&.container-liquid {
|
28
|
+
background: url('../images/bu-cross-section.png');
|
29
|
+
background-size: building-units(2) building-units(2);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
.debug-bu-overlay {
|
34
|
+
background-size: building-units(2) building-units(2);
|
35
|
+
position: absolute;
|
36
|
+
z-index: 99997;
|
37
|
+
top: 0;
|
38
|
+
left: 0;
|
39
|
+
right: 0;
|
40
|
+
pointer-events: none;
|
41
|
+
background: url('../images/bu-cross-section-alpha.png');
|
42
|
+
opacity: .25;
|
43
|
+
}
|
44
|
+
|
45
|
+
debug {
|
46
|
+
.media-frame,
|
47
|
+
&.media-frame {
|
48
|
+
background: #ddf;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
// scss-lint:disable IdSelector
|
53
|
+
#debug-thingy {
|
54
|
+
position: fixed;
|
55
|
+
display: block;
|
56
|
+
|
57
|
+
// black alpha = 70%
|
58
|
+
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAE0lEQVQIW2NkYGDYDMQogJEGggDP6QOF2TXaEQAAAABJRU5ErkJggg==') repeat;
|
59
|
+
border: 1px solid #000;
|
60
|
+
border-color: rgba(0, 0, 0, .2);
|
61
|
+
top: 12px;
|
62
|
+
right: 12px;
|
63
|
+
padding: 12px;
|
64
|
+
border-radius: 6px;
|
65
|
+
font-size: .75em;
|
66
|
+
color: #fff;
|
67
|
+
z-index: 99999;
|
68
|
+
min-width: 100px;
|
69
|
+
|
70
|
+
.fa {
|
71
|
+
display: inline-block;
|
72
|
+
width: 16px;
|
73
|
+
}
|
74
|
+
|
75
|
+
.color-swatch {
|
76
|
+
display: inline-table;
|
77
|
+
width: building-units(2);
|
78
|
+
height: building-units(2);
|
79
|
+
border: 2px solid rgba(0, 0, 0, 0);
|
80
|
+
background-color: rgba(0, 0, 0, 0);
|
81
|
+
margin: 7px 0;
|
82
|
+
|
83
|
+
outline: inset 1px #ccc;
|
84
|
+
|
85
|
+
.fa {
|
86
|
+
display: table-cell;
|
87
|
+
width: 100%;
|
88
|
+
height: 100%;
|
89
|
+
vertical-align: middle;
|
90
|
+
text-align: center;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
#debug-thingy .size-info {
|
96
|
+
font-size: 10px;
|
97
|
+
}
|
98
|
+
|
99
|
+
#debug-thingy .icon-cancel {
|
100
|
+
position: absolute;
|
101
|
+
top: 2px;
|
102
|
+
right: 2px;
|
103
|
+
font-size: 8px;
|
104
|
+
}
|
105
|
+
|
106
|
+
#debug-thingy .size-o-tron {
|
107
|
+
position: relative;
|
108
|
+
background: #000;
|
109
|
+
width: 100%;
|
110
|
+
height: 2px;
|
111
|
+
margin: 10px 0 20px;
|
112
|
+
cursor: move;
|
113
|
+
}
|
114
|
+
|
115
|
+
.size-o-tron .screensize {
|
116
|
+
position: absolute;
|
117
|
+
left: 0;
|
118
|
+
right: 0;
|
119
|
+
bottom: 0;
|
120
|
+
text-align: center;
|
121
|
+
color: #666;
|
122
|
+
margin-bottom: 0;
|
123
|
+
}
|
124
|
+
|
125
|
+
#debug-thingy .size-o-tron .size-bar {
|
126
|
+
background: #0ca1dc;
|
127
|
+
width: 0;
|
128
|
+
height: 2px;
|
129
|
+
}
|
130
|
+
|
131
|
+
#debug-thingy .size-o-tron .breakpoint {
|
132
|
+
background: #eee;
|
133
|
+
position: absolute;
|
134
|
+
top: 0;
|
135
|
+
left: 0;
|
136
|
+
width: 1px;
|
137
|
+
height: 2px;
|
138
|
+
}
|
139
|
+
// scss-lint:enable IdSelector
|
140
|
+
|
141
|
+
.debug-breakpoint-thingy {
|
142
|
+
position: fixed;
|
143
|
+
z-index: 99998;
|
144
|
+
top: 0;
|
145
|
+
left: 0;
|
146
|
+
width: 0;
|
147
|
+
height: 100%;
|
148
|
+
border-left: 1px dashed #0ca1dc;
|
149
|
+
border-color: rgba(12, 161, 220, .75);
|
150
|
+
}
|
151
|
+
|
152
|
+
.debug-image-overlay {
|
153
|
+
position: absolute;
|
154
|
+
background-repeat: no-repeat;
|
155
|
+
z-index: 99996;
|
156
|
+
top: 0;
|
157
|
+
left: 0;
|
158
|
+
width: 100%;
|
159
|
+
min-height: 100%;
|
160
|
+
opacity: .25;
|
161
|
+
pointer-events: none;
|
162
|
+
|
163
|
+
&.fixed {
|
164
|
+
position: fixed;
|
165
|
+
}
|
166
|
+
|
167
|
+
&.align-left {
|
168
|
+
background-position: top left;
|
169
|
+
text-align: left;
|
170
|
+
}
|
171
|
+
|
172
|
+
&.align-center {
|
173
|
+
background-position: top center;
|
174
|
+
text-align: center;
|
175
|
+
}
|
176
|
+
|
177
|
+
&.align-right {
|
178
|
+
background-position: top right;
|
179
|
+
text-align: right;
|
180
|
+
}
|
181
|
+
|
182
|
+
|
183
|
+
// results in a 50% grey, if html and overlay are equal.
|
184
|
+
// contrasts though aren't as good as with mixed-blend-mode
|
185
|
+
&.inverted {
|
186
|
+
opacity: .5;
|
187
|
+
// most prefixes not supported today, but it won't hurt and the time may come.
|
188
|
+
-webkit-filter: invert(100%);
|
189
|
+
-moz-filter: invert(100%);
|
190
|
+
-o-filter: invert(100%);
|
191
|
+
-ms-filter: invert(100%);
|
192
|
+
filter: invert(100%);
|
193
|
+
}
|
194
|
+
|
195
|
+
|
196
|
+
// Currently only enabled in Chrome through the "experimental Web Platform features" flag in chrome://flags
|
197
|
+
// Will be featured in Safari 8 and Firefox 32
|
198
|
+
|
199
|
+
&.mixed {
|
200
|
+
opacity: 1;
|
201
|
+
// prefixes not supported today, but it won't hurt and the time may come.
|
202
|
+
-webkit-mix-blend-mode: difference;
|
203
|
+
-moz-mix-blend-mode: difference;
|
204
|
+
-o-mix-blend-mode: difference;
|
205
|
+
-ms-mix-blend-mode: difference;
|
206
|
+
mix-blend-mode: difference;
|
207
|
+
}
|
208
|
+
}
|
209
|
+
|
210
|
+
.debug-breakpoint-thingy:before,
|
211
|
+
.debug-breakpoint-thingy:after {
|
212
|
+
content: ' ';
|
213
|
+
// black alpha = 50%
|
214
|
+
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAE0lEQVQIW2NkYGCoB2IUwEgDQQCT/QKB/1JzRQAAAABJRU5ErkJggg==') repeat;
|
215
|
+
color: #fff;
|
216
|
+
padding: .1em .3em;
|
217
|
+
}
|
218
|
+
|
219
|
+
.debug-breakpoint-thingy:before {
|
220
|
+
text-align: right;
|
221
|
+
}
|
222
|
+
|
223
|
+
.debug-image-overlay-settings {
|
224
|
+
border-top: 1px solid #ccc;
|
225
|
+
margin: building-units(1) 0 0; //0;
|
226
|
+
padding: building-units(1) 0 0; //0;
|
227
|
+
|
228
|
+
button {
|
229
|
+
background: #000;
|
230
|
+
}
|
231
|
+
|
232
|
+
.debug-col {
|
233
|
+
width: 170px;
|
234
|
+
|
235
|
+
span.icon {
|
236
|
+
display: inline-block;
|
237
|
+
width: 28px;
|
238
|
+
}
|
239
|
+
|
240
|
+
select,
|
241
|
+
input {
|
242
|
+
width: 116px;
|
243
|
+
color: #666;
|
244
|
+
}
|
245
|
+
|
246
|
+
input[type="number"] {
|
247
|
+
width: 40px;
|
248
|
+
}
|
249
|
+
|
250
|
+
input[type="range"] {
|
251
|
+
vertical-align: middle;
|
252
|
+
}
|
253
|
+
}
|
254
|
+
}
|
255
|
+
|
256
|
+
.measure-rect {
|
257
|
+
.measure-rect-background,
|
258
|
+
.measure-rect-thumb,
|
259
|
+
.measure-rect-border {
|
260
|
+
position: fixed;
|
261
|
+
display: block;
|
262
|
+
z-index: 99998;
|
263
|
+
}
|
264
|
+
|
265
|
+
.measure-rect-background {
|
266
|
+
bottom: 0;
|
267
|
+
left: 0;
|
268
|
+
right: 0;
|
269
|
+
top: 0;
|
270
|
+
// black alpha = 70%
|
271
|
+
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAE0lEQVQIW2NkYGDYDMQogJEGggDP6QOF2TXaEQAAAABJRU5ErkJggg==') repeat;
|
272
|
+
}
|
273
|
+
|
274
|
+
.measure-rect-thumb {
|
275
|
+
left: 100px;
|
276
|
+
top: 100px;
|
277
|
+
width: 20px;
|
278
|
+
height: 20px;
|
279
|
+
border: 1px solid #0090c4;
|
280
|
+
// blue alpha = 50%
|
281
|
+
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAE0lEQVQIW2NkmHi0ngENMNJAEAAnuAkvTPFU7wAAAABJRU5ErkJggg==') repeat;
|
282
|
+
|
283
|
+
&.top.left {
|
284
|
+
cursor: nw-resize;
|
285
|
+
}
|
286
|
+
|
287
|
+
&.top.right {
|
288
|
+
cursor: ne-resize;
|
289
|
+
}
|
290
|
+
|
291
|
+
&.bottom.left {
|
292
|
+
cursor: sw-resize;
|
293
|
+
}
|
294
|
+
|
295
|
+
&.bottom.right {
|
296
|
+
cursor: se-resize;
|
297
|
+
}
|
298
|
+
}
|
299
|
+
|
300
|
+
.measure-rect-border {
|
301
|
+
outline: 2px solid #0090c4;
|
302
|
+
cursor: move;
|
303
|
+
}
|
304
|
+
}
|
305
|
+
|
306
|
+
.noselect {
|
307
|
+
-webkit-touch-callout: none;
|
308
|
+
-webkit-user-select: none;
|
309
|
+
-khtml-user-select: none;
|
310
|
+
-moz-user-select: none;
|
311
|
+
-ms-user-select: none;
|
312
|
+
user-select: none;
|
313
|
+
}
|
314
|
+
|
315
|
+
.mouse-move-event-target-dummy {
|
316
|
+
display: block;
|
317
|
+
position: fixed;
|
318
|
+
top: 0;
|
319
|
+
left: 0;
|
320
|
+
right: 0;
|
321
|
+
bottom: 0;
|
322
|
+
min-height: 100%;
|
323
|
+
min-width: 100%;
|
324
|
+
}
|
325
|
+
|
326
|
+
.cursor-crosshair {
|
327
|
+
cursor: crosshair !important;
|
328
|
+
}
|
329
|
+
|
330
|
+
.debug-iframe {
|
331
|
+
position: absolute;
|
332
|
+
top: 0;
|
333
|
+
left: 0;
|
334
|
+
width: 100%;
|
335
|
+
height: 100%;
|
336
|
+
background: #fff;
|
337
|
+
border: 0;
|
338
|
+
box-sizing: border-box;
|
339
|
+
}
|
340
|
+
|
341
|
+
.debug-scroll-pane {
|
342
|
+
position: absolute;
|
343
|
+
top: 20px;
|
344
|
+
left: 20px;
|
345
|
+
right: 20px;
|
346
|
+
bottom: 20px;
|
347
|
+
background: #333;
|
348
|
+
margin: 0;
|
349
|
+
padding: 0;
|
350
|
+
box-sizing: content-box;
|
351
|
+
overflow: auto;
|
352
|
+
}
|
353
|
+
|
354
|
+
.debug-scroll-pane-thumb {
|
355
|
+
position: fixed;
|
356
|
+
background: #fff;
|
357
|
+
margin: 0;
|
358
|
+
padding: 0;
|
359
|
+
width: 20px;
|
360
|
+
height: 20px;
|
361
|
+
border: 2px solid #000;
|
362
|
+
}
|
363
|
+
|
364
|
+
// scss-lint:disable IdSelector
|
365
|
+
#measure-rect-info {
|
366
|
+
display: none;
|
367
|
+
}
|
368
|
+
// scss-lint:enable IdSelector
|
369
|
+
|
370
|
+
.breakpoint-thingy-wrapper {
|
371
|
+
position: relative;
|
372
|
+
width: 100%;
|
373
|
+
height: 100%;
|
374
|
+
background: #f00;
|
375
|
+
}
|
376
|
+
|
377
|
+
.debug-image-overlay-wrapper {
|
378
|
+
overflow: hidden;
|
379
|
+
}
|
380
|
+
|
381
|
+
@include create-emphased-classes($grid-settings-size-exclusive);
|
382
|
+
|
383
|
+
.visible-on,
|
384
|
+
.hidden-on {
|
385
|
+
|
386
|
+
margin-bottom: 12px;
|
387
|
+
|
388
|
+
span {
|
389
|
+
display: block;
|
390
|
+
padding: 10px 12px;
|
391
|
+
text-align: center;
|
392
|
+
border-radius: 4px;
|
393
|
+
}
|
394
|
+
|
395
|
+
.hidden-xs,
|
396
|
+
.hidden-s,
|
397
|
+
.hidden-m,
|
398
|
+
.hidden-l,
|
399
|
+
.hidden-xl {
|
400
|
+
color: #999;
|
401
|
+
border: 1px solid #ddd;
|
402
|
+
background-color: #eee;
|
403
|
+
}
|
404
|
+
|
405
|
+
.visible-xs-block,
|
406
|
+
.visible-s-block,
|
407
|
+
.visible-m-block,
|
408
|
+
.visible-l-block,
|
409
|
+
.visible-xl-block {
|
410
|
+
color: #468847;
|
411
|
+
border: 1px solid #d6e9c6;
|
412
|
+
background-color: #dff0d8;
|
413
|
+
}
|
414
|
+
|
415
|
+
}
|