viniBaxter-desk_front 0.5.0 → 12.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/app/assets/images/desk_front/sidebar-cover.jpg +0 -0
- data/lib/viniBaxter/desk_front/version.rb +1 -1
- data/lib/viniBaxter/sass/desk_front.scss +3 -3
- data/lib/viniBaxter/sass/desk_front/administrate/base/_forms.scss +15 -1
- data/lib/viniBaxter/sass/desk_front/administrate/base/_lists.scss +4 -4
- data/lib/viniBaxter/sass/desk_front/administrate/base/_tables.scss +11 -11
- data/lib/viniBaxter/sass/desk_front/administrate/base/_typography.scss +49 -44
- data/lib/viniBaxter/sass/desk_front/administrate/components/_buttons.scss +51 -51
- data/lib/viniBaxter/sass/desk_front/administrate/components/_cells.scss +2 -1
- data/lib/viniBaxter/sass/desk_front/administrate/components/_form-actions.scss +3 -3
- data/lib/viniBaxter/sass/desk_front/administrate/index.scss +1 -1
- data/lib/viniBaxter/sass/desk_front/administrate/library/_customSelectize.scss +3 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/_index.scss +74 -76
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_buttons.scss +195 -162
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_dropdown.scss +260 -258
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_navbar.scss +472 -473
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_buttons.scss +357 -343
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-bootstrap-select.scss +129 -69
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-datetimepicker.scss +228 -159
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-new-bootstrap-select.scss +534 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_buttons.scss +341 -327
- data/lib/viniBaxter/sass/desk_front/dashkit/_dropdowns.scss +8 -14
- data/lib/viniBaxter/sass/desk_front/landing/_landing.scss +5 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_alert.scss +18 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_aos.scss +32 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_avatar.scss +192 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_badge.scss +95 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_breadcrumb.scss +35 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_button-group.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_buttons.scss +115 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_card.scss +219 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_carousel.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_close.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_code.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_collapse.scss +15 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_custom-forms.scss +65 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_device.scss +103 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_dropdown.scss +106 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_fancybox.scss +14 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_feather.scss +1093 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_flickity.scss +112 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_footer.scss +10 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_forms.scss +92 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_functions.scss +14 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_grid.scss +9 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_highlight.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_icon.scss +56 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_images.scss +32 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_input-group.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_jumbotron.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_list-group.scss +22 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_list.scss +27 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_media.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_mixins.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_modal.scss +21 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_nav.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_navbar.scss +377 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_pagination.scss +34 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_popover.scss +15 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_print.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_progress.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_reboot.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_root.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_screenshot.scss +9 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_section.scss +19 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_shapes.scss +178 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_sidenav.scss +28 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_tables.scss +23 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_theme.scss +57 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_tooltip.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_transitions.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_type.scss +169 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_utilities.scss +15 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/mixins/_badge.scss +16 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/mixins/_buttons.scss +19 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/mixins/_overlay.scss +24 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_background.scss +54 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_borders.scss +76 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_images.scss +35 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_lift.scss +18 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_overlay.scss +49 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_position.scss +41 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_shadows.scss +24 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_sizing.scss +72 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_type.scss +54 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_visibility.scss +12 -0
- metadata +67 -3
- data/app/assets/images/desk_front/sidebar-cover-old.jpg +0 -0
File without changes
|
@@ -0,0 +1,115 @@
|
|
1
|
+
//
|
2
|
+
// buttons.scss
|
3
|
+
// Extended from Bootstrap
|
4
|
+
//
|
5
|
+
|
6
|
+
.btn > img {
|
7
|
+
max-height: 1em;
|
8
|
+
width: auto;
|
9
|
+
}
|
10
|
+
|
11
|
+
.btn:not([class*="btn-outline"]) {
|
12
|
+
border-color: transparent !important;
|
13
|
+
}
|
14
|
+
|
15
|
+
|
16
|
+
// Custom colors
|
17
|
+
|
18
|
+
.btn-white {
|
19
|
+
background-color: $white;
|
20
|
+
color: $primary;
|
21
|
+
|
22
|
+
@include hover-focus {
|
23
|
+
background-color: $white;
|
24
|
+
color: darken($primary, 5%);
|
25
|
+
}
|
26
|
+
|
27
|
+
&.active {
|
28
|
+
background-color: darken($white, 5%);
|
29
|
+
color: darken($primary, 5%);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
.btn-group .btn-white {
|
34
|
+
border-color: $gray-300 !important;
|
35
|
+
color: $text-muted;
|
36
|
+
|
37
|
+
&.active {
|
38
|
+
background-color: darken($white, 5%);
|
39
|
+
color: darken($text-muted, 5%);
|
40
|
+
box-shadow: none;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
.btn-gray-400 {
|
45
|
+
background-color: $gray-400;
|
46
|
+
color: $white;
|
47
|
+
|
48
|
+
@include hover-focus {
|
49
|
+
background-color: darken($gray-400, 5%);
|
50
|
+
color: darken($white, 5%);
|
51
|
+
}
|
52
|
+
|
53
|
+
&.active {
|
54
|
+
background-color: darken($gray-400, 5%);
|
55
|
+
color: darken($white, 5%);
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
.btn-outline-gray-300 {
|
60
|
+
border-color: $gray-300;
|
61
|
+
color: $primary;
|
62
|
+
|
63
|
+
@include hover-focus {
|
64
|
+
background-color: $primary;
|
65
|
+
border-color: $primary;
|
66
|
+
color: $white;
|
67
|
+
}
|
68
|
+
|
69
|
+
&.active {
|
70
|
+
background-color: $primary;
|
71
|
+
border-color: $primary;
|
72
|
+
color: $white;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
|
77
|
+
// Soft variants
|
78
|
+
|
79
|
+
@each $color, $value in $theme-colors {
|
80
|
+
.btn-#{$color}-soft {
|
81
|
+
@include btn-variant-soft(rgba($value, $btn-soft-bg-opacity), $value);
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
|
86
|
+
// Pill
|
87
|
+
|
88
|
+
.btn-pill {
|
89
|
+
border-radius: $rounded-pill;
|
90
|
+
}
|
91
|
+
|
92
|
+
|
93
|
+
// Rounded circle
|
94
|
+
|
95
|
+
.btn-rounded-circle {
|
96
|
+
padding-left: $btn-padding-y;
|
97
|
+
padding-right: $btn-padding-y;
|
98
|
+
border-radius: $rounded-pill;
|
99
|
+
|
100
|
+
> * {
|
101
|
+
display: block;
|
102
|
+
line-height: 1;
|
103
|
+
width: 1em;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
.btn-rounded-circle.btn-lg {
|
108
|
+
padding-left: $btn-padding-y-lg;
|
109
|
+
padding-right: $btn-padding-y-lg;
|
110
|
+
}
|
111
|
+
|
112
|
+
.btn-rounded-circle.btn-sm {
|
113
|
+
padding-left: $btn-padding-y-sm;
|
114
|
+
padding-right: $btn-padding-y-sm;
|
115
|
+
}
|
@@ -0,0 +1,219 @@
|
|
1
|
+
//
|
2
|
+
// card.scss
|
3
|
+
// Extended from Bootstrap
|
4
|
+
//
|
5
|
+
|
6
|
+
// Card resets
|
7
|
+
|
8
|
+
.card {
|
9
|
+
position: relative;
|
10
|
+
width: 100%;
|
11
|
+
}
|
12
|
+
.love-card {
|
13
|
+
font-size: 41px;
|
14
|
+
letter-spacing: 0px;
|
15
|
+
font-weight: 800;
|
16
|
+
font-family: circular;
|
17
|
+
}
|
18
|
+
|
19
|
+
.card-body {
|
20
|
+
display: block;
|
21
|
+
flex-grow: 0;
|
22
|
+
}
|
23
|
+
|
24
|
+
.card-footer {
|
25
|
+
background-color: unset;
|
26
|
+
}
|
27
|
+
|
28
|
+
.card-body,
|
29
|
+
.card-footer,
|
30
|
+
.card-meta,
|
31
|
+
.card-img,
|
32
|
+
.card-img-top,
|
33
|
+
.card-img-left,
|
34
|
+
.card-img-right {
|
35
|
+
position: relative;
|
36
|
+
min-height: 1px;
|
37
|
+
}
|
38
|
+
|
39
|
+
// Card action
|
40
|
+
|
41
|
+
a.card,
|
42
|
+
a.card-body,
|
43
|
+
a.card-footer,
|
44
|
+
a.card-meta {
|
45
|
+
color: inherit;
|
46
|
+
|
47
|
+
@include hover {
|
48
|
+
text-decoration: none;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
// Card flush
|
53
|
+
|
54
|
+
.card-flush {
|
55
|
+
background-color: unset;
|
56
|
+
}
|
57
|
+
|
58
|
+
.card-flush > *:not(.card-btn) {
|
59
|
+
padding-left: 0;
|
60
|
+
padding-right: 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
// Card border
|
64
|
+
|
65
|
+
.card-border {
|
66
|
+
position: relative;
|
67
|
+
}
|
68
|
+
|
69
|
+
.card-border::after {
|
70
|
+
content: '';
|
71
|
+
position: absolute;
|
72
|
+
top: 0;
|
73
|
+
right: 0;
|
74
|
+
width: 100%;
|
75
|
+
border-top-width: $border-width * 2;
|
76
|
+
border-bottom-width: calc(#{$card-border-radius} - #{$border-width * 2});
|
77
|
+
border-top-style: solid;
|
78
|
+
border-bottom-style: solid;
|
79
|
+
border-top-color: inherit;
|
80
|
+
border-bottom-color: transparent;
|
81
|
+
border-top-left-radius: $card-border-radius;
|
82
|
+
border-top-right-radius: $card-border-radius;
|
83
|
+
}
|
84
|
+
|
85
|
+
.card-border-lg::after {
|
86
|
+
border-top-width: $border-width * 3;
|
87
|
+
border-bottom-width: calc(#{$card-border-radius} - #{$border-width * 3});
|
88
|
+
}
|
89
|
+
|
90
|
+
.card-border-xl::after {
|
91
|
+
border-top-width: $border-width * 4;
|
92
|
+
border-bottom-width: calc(#{$card-border-radius} - #{$border-width * 3});
|
93
|
+
}
|
94
|
+
|
95
|
+
// Card row
|
96
|
+
|
97
|
+
.card-row {
|
98
|
+
.card-body {
|
99
|
+
@include media-breakpoint-up(md) {
|
100
|
+
padding: $card-row-spacer-y $card-row-spacer-x;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
.card-meta {
|
105
|
+
@include media-breakpoint-up(md) {
|
106
|
+
padding-left: $card-row-spacer-x;
|
107
|
+
padding-right: $card-row-spacer-x;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
// Card image
|
113
|
+
|
114
|
+
.card-img-right {
|
115
|
+
border-radius: $border-radius $border-radius 0 0;
|
116
|
+
|
117
|
+
@include media-breakpoint-up(md) {
|
118
|
+
border-radius: 0 $border-radius $border-radius 0;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
.card-img-left {
|
123
|
+
border-radius: $border-radius $border-radius 0 0;
|
124
|
+
|
125
|
+
@include media-breakpoint-up(md) {
|
126
|
+
border-radius: $border-radius 0 0 $border-radius;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
130
|
+
// Card image slider
|
131
|
+
|
132
|
+
.card-img-slider {
|
133
|
+
@include media-breakpoint-up(md) {
|
134
|
+
height: 100%;
|
135
|
+
width: 100%;
|
136
|
+
|
137
|
+
* {
|
138
|
+
height: inherit !important;
|
139
|
+
width: inherit !important;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
// Card image overlay
|
145
|
+
|
146
|
+
.card-img-overlay {
|
147
|
+
display: flex;
|
148
|
+
flex-direction: column;
|
149
|
+
padding: $card-spacer-x;
|
150
|
+
}
|
151
|
+
|
152
|
+
.card-img-overlay .card-body {
|
153
|
+
margin: -$card-spacer-x;
|
154
|
+
margin-top: auto;
|
155
|
+
border-bottom-right-radius: $card-inner-border-radius;
|
156
|
+
border-bottom-left-radius: $card-inner-border-radius;
|
157
|
+
}
|
158
|
+
|
159
|
+
.card-img-overlay-hover {
|
160
|
+
overflow: hidden;
|
161
|
+
}
|
162
|
+
|
163
|
+
.card-img-overlay-hover .card-body {
|
164
|
+
transform: translateY(110%);
|
165
|
+
transition: all 0.3s ease;
|
166
|
+
}
|
167
|
+
|
168
|
+
.card-img-overlay-hover:hover .card-body {
|
169
|
+
transform: translateY(0);
|
170
|
+
}
|
171
|
+
|
172
|
+
// Card group
|
173
|
+
|
174
|
+
.card-group {
|
175
|
+
@include media-breakpoint-only(sm) {
|
176
|
+
flex-direction: column !important;
|
177
|
+
|
178
|
+
> .card {
|
179
|
+
flex: auto;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
// Card meta
|
185
|
+
|
186
|
+
.card-meta {
|
187
|
+
display: flex;
|
188
|
+
flex-wrap: wrap;
|
189
|
+
align-items: center;
|
190
|
+
padding: 0 $card-spacer-x $card-meta-spacer-y;
|
191
|
+
}
|
192
|
+
|
193
|
+
.card-meta-divider {
|
194
|
+
width: 100%;
|
195
|
+
margin: 0 0 $card-meta-spacer-y;
|
196
|
+
}
|
197
|
+
|
198
|
+
// Card button
|
199
|
+
|
200
|
+
.card-btn:last-child {
|
201
|
+
border-top-right-radius: 0;
|
202
|
+
border-top-left-radius: 0;
|
203
|
+
}
|
204
|
+
|
205
|
+
// Zoom
|
206
|
+
|
207
|
+
.card-zoom {
|
208
|
+
overflow: hidden !important;
|
209
|
+
border-radius: inherit;
|
210
|
+
}
|
211
|
+
|
212
|
+
.card-zoom > [class*='card-img'] {
|
213
|
+
transition: all 0.3s ease;
|
214
|
+
transform-origin: center center;
|
215
|
+
}
|
216
|
+
|
217
|
+
.card:hover > .card-zoom > [class*='card-img'] {
|
218
|
+
transform: scale(1.1);
|
219
|
+
}
|
File without changes
|
File without changes
|
@@ -0,0 +1,65 @@
|
|
1
|
+
//
|
2
|
+
// custom-forms.scss
|
3
|
+
// Extended from Bootstrap
|
4
|
+
//
|
5
|
+
|
6
|
+
//
|
7
|
+
// Custom switch
|
8
|
+
//
|
9
|
+
|
10
|
+
.custom-switch {
|
11
|
+
min-height: $custom-switch-height;
|
12
|
+
|
13
|
+
.custom-control-label {
|
14
|
+
|
15
|
+
&::before {
|
16
|
+
top: (($font-size-base * $line-height-base - $custom-switch-height) / 2);
|
17
|
+
height: $custom-switch-height;
|
18
|
+
border-radius: $custom-switch-height / 2;
|
19
|
+
}
|
20
|
+
|
21
|
+
&::after {
|
22
|
+
top: (($font-size-base * $line-height-base - $custom-switch-height) / 2 + $custom-switch-spacing);
|
23
|
+
left: $custom-switch-spacing - $custom-control-gutter - $custom-switch-width;
|
24
|
+
background-color: $custom-switch-indicator-bg;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.custom-control-input:checked ~ .custom-control-label {
|
29
|
+
|
30
|
+
&::after {
|
31
|
+
background-color: $custom-switch-indicator-active-bg;
|
32
|
+
transform: translateX($custom-switch-width - $custom-switch-spacing * 2 - $custom-switch-indicator-size);
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
|
38
|
+
//
|
39
|
+
// Dark version
|
40
|
+
//
|
41
|
+
|
42
|
+
.custom-switch-dark {
|
43
|
+
|
44
|
+
.custom-control-label {
|
45
|
+
|
46
|
+
&::before {
|
47
|
+
background-color: $custom-switch-bg-dark;
|
48
|
+
}
|
49
|
+
|
50
|
+
&::after {
|
51
|
+
background-color: $custom-switch-indicator-bg-dark;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
.custom-control-input:checked ~ .custom-control-label {
|
56
|
+
|
57
|
+
&::before {
|
58
|
+
background-color: $custom-switch-active-bg-dark;
|
59
|
+
}
|
60
|
+
|
61
|
+
&::after {
|
62
|
+
background-color: $custom-switch-active-indicator-bg-dark;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
@@ -0,0 +1,103 @@
|
|
1
|
+
//
|
2
|
+
// device.scss
|
3
|
+
// Theme component
|
4
|
+
//
|
5
|
+
|
6
|
+
.device {
|
7
|
+
position: relative;
|
8
|
+
|
9
|
+
> .img-fluid {
|
10
|
+
position: relative;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
.device::before {
|
15
|
+
content: "";
|
16
|
+
background-color: $light;
|
17
|
+
}
|
18
|
+
|
19
|
+
.device::before,
|
20
|
+
.device-screen {
|
21
|
+
position: absolute;
|
22
|
+
object-fit: cover;
|
23
|
+
}
|
24
|
+
|
25
|
+
|
26
|
+
//
|
27
|
+
// Single devices
|
28
|
+
//
|
29
|
+
|
30
|
+
.device-iphonex::before,
|
31
|
+
.device-iphonex > .device-screen {
|
32
|
+
top: 7.784431138%; left: 16.4021164%;
|
33
|
+
width: 66.137566137%; height: 80.838323353%;
|
34
|
+
}
|
35
|
+
|
36
|
+
.device-macbook::before,
|
37
|
+
.device-macbook > .device-screen {
|
38
|
+
top: 11.53846154%; left: 13.38709677%;
|
39
|
+
width: 73.548387096%; height: 73.076923076%;
|
40
|
+
}
|
41
|
+
|
42
|
+
|
43
|
+
//
|
44
|
+
// Combos
|
45
|
+
//
|
46
|
+
|
47
|
+
.device-combo {
|
48
|
+
position: relative;
|
49
|
+
}
|
50
|
+
|
51
|
+
.device-combo > .device {
|
52
|
+
position: absolute;
|
53
|
+
}
|
54
|
+
|
55
|
+
.device-combo-iphonex-iphonex {
|
56
|
+
padding-bottom: 130.250482%;
|
57
|
+
}
|
58
|
+
|
59
|
+
.device-combo-iphonex-iphonex > .device-iphonex {
|
60
|
+
|
61
|
+
&:first-child {
|
62
|
+
bottom: 0; left: 0;
|
63
|
+
width: 65.5260116%;
|
64
|
+
z-index: 1;
|
65
|
+
}
|
66
|
+
|
67
|
+
&:last-child {
|
68
|
+
top: 0; right: 0;
|
69
|
+
width: 72.8323699%;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
.device-combo-macbook-iphonex,
|
74
|
+
.device-combo-iphonex-macbook {
|
75
|
+
padding-bottom: 62.4260355%;
|
76
|
+
}
|
77
|
+
|
78
|
+
.device-combo-macbook-iphonex > .device-macbook,
|
79
|
+
.device-combo-iphonex-macbook > .device-macbook {
|
80
|
+
width: 91.7159763%;
|
81
|
+
}
|
82
|
+
|
83
|
+
.device-combo-macbook-iphonex > .device-iphonex,
|
84
|
+
.device-combo-iphonex-macbook > .device-iphonex {
|
85
|
+
width: 27.9585799%;
|
86
|
+
z-index: 1;
|
87
|
+
}
|
88
|
+
|
89
|
+
.device-combo-macbook-iphonex > .device-macbook {
|
90
|
+
top: 0; left: 0;
|
91
|
+
}
|
92
|
+
|
93
|
+
.device-combo-iphonex-macbook > .device-macbook {
|
94
|
+
top: 0; right: 0;
|
95
|
+
}
|
96
|
+
|
97
|
+
.device-combo-macbook-iphonex > .device-iphonex {
|
98
|
+
bottom: 0; right: 0;
|
99
|
+
}
|
100
|
+
|
101
|
+
.device-combo-iphonex-macbook > .device-iphonex {
|
102
|
+
bottom: 0; left: 0;
|
103
|
+
}
|