active_s95 1.0.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/LICENCE.txt +24 -0
- data/README.md +120 -0
- data/app/assets/fonts/Lato-Bold.eot +0 -0
- data/app/assets/fonts/Lato-Bold.ttf +0 -0
- data/app/assets/fonts/Lato-Bold.woff +0 -0
- data/app/assets/fonts/Lato-Bold.woff2 +0 -0
- data/app/assets/fonts/Lato-BoldItalic.eot +0 -0
- data/app/assets/fonts/Lato-BoldItalic.ttf +0 -0
- data/app/assets/fonts/Lato-BoldItalic.woff +0 -0
- data/app/assets/fonts/Lato-BoldItalic.woff2 +0 -0
- data/app/assets/fonts/Lato-Italic.eot +0 -0
- data/app/assets/fonts/Lato-Italic.ttf +0 -0
- data/app/assets/fonts/Lato-Italic.woff +0 -0
- data/app/assets/fonts/Lato-Italic.woff2 +0 -0
- data/app/assets/fonts/Lato-Regular.eot +0 -0
- data/app/assets/fonts/Lato-Regular.ttf +0 -0
- data/app/assets/fonts/Lato-Regular.woff +0 -0
- data/app/assets/fonts/Lato-Regular.woff2 +0 -0
- data/app/assets/javascripts/arctic_admin/base.js +2 -0
- data/app/assets/javascripts/arctic_admin/main.js +105 -0
- data/app/assets/stylesheets/arctic_admin/_base.scss +30 -0
- data/app/assets/stylesheets/arctic_admin/_buttons.scss +80 -0
- data/app/assets/stylesheets/arctic_admin/_common.scss +101 -0
- data/app/assets/stylesheets/arctic_admin/_custom_enhancements.scss +275 -0
- data/app/assets/stylesheets/arctic_admin/_fonts.scss +47 -0
- data/app/assets/stylesheets/arctic_admin/_grid.scss +4 -0
- data/app/assets/stylesheets/arctic_admin/_main.scss +57 -0
- data/app/assets/stylesheets/arctic_admin/_mobile_utilities.scss +212 -0
- data/app/assets/stylesheets/arctic_admin/_reset.scss +41 -0
- data/app/assets/stylesheets/arctic_admin/components/_columns.scss +4 -0
- data/app/assets/stylesheets/arctic_admin/components/_comments.scss +49 -0
- data/app/assets/stylesheets/arctic_admin/components/_date_picker.scss +38 -0
- data/app/assets/stylesheets/arctic_admin/components/_dialogs.scss +23 -0
- data/app/assets/stylesheets/arctic_admin/components/_flash.scss +32 -0
- data/app/assets/stylesheets/arctic_admin/components/_form.scss +182 -0
- data/app/assets/stylesheets/arctic_admin/components/_inputs.scss +218 -0
- data/app/assets/stylesheets/arctic_admin/components/_pagination.scss +80 -0
- data/app/assets/stylesheets/arctic_admin/components/_panel_contents.scss +126 -0
- data/app/assets/stylesheets/arctic_admin/components/_select2.scss +50 -0
- data/app/assets/stylesheets/arctic_admin/components/_status_tag.scss +41 -0
- data/app/assets/stylesheets/arctic_admin/components/_tables.scss +434 -0
- data/app/assets/stylesheets/arctic_admin/components/_tabs.scss +51 -0
- data/app/assets/stylesheets/arctic_admin/components/_toggle.scss +77 -0
- data/app/assets/stylesheets/arctic_admin/layouts/_filter.scss +142 -0
- data/app/assets/stylesheets/arctic_admin/layouts/_footer.scss +4 -0
- data/app/assets/stylesheets/arctic_admin/layouts/_header.scss +444 -0
- data/app/assets/stylesheets/arctic_admin/layouts/_main_content.scss +47 -0
- data/app/assets/stylesheets/arctic_admin/layouts/_sidebar.scss +150 -0
- data/app/assets/stylesheets/arctic_admin/layouts/_wrapper.scss +8 -0
- data/app/assets/stylesheets/arctic_admin/mixins/_buttons_mixins.scss +142 -0
- data/app/assets/stylesheets/arctic_admin/mixins/_forms.scss +9 -0
- data/app/assets/stylesheets/arctic_admin/mixins/_mixins.scss +4 -0
- data/app/assets/stylesheets/arctic_admin/mixins/_prefix_mixins.scss +63 -0
- data/app/assets/stylesheets/arctic_admin/mixins/_sidebar_mixins.scss +24 -0
- data/app/assets/stylesheets/arctic_admin/pages/_form.scss +124 -0
- data/app/assets/stylesheets/arctic_admin/pages/_index.scss +207 -0
- data/app/assets/stylesheets/arctic_admin/pages/_login.scss +65 -0
- data/app/assets/stylesheets/arctic_admin/pages/_show.scss +3 -0
- data/app/assets/stylesheets/arctic_admin/variables/_borders.scss +7 -0
- data/app/assets/stylesheets/arctic_admin/variables/_box_shadows.scss +6 -0
- data/app/assets/stylesheets/arctic_admin/variables/_colors.scss +59 -0
- data/app/assets/stylesheets/arctic_admin/variables/_fonts.scss +10 -0
- data/app/assets/stylesheets/arctic_admin/variables/_icons.scss +17 -0
- data/app/assets/stylesheets/arctic_admin/variables/_media_queries.scss +41 -0
- data/app/assets/stylesheets/arctic_admin/variables/_size.scss +15 -0
- data/app/assets/stylesheets/arctic_admin/variables/_spaces.scss +31 -0
- data/app/assets/stylesheets/arctic_admin/variables/_variables.scss +7 -0
- data/lib/active_s95/version.rb +3 -0
- data/lib/arctic_admin.rb +9 -0
- metadata +171 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
.select2-container--default .select2-selection--single .select2-selection__rendered{
|
|
2
|
+
line-height: $input-height;
|
|
3
|
+
color: $text-color;
|
|
4
|
+
font-size: $font-size;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.select2-container .select2-selection--single{
|
|
8
|
+
height: $input-height;
|
|
9
|
+
outline: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.select2-container--default .select2-selection--single .select2-selection__arrow{
|
|
13
|
+
height: $input-height;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.select2-container--default .select2-selection--single {
|
|
17
|
+
border-color: $border-color;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.select2-container .select2-selection--single .select2-selection__rendered{
|
|
21
|
+
padding-left: 12px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.select2-dropdown{
|
|
25
|
+
border-color: $border-color;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.select2-container--default .select2-results__option--highlighted[aria-selected]{
|
|
29
|
+
background-color: $primary_color;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.select2-container--default .select2-search--dropdown .select2-search__field{
|
|
33
|
+
border-color: $border-color;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.select2-container--default .select2-results__option[aria-selected=true]{
|
|
37
|
+
background-color: $body-background;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.select2-search--dropdown .select2-search__field{
|
|
41
|
+
padding-left: 12px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.select2-results{
|
|
45
|
+
font-size: $font-size;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.select2-results__option{
|
|
49
|
+
padding-left: 12px;
|
|
50
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.status_tag {
|
|
2
|
+
background: $status-tag-background-color;
|
|
3
|
+
color: $status-tag-text-color;
|
|
4
|
+
text-transform: uppercase;
|
|
5
|
+
letter-spacing: 0.08em;
|
|
6
|
+
padding: 6px 12px;
|
|
7
|
+
font-size: 0.75em;
|
|
8
|
+
font-weight: 700;
|
|
9
|
+
border-radius: $border-radius-badge;
|
|
10
|
+
display: inline-block;
|
|
11
|
+
transition: all 0.2s ease;
|
|
12
|
+
|
|
13
|
+
&:hover {
|
|
14
|
+
transform: translateY(-1px);
|
|
15
|
+
box-shadow: 0 2px 8px rgba($indigo, 0.2);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.ok,
|
|
19
|
+
&.published,
|
|
20
|
+
&.complete,
|
|
21
|
+
&.completed,
|
|
22
|
+
&.green,
|
|
23
|
+
&.yes {
|
|
24
|
+
background-color: $status-tag-background-valid-color;
|
|
25
|
+
color: darken($teal, 20%);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.cancel,
|
|
29
|
+
&.red,
|
|
30
|
+
&.no {
|
|
31
|
+
background-color: $status-tag-background-error-color;
|
|
32
|
+
color: darken($coral, 15%);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.warning,
|
|
36
|
+
&.pending,
|
|
37
|
+
&.yellow {
|
|
38
|
+
background-color: rgba(#f2a654, 0.15);
|
|
39
|
+
color: darken(#f2a654, 25%);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
table {
|
|
2
|
+
width: 100%;
|
|
3
|
+
border-collapse: separate;
|
|
4
|
+
border-spacing: 0 8px;
|
|
5
|
+
|
|
6
|
+
&:not(.index_table) {
|
|
7
|
+
border-radius: $border-radius;
|
|
8
|
+
margin-bottom: 10px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// MOBILE CARD VIEW: Transform table to cards on small screens
|
|
12
|
+
@media screen and (max-width: $md-tablet) {
|
|
13
|
+
display: block;
|
|
14
|
+
border-spacing: 0;
|
|
15
|
+
|
|
16
|
+
&.index_table {
|
|
17
|
+
@include table-to-cards;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// TABLET: Horizontal scroll with momentum for medium screens
|
|
22
|
+
@media screen and (min-width: #{$md-tablet + 1}) and (max-width: $md-width) {
|
|
23
|
+
display: block;
|
|
24
|
+
overflow-x: auto;
|
|
25
|
+
-webkit-overflow-scrolling: touch;
|
|
26
|
+
border-spacing: 0 6px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
thead tr {
|
|
31
|
+
border: none;
|
|
32
|
+
background: linear-gradient(135deg, rgba($indigo, 0.08) 0%, rgba($indigo, 0.04) 100%);
|
|
33
|
+
box-shadow: $box-shadow-card;
|
|
34
|
+
|
|
35
|
+
@media screen and (max-width: $sm-width) {
|
|
36
|
+
font-size: 11px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
thead th {
|
|
41
|
+
font-size: 12px;
|
|
42
|
+
text-align: left;
|
|
43
|
+
font-weight: 700;
|
|
44
|
+
text-transform: uppercase;
|
|
45
|
+
letter-spacing: 0.5px;
|
|
46
|
+
color: $indigo-dark;
|
|
47
|
+
|
|
48
|
+
a {
|
|
49
|
+
color: $indigo-dark;
|
|
50
|
+
font-weight: 700;
|
|
51
|
+
width: 100%;
|
|
52
|
+
display: inline-block;
|
|
53
|
+
padding: 12px 20px 12px 12px;
|
|
54
|
+
|
|
55
|
+
@media screen and (min-width: $md-width) {
|
|
56
|
+
padding: 14px 20px 14px 14px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@media screen and (max-width: $sm-width) {
|
|
60
|
+
padding: 10px 14px 10px 10px;
|
|
61
|
+
font-size: 12px;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// Smart column hiding on tablets
|
|
66
|
+
@media screen and (min-width: $md-tablet) and (max-width: #{$md-width - 1}) {
|
|
67
|
+
&.col-less-important {
|
|
68
|
+
display: none;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&:first-child {
|
|
73
|
+
border-radius: $border-radius-small 0 0 $border-radius-small;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&:last-child {
|
|
77
|
+
border-radius: 0 $border-radius-small $border-radius-small 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&.col-selectable {
|
|
81
|
+
padding-left: 12px;
|
|
82
|
+
|
|
83
|
+
@media screen and (min-width: $md-width) {
|
|
84
|
+
padding-left: 14px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@media screen and (max-width: $sm-width) {
|
|
88
|
+
padding-left: 8px;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
tbody tr {
|
|
94
|
+
background-color: #fff;
|
|
95
|
+
box-shadow: $box-shadow-card;
|
|
96
|
+
transition: all 0.3s ease;
|
|
97
|
+
border-left: 4px solid transparent;
|
|
98
|
+
|
|
99
|
+
&:hover {
|
|
100
|
+
background-color: rgba($indigo, 0.08);
|
|
101
|
+
box-shadow: $box-shadow-hover;
|
|
102
|
+
transform: translateY(-2px);
|
|
103
|
+
|
|
104
|
+
@media screen and (max-width: $md-width) {
|
|
105
|
+
transform: none;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// TOP 3 RESULTS - GOLD, SILVER, BRONZE
|
|
110
|
+
&:nth-child(1) {
|
|
111
|
+
border-left-color: #FFD700;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&:nth-child(2) {
|
|
115
|
+
border-left-color: #C0C0C0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&:nth-child(3) {
|
|
119
|
+
border-left-color: #CD7F32;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
th {
|
|
123
|
+
font-size: $font-size;
|
|
124
|
+
|
|
125
|
+
@media screen and (max-width: $sm-width) {
|
|
126
|
+
font-size: 12px;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
td {
|
|
131
|
+
padding: 12px;
|
|
132
|
+
vertical-align: middle;
|
|
133
|
+
color: $text-color;
|
|
134
|
+
font-size: 13px;
|
|
135
|
+
|
|
136
|
+
@media screen and (max-width: $sm-width) {
|
|
137
|
+
padding: 10px;
|
|
138
|
+
font-size: 13px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// Smart column hiding on tablets (sync with thead)
|
|
142
|
+
@media screen and (min-width: $md-tablet) and (max-width: #{$md-width - 1}) {
|
|
143
|
+
&.col-less-important {
|
|
144
|
+
display: none;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&:first-child {
|
|
149
|
+
border-radius: $border-radius-small 0 0 $border-radius-small;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&:last-child {
|
|
153
|
+
border-radius: 0 $border-radius-small $border-radius-small 0;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&.col-actions {
|
|
157
|
+
padding: 8px 12px;
|
|
158
|
+
|
|
159
|
+
@media screen and (max-width: $sm-width) {
|
|
160
|
+
padding: 8px 10px;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// Touch-friendly action buttons
|
|
164
|
+
a,
|
|
165
|
+
.button,
|
|
166
|
+
.member_link {
|
|
167
|
+
@include touch-button(44px);
|
|
168
|
+
margin: 2px;
|
|
169
|
+
display: inline-flex;
|
|
170
|
+
align-items: center;
|
|
171
|
+
justify-content: center;
|
|
172
|
+
|
|
173
|
+
@media screen and (max-width: $sm-width) {
|
|
174
|
+
padding: 8px 12px;
|
|
175
|
+
font-size: 13px;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
// MONOSPACE FOR TIME AND TEMPO COLUMNS
|
|
181
|
+
&.col-time,
|
|
182
|
+
&.col-pace,
|
|
183
|
+
&.col-tempo,
|
|
184
|
+
&.col-duration,
|
|
185
|
+
&.col-result {
|
|
186
|
+
font-family: $font-family-mono;
|
|
187
|
+
font-weight: 600;
|
|
188
|
+
color: $indigo-dark;
|
|
189
|
+
|
|
190
|
+
@media screen and (max-width: $sm-width) {
|
|
191
|
+
font-size: 11px;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@media screen and (min-width: $md-width) {
|
|
196
|
+
padding: 14px;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
// style only for table
|
|
202
|
+
.index_as_table {
|
|
203
|
+
tbody tr {
|
|
204
|
+
border: none;
|
|
205
|
+
|
|
206
|
+
&:hover {
|
|
207
|
+
background-color: rgba($indigo, 0.08);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
// INLINE TIME EDITOR
|
|
213
|
+
.time-editable {
|
|
214
|
+
position: relative;
|
|
215
|
+
cursor: pointer;
|
|
216
|
+
font-family: $font-family-mono;
|
|
217
|
+
font-weight: 600;
|
|
218
|
+
color: $indigo-dark;
|
|
219
|
+
transition: all 0.2s ease;
|
|
220
|
+
padding-right: 28px !important;
|
|
221
|
+
|
|
222
|
+
&::after {
|
|
223
|
+
content: '✎';
|
|
224
|
+
position: absolute;
|
|
225
|
+
right: 8px;
|
|
226
|
+
top: 50%;
|
|
227
|
+
transform: translateY(-50%);
|
|
228
|
+
opacity: 0;
|
|
229
|
+
color: $indigo;
|
|
230
|
+
font-size: 14px;
|
|
231
|
+
transition: opacity 0.2s ease;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
&:hover {
|
|
235
|
+
background: rgba($indigo, 0.05);
|
|
236
|
+
color: $indigo;
|
|
237
|
+
|
|
238
|
+
&::after {
|
|
239
|
+
opacity: 1;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
&.editing {
|
|
244
|
+
padding: 0 !important;
|
|
245
|
+
background: rgba($indigo, 0.08);
|
|
246
|
+
|
|
247
|
+
&::after {
|
|
248
|
+
display: none;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
input.time-input {
|
|
252
|
+
width: 100%;
|
|
253
|
+
height: 100%;
|
|
254
|
+
border: 2px solid $indigo;
|
|
255
|
+
border-radius: $border-radius-small;
|
|
256
|
+
padding: 8px 12px;
|
|
257
|
+
font-family: $font-family-mono;
|
|
258
|
+
font-size: 14px;
|
|
259
|
+
font-weight: 600;
|
|
260
|
+
color: $indigo-dark;
|
|
261
|
+
background: #fff;
|
|
262
|
+
text-align: center;
|
|
263
|
+
box-shadow: 0 0 0 4px rgba($indigo, 0.15);
|
|
264
|
+
outline: none;
|
|
265
|
+
|
|
266
|
+
@media screen and (max-width: $sm-width) {
|
|
267
|
+
font-size: 13px;
|
|
268
|
+
padding: 6px 10px;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
&::placeholder {
|
|
272
|
+
color: rgba($indigo, 0.4);
|
|
273
|
+
font-style: italic;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
&:focus {
|
|
277
|
+
border-color: $indigo-dark;
|
|
278
|
+
box-shadow: 0 0 0 4px rgba($indigo, 0.25);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
// Specific columns that support inline editing
|
|
284
|
+
&.col-gun-time,
|
|
285
|
+
&.col-chip-time,
|
|
286
|
+
&.col-result-time,
|
|
287
|
+
&.col-time {
|
|
288
|
+
@media screen and (max-width: $sm-width) {
|
|
289
|
+
padding-right: 24px !important;
|
|
290
|
+
|
|
291
|
+
&::after {
|
|
292
|
+
font-size: 12px;
|
|
293
|
+
right: 6px;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
// Time input validation states
|
|
300
|
+
.time-input {
|
|
301
|
+
&.valid {
|
|
302
|
+
border-color: $teal;
|
|
303
|
+
box-shadow: 0 0 0 4px rgba($teal, 0.15);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
&.invalid {
|
|
307
|
+
border-color: $coral;
|
|
308
|
+
box-shadow: 0 0 0 4px rgba($coral, 0.15);
|
|
309
|
+
animation: shake 0.3s;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
@keyframes shake {
|
|
314
|
+
|
|
315
|
+
0%,
|
|
316
|
+
100% {
|
|
317
|
+
transform: translateX(0);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
25% {
|
|
321
|
+
transform: translateX(-4px);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
75% {
|
|
325
|
+
transform: translateX(4px);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
.drag-handle {
|
|
331
|
+
cursor: grab;
|
|
332
|
+
color: #adb5bd;
|
|
333
|
+
padding: 10px;
|
|
334
|
+
font-size: 1.2rem;
|
|
335
|
+
transition: all 0.2s ease;
|
|
336
|
+
display: inline-flex;
|
|
337
|
+
align-items: center;
|
|
338
|
+
justify-content: center;
|
|
339
|
+
@include no-tap-highlight;
|
|
340
|
+
|
|
341
|
+
// Touch-friendly sizing
|
|
342
|
+
min-width: 44px;
|
|
343
|
+
min-height: 44px;
|
|
344
|
+
|
|
345
|
+
&:hover {
|
|
346
|
+
color: $indigo;
|
|
347
|
+
transform: scale(1.1);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
&:active {
|
|
351
|
+
cursor: grabbing;
|
|
352
|
+
color: $indigo-dark;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
@media screen and (max-width: $sm-width) {
|
|
356
|
+
padding: 12px;
|
|
357
|
+
font-size: 1.3rem;
|
|
358
|
+
min-width: 48px;
|
|
359
|
+
min-height: 48px;
|
|
360
|
+
|
|
361
|
+
// Larger touch target on mobile
|
|
362
|
+
&::before {
|
|
363
|
+
content: '';
|
|
364
|
+
position: absolute;
|
|
365
|
+
width: 48px;
|
|
366
|
+
height: 48px;
|
|
367
|
+
min-width: 48px;
|
|
368
|
+
min-height: 48px;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
.sortable-ghost {
|
|
375
|
+
background-color: rgba($indigo, 0.05) !important;
|
|
376
|
+
border: 2px dashed $indigo !important;
|
|
377
|
+
opacity: 0.5;
|
|
378
|
+
|
|
379
|
+
td {
|
|
380
|
+
color: transparent !important;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
// Строка, которую тащим
|
|
385
|
+
.sortable-drag {
|
|
386
|
+
background: #fff !important;
|
|
387
|
+
opacity: 1 !important;
|
|
388
|
+
box-shadow: 0 15px 30px rgba($indigo, 0.3) !important;
|
|
389
|
+
transform: scale(1.02) rotate(1deg) !important;
|
|
390
|
+
cursor: grabbing !important;
|
|
391
|
+
z-index: 9999 !important;
|
|
392
|
+
border-left: 4px solid $indigo !important;
|
|
393
|
+
|
|
394
|
+
td {
|
|
395
|
+
border-top: 2px solid $indigo !important;
|
|
396
|
+
border-bottom: 2px solid $indigo !important;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
@media screen and (max-width: $md-width) {
|
|
400
|
+
transform: scale(1.01) !important;
|
|
401
|
+
box-shadow: 0 10px 20px rgba($indigo, 0.25) !important;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
@media screen and (max-width: $sm-width) {
|
|
405
|
+
transform: scale(1.005) !important;
|
|
406
|
+
box-shadow: 0 8px 16px rgba($indigo, 0.2) !important;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
.sortable-chosen {
|
|
412
|
+
background: rgba($indigo, 0.08) !important;
|
|
413
|
+
|
|
414
|
+
.drag-handle {
|
|
415
|
+
color: $indigo;
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
.sortable-table {
|
|
421
|
+
tbody tr {
|
|
422
|
+
transition: all 0.2s ease;
|
|
423
|
+
|
|
424
|
+
&:hover {
|
|
425
|
+
.drag-handle {
|
|
426
|
+
opacity: 1;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.drag-handle {
|
|
432
|
+
opacity: 0.5;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
.tabs.ui-tabs {
|
|
2
|
+
border: 1px solid $border-color;
|
|
3
|
+
|
|
4
|
+
.nav {
|
|
5
|
+
border-bottom: 1px solid $border-color;
|
|
6
|
+
|
|
7
|
+
li {
|
|
8
|
+
display: inline-block;
|
|
9
|
+
text-align: center;
|
|
10
|
+
@include outline();
|
|
11
|
+
|
|
12
|
+
a {
|
|
13
|
+
color: $text-color;
|
|
14
|
+
display: inline-block;
|
|
15
|
+
padding: 15px 25px;
|
|
16
|
+
@include outline();
|
|
17
|
+
@include transition-button();
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.ui-tabs-active {
|
|
21
|
+
border-bottom: 2px solid $link-primary-color;
|
|
22
|
+
|
|
23
|
+
a {
|
|
24
|
+
color: $link-primary-color;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.tab-content {
|
|
31
|
+
padding: 10px 20px;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.scopes {
|
|
36
|
+
.scope {
|
|
37
|
+
border-radius: $border-radius-button;
|
|
38
|
+
transition: all 0.2s ease;
|
|
39
|
+
|
|
40
|
+
&:hover {
|
|
41
|
+
background-color: rgba($indigo, 0.08);
|
|
42
|
+
transform: translateY(-1px);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.selected {
|
|
46
|
+
background: linear-gradient(135deg, $indigo 0%, $indigo-dark 100%);
|
|
47
|
+
color: #fff;
|
|
48
|
+
font-weight: 700;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
$toggle-width: 40px !default;
|
|
2
|
+
$toggle-height: 20px !default;
|
|
3
|
+
$toggle-offset: 3px !default;
|
|
4
|
+
|
|
5
|
+
$toggle-outer-default: #ddd !default;
|
|
6
|
+
$toggle-outer-active: $link-primary-color !default;
|
|
7
|
+
$toggle-inner-default: #fff !default;
|
|
8
|
+
$toggle-inner-active: #fff !default;
|
|
9
|
+
|
|
10
|
+
$toggle-transition: 200ms ease-out !default;
|
|
11
|
+
|
|
12
|
+
.toggle-bool-switches-container {
|
|
13
|
+
display: flex;
|
|
14
|
+
text-align: left;
|
|
15
|
+
|
|
16
|
+
span {
|
|
17
|
+
line-height: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.toggle-bool-switch {
|
|
21
|
+
// reset style
|
|
22
|
+
background-image: none;
|
|
23
|
+
box-shadow: none;
|
|
24
|
+
//
|
|
25
|
+
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
|
|
28
|
+
position: relative;
|
|
29
|
+
display: inline-flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
width: $toggle-width;
|
|
32
|
+
height: $toggle-height;
|
|
33
|
+
background-color: $toggle-outer-default;
|
|
34
|
+
border-radius: 100vw;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
transition: $toggle-transition;
|
|
37
|
+
|
|
38
|
+
&::before {
|
|
39
|
+
// reset style
|
|
40
|
+
height: auto;
|
|
41
|
+
width: auto;
|
|
42
|
+
background-image: none;
|
|
43
|
+
//
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
content: "";
|
|
47
|
+
position: absolute;
|
|
48
|
+
top: $toggle-offset;
|
|
49
|
+
left: $toggle-offset;
|
|
50
|
+
bottom: $toggle-offset;
|
|
51
|
+
|
|
52
|
+
aspect-ratio: 1 / 1;
|
|
53
|
+
|
|
54
|
+
background-color: $toggle-inner-default;
|
|
55
|
+
border-radius: 50%;
|
|
56
|
+
box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.05);
|
|
57
|
+
transition: $toggle-transition;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.on {
|
|
61
|
+
// reset style
|
|
62
|
+
background-image: none;
|
|
63
|
+
//
|
|
64
|
+
background: $link-primary-color;
|
|
65
|
+
|
|
66
|
+
&::before {
|
|
67
|
+
// reset style
|
|
68
|
+
left: $toggle-offset;
|
|
69
|
+
//
|
|
70
|
+
|
|
71
|
+
background-color: $toggle-inner-active;
|
|
72
|
+
$toggle-translate-x: calc(( #{$toggle-width} - #{$toggle-height} ));
|
|
73
|
+
transform: translateX($toggle-translate-x);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|