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,38 @@
|
|
|
1
|
+
#ui-datepicker-div {
|
|
2
|
+
background-color: #fff;
|
|
3
|
+
padding: 5px;
|
|
4
|
+
border-radius: $border-radius;
|
|
5
|
+
@include box-shadow($box-shadow);
|
|
6
|
+
z-index: 3!important;
|
|
7
|
+
padding: 8px 10px;
|
|
8
|
+
|
|
9
|
+
.ui-datepicker-header {
|
|
10
|
+
@include clear-fix();
|
|
11
|
+
margin-bottom: 10px;
|
|
12
|
+
|
|
13
|
+
.ui-datepicker-prev, .ui-datepicker-next {
|
|
14
|
+
@include primary-button($button-primary-color, #fff);
|
|
15
|
+
padding: 2px 5px;
|
|
16
|
+
font-size: 14px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ui-datepicker-prev {
|
|
20
|
+
float: left;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.ui-datepicker-next {
|
|
24
|
+
float: right;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ui-datepicker-title {
|
|
28
|
+
text-align: center;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ui-datepicker-calendar {
|
|
33
|
+
td {
|
|
34
|
+
border: none;
|
|
35
|
+
text-align: center;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.ui-dialog {
|
|
2
|
+
background-color: #fff;
|
|
3
|
+
@include box-shadow($box-shadow);
|
|
4
|
+
border-radius: $border-radius;
|
|
5
|
+
padding: 15px 10px;
|
|
6
|
+
z-index: 1;
|
|
7
|
+
|
|
8
|
+
&:focus, &:active {
|
|
9
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
10
|
+
outline: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ui-button {
|
|
14
|
+
@include primary-button($primary-color, #fff);
|
|
15
|
+
border: 0;
|
|
16
|
+
margin-right: 5px;
|
|
17
|
+
padding: 5px 10px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ui-dialog-titlebar-close {
|
|
21
|
+
display: none;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.flash {
|
|
2
|
+
width: 100%;
|
|
3
|
+
padding: 10px;
|
|
4
|
+
text-align: center;
|
|
5
|
+
background-color: $flash-background-color;
|
|
6
|
+
color: $flash-text-color;
|
|
7
|
+
border-radius: $border-radius-button;
|
|
8
|
+
box-shadow: $box-shadow-card;
|
|
9
|
+
font-weight: 600;
|
|
10
|
+
letter-spacing: 0.3px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.flash_alert,
|
|
14
|
+
.flash_error {
|
|
15
|
+
background: linear-gradient(135deg, rgba($coral, 0.9) 0%, rgba($coral, 0.8) 100%);
|
|
16
|
+
color: $flash-text-color;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.flash_warning {
|
|
20
|
+
background-color: $warning;
|
|
21
|
+
color: $flash-text-color;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.flash_notice {
|
|
25
|
+
background: linear-gradient(135deg, rgba($teal, 0.9) 0%, rgba($teal, 0.8) 100%);
|
|
26
|
+
color: $flash-text-color;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.flash_info {
|
|
30
|
+
background-color: $info;
|
|
31
|
+
color: $flash-text-color;
|
|
32
|
+
}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
.label {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
margin-bottom: 8px;
|
|
4
|
+
font-weight: 600;
|
|
5
|
+
color: $indigo-dark;
|
|
6
|
+
text-transform: uppercase;
|
|
7
|
+
font-size: 12px;
|
|
8
|
+
letter-spacing: 0.5px;
|
|
9
|
+
|
|
10
|
+
@media screen and (max-width: $sm-width) {
|
|
11
|
+
font-size: 11px;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.input {
|
|
16
|
+
margin-bottom: 24px;
|
|
17
|
+
|
|
18
|
+
@media screen and (max-width: $sm-width) {
|
|
19
|
+
margin-bottom: 18px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.hidden {
|
|
23
|
+
margin: 0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
#active_admin_content {
|
|
28
|
+
form {
|
|
29
|
+
li {
|
|
30
|
+
list-style: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
legend:not(.label) {
|
|
34
|
+
margin-bottom: 28px;
|
|
35
|
+
font-size: 20px;
|
|
36
|
+
font-weight: 800;
|
|
37
|
+
text-transform: uppercase;
|
|
38
|
+
letter-spacing: 1px;
|
|
39
|
+
color: $indigo-dark;
|
|
40
|
+
display: block;
|
|
41
|
+
width: 100%;
|
|
42
|
+
padding-bottom: 16px;
|
|
43
|
+
border-bottom: 3px solid $indigo;
|
|
44
|
+
|
|
45
|
+
@media screen and (max-width: $sm-width) {
|
|
46
|
+
font-size: 16px;
|
|
47
|
+
margin-bottom: 16px;
|
|
48
|
+
padding-bottom: 10px;
|
|
49
|
+
letter-spacing: 0.3px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.error {
|
|
54
|
+
|
|
55
|
+
input,
|
|
56
|
+
select,
|
|
57
|
+
textarea {
|
|
58
|
+
@include input-invalid();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
input:not([disabled]):not([type="submit"]),
|
|
63
|
+
select,
|
|
64
|
+
textarea {
|
|
65
|
+
&.error {
|
|
66
|
+
@include input-invalid();
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.inline-hints {
|
|
71
|
+
margin: 8px 0 20px $form-margin-left;
|
|
72
|
+
font-size: $font-size;
|
|
73
|
+
font-style: italic;
|
|
74
|
+
color: lighten($text-color, 15%);
|
|
75
|
+
|
|
76
|
+
@media screen and (max-width: $md-width) {
|
|
77
|
+
margin-left: 0;
|
|
78
|
+
font-size: 13px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@media screen and (max-width: $sm-width) {
|
|
82
|
+
font-size: 12px;
|
|
83
|
+
margin: 6px 0 16px;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.inline-errors,
|
|
88
|
+
label.error {
|
|
89
|
+
color: $coral;
|
|
90
|
+
margin-top: 8px;
|
|
91
|
+
margin-bottom: 20px;
|
|
92
|
+
font-size: $font-size;
|
|
93
|
+
font-weight: 600;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
label.error {
|
|
97
|
+
display: block;
|
|
98
|
+
margin-left: $form-margin-left;
|
|
99
|
+
|
|
100
|
+
@media screen and (max-width: $md-width) {
|
|
101
|
+
margin-left: 0;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.button.has_many_remove {
|
|
106
|
+
@include tertiary-button($coral);
|
|
107
|
+
border-radius: $border-radius-button;
|
|
108
|
+
font-weight: 600;
|
|
109
|
+
@include touch-button();
|
|
110
|
+
|
|
111
|
+
@media screen and (max-width: $sm-width) {
|
|
112
|
+
width: 100%;
|
|
113
|
+
margin-bottom: 10px;
|
|
114
|
+
min-height: 48px;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.button.has_many_add {
|
|
119
|
+
@include secondary-button($indigo);
|
|
120
|
+
border-radius: $border-radius-button;
|
|
121
|
+
font-weight: 600;
|
|
122
|
+
@include touch-button();
|
|
123
|
+
|
|
124
|
+
@media screen and (max-width: $sm-width) {
|
|
125
|
+
width: 100%;
|
|
126
|
+
min-height: 48px;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.actions {
|
|
132
|
+
.action {
|
|
133
|
+
display: inline-block;
|
|
134
|
+
margin-right: 12px;
|
|
135
|
+
|
|
136
|
+
@media screen and (max-width: $sm-width) {
|
|
137
|
+
display: block;
|
|
138
|
+
width: 100%;
|
|
139
|
+
margin-right: 0;
|
|
140
|
+
margin-bottom: 10px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
input[type="submit"] {
|
|
144
|
+
line-height: 43px;
|
|
145
|
+
@include touch-button();
|
|
146
|
+
|
|
147
|
+
@media screen and (max-width: $sm-width) {
|
|
148
|
+
width: 100%;
|
|
149
|
+
min-height: 48px;
|
|
150
|
+
font-size: 15px;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.cancel {
|
|
156
|
+
display: inline-block;
|
|
157
|
+
|
|
158
|
+
@media screen and (max-width: $sm-width) {
|
|
159
|
+
display: block;
|
|
160
|
+
width: 100%;
|
|
161
|
+
text-align: center;
|
|
162
|
+
margin-top: 8px;
|
|
163
|
+
padding: 12px 0;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
a {
|
|
167
|
+
color: $indigo;
|
|
168
|
+
font-weight: 600;
|
|
169
|
+
|
|
170
|
+
&:hover {
|
|
171
|
+
color: $indigo-dark;
|
|
172
|
+
text-decoration: underline;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// Sticky submit buttons for long forms on mobile
|
|
178
|
+
@media screen and (max-width: $sm-width) {
|
|
179
|
+
@include sticky-bottom-actions;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
input[type="text"],
|
|
2
|
+
input[type="email"],
|
|
3
|
+
input[type="password"],
|
|
4
|
+
input[type="tel"],
|
|
5
|
+
input[type="date"],
|
|
6
|
+
input[type="datetime-local"],
|
|
7
|
+
input[type="month"],
|
|
8
|
+
input[type="range"],
|
|
9
|
+
input[type="search"],
|
|
10
|
+
input[type="time"],
|
|
11
|
+
input[type="url"],
|
|
12
|
+
input[type="week"],
|
|
13
|
+
input[type="number"],
|
|
14
|
+
textarea {
|
|
15
|
+
@include appearance();
|
|
16
|
+
@include box-shadow(none);
|
|
17
|
+
|
|
18
|
+
display: block;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: $input-height;
|
|
21
|
+
padding: 10px 14px;
|
|
22
|
+
font-size: $font-size;
|
|
23
|
+
line-height: 1.57142857;
|
|
24
|
+
color: $text-color;
|
|
25
|
+
background-color: #fff;
|
|
26
|
+
background-image: none;
|
|
27
|
+
border: 2px solid $border-color;
|
|
28
|
+
outline: 0;
|
|
29
|
+
border-radius: $border-radius-input;
|
|
30
|
+
@include transition(all ease-in-out .2s);
|
|
31
|
+
|
|
32
|
+
// Mobile optimization: prevent zoom on iOS, larger height
|
|
33
|
+
@media screen and (max-width: $sm-width) {
|
|
34
|
+
@include prevent-zoom;
|
|
35
|
+
min-height: 48px;
|
|
36
|
+
padding: 12px 16px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&:focus {
|
|
40
|
+
border-color: $indigo;
|
|
41
|
+
box-shadow: 0 0 0 3px rgba($indigo, 0.1);
|
|
42
|
+
@include appearance();
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:disabled {
|
|
46
|
+
opacity: 0.6;
|
|
47
|
+
background-color: #f9f9fb;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:-webkit-autofill,
|
|
51
|
+
&:-webkit-autofill:hover,
|
|
52
|
+
&:-webkit-autofill:focus {
|
|
53
|
+
-webkit-box-shadow: 0 0 0px 1000px white inset;
|
|
54
|
+
-webkit-text-fill-color: $text-color;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
input[type="submit"] {
|
|
59
|
+
@include appearance();
|
|
60
|
+
background: linear-gradient(135deg, $indigo 0%, $indigo-dark 100%);
|
|
61
|
+
color: white;
|
|
62
|
+
width: 100%;
|
|
63
|
+
padding: 12px 16px;
|
|
64
|
+
font-size: 15px;
|
|
65
|
+
font-weight: 700;
|
|
66
|
+
text-transform: uppercase;
|
|
67
|
+
letter-spacing: 0.5px;
|
|
68
|
+
box-shadow: $box-shadow-button;
|
|
69
|
+
border: none;
|
|
70
|
+
border-radius: $border-radius-button;
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
transition: all 0.3s ease;
|
|
73
|
+
@include touch-button();
|
|
74
|
+
|
|
75
|
+
@media screen and (max-width: $sm-width) {
|
|
76
|
+
min-height: 48px;
|
|
77
|
+
font-size: 16px;
|
|
78
|
+
padding: 14px 20px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&:hover {
|
|
82
|
+
box-shadow: $box-shadow-hover;
|
|
83
|
+
transform: translateY(-2px);
|
|
84
|
+
|
|
85
|
+
@media screen and (max-width: $sm-width) {
|
|
86
|
+
transform: none; // Disable hover transform on mobile
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&:active {
|
|
91
|
+
transform: translateY(0);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
input[type="checkbox"] {
|
|
96
|
+
height: 18px;
|
|
97
|
+
width: 18px;
|
|
98
|
+
-webkit-appearance: none !important;
|
|
99
|
+
background-color: #fff;
|
|
100
|
+
border: 2px solid $border-color;
|
|
101
|
+
border-radius: $border-radius-small;
|
|
102
|
+
box-sizing: border-box;
|
|
103
|
+
@include outline();
|
|
104
|
+
@include transition-button();
|
|
105
|
+
@include no-tap-highlight;
|
|
106
|
+
cursor: pointer;
|
|
107
|
+
|
|
108
|
+
// Larger touch target on mobile
|
|
109
|
+
@media screen and (max-width: $sm-width) {
|
|
110
|
+
height: 24px;
|
|
111
|
+
width: 24px;
|
|
112
|
+
margin: 4px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&:checked {
|
|
116
|
+
border-color: $indigo;
|
|
117
|
+
background-color: $indigo !important;
|
|
118
|
+
position: relative;
|
|
119
|
+
|
|
120
|
+
&:after {
|
|
121
|
+
content: '✓';
|
|
122
|
+
position: absolute;
|
|
123
|
+
top: 50%;
|
|
124
|
+
left: 50%;
|
|
125
|
+
transform: translate(-50%, -50%);
|
|
126
|
+
color: white;
|
|
127
|
+
font-size: 12px;
|
|
128
|
+
font-weight: bold;
|
|
129
|
+
|
|
130
|
+
@media screen and (max-width: $sm-width) {
|
|
131
|
+
font-size: 16px;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&:hover {
|
|
137
|
+
border-color: $indigo;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
input[type="radio"] {
|
|
142
|
+
@include appearance();
|
|
143
|
+
border: 2px solid $border-color;
|
|
144
|
+
width: 18px;
|
|
145
|
+
height: 18px;
|
|
146
|
+
border-radius: 50%;
|
|
147
|
+
margin: 1px 5px 1px 1px;
|
|
148
|
+
display: inline-flex;
|
|
149
|
+
@include outline();
|
|
150
|
+
@include transition-button();
|
|
151
|
+
@include no-tap-highlight;
|
|
152
|
+
background-color: #fff;
|
|
153
|
+
|
|
154
|
+
// Larger touch target on mobile
|
|
155
|
+
@media screen and (max-width: $sm-width) {
|
|
156
|
+
width: 24px;
|
|
157
|
+
height: 24px;
|
|
158
|
+
margin: 4px 8px 4px 4px;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&:checked {
|
|
162
|
+
background-color: $indigo;
|
|
163
|
+
border-color: $indigo;
|
|
164
|
+
box-shadow: inset 0 0 0 3px white;
|
|
165
|
+
|
|
166
|
+
@media screen and (max-width: $sm-width) {
|
|
167
|
+
box-shadow: inset 0 0 0 4px white;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&:hover {
|
|
172
|
+
border-color: $indigo;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
select {
|
|
177
|
+
background-color: #fff;
|
|
178
|
+
background-image: none;
|
|
179
|
+
border: 2px solid $border-color;
|
|
180
|
+
outline: 0;
|
|
181
|
+
border-radius: $border-radius-input;
|
|
182
|
+
font-size: $font-size;
|
|
183
|
+
color: $text-color;
|
|
184
|
+
padding: 8px 12px;
|
|
185
|
+
@include transition(all ease-in-out .2s);
|
|
186
|
+
|
|
187
|
+
// Mobile optimization
|
|
188
|
+
@media screen and (max-width: $sm-width) {
|
|
189
|
+
@include prevent-zoom;
|
|
190
|
+
min-height: 48px;
|
|
191
|
+
padding: 12px 16px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&:focus {
|
|
195
|
+
border-color: $indigo;
|
|
196
|
+
box-shadow: 0 0 0 3px rgba($indigo, 0.1);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
&:-webkit-autofill {
|
|
200
|
+
-webkit-box-shadow: 0 0 0px 1000px white inset;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
&:hover {
|
|
204
|
+
border-color: lighten($border-color, -10%);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
textarea {
|
|
209
|
+
min-height: 100px;
|
|
210
|
+
height: auto;
|
|
211
|
+
padding: 10px 14px;
|
|
212
|
+
resize: vertical;
|
|
213
|
+
|
|
214
|
+
@media screen and (max-width: $sm-width) {
|
|
215
|
+
min-height: 120px;
|
|
216
|
+
padding: 12px 16px;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
.pagination {
|
|
2
|
+
font-size: 13px;
|
|
3
|
+
margin-bottom: 10px;
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
flex-wrap: wrap;
|
|
8
|
+
gap: 4px;
|
|
9
|
+
|
|
10
|
+
@media screen and (max-width: $sm-width) {
|
|
11
|
+
gap: 6px;
|
|
12
|
+
margin-bottom: 16px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.page {
|
|
16
|
+
text-align: center;
|
|
17
|
+
|
|
18
|
+
// Hide middle pages on mobile for compact view
|
|
19
|
+
@media screen and (max-width: $sm-width) {
|
|
20
|
+
&:not(.current):not(:first-child):not(:last-child):not(:nth-last-child(2)):not(:nth-child(2)) {
|
|
21
|
+
display: none;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.page a,
|
|
27
|
+
.next a,
|
|
28
|
+
.last a,
|
|
29
|
+
.first a,
|
|
30
|
+
.prev a {
|
|
31
|
+
padding: .3rem .4rem;
|
|
32
|
+
color: $text-color;
|
|
33
|
+
border-radius: $border-radius-small;
|
|
34
|
+
transition: all 0.2s ease;
|
|
35
|
+
display: inline-flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
min-width: 32px;
|
|
39
|
+
min-height: 32px;
|
|
40
|
+
@include no-tap-highlight;
|
|
41
|
+
|
|
42
|
+
@media screen and (max-width: $sm-width) {
|
|
43
|
+
min-width: 44px;
|
|
44
|
+
min-height: 44px;
|
|
45
|
+
padding: .5rem .6rem;
|
|
46
|
+
font-size: 14px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:hover {
|
|
50
|
+
background-color: rgba($indigo, 0.1);
|
|
51
|
+
color: $indigo;
|
|
52
|
+
transform: translateY(-1px);
|
|
53
|
+
|
|
54
|
+
@media screen and (max-width: $sm-width) {
|
|
55
|
+
transform: none;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.page.current {
|
|
61
|
+
background: linear-gradient(135deg, $indigo 0%, $indigo-dark 100%);
|
|
62
|
+
color: #fff;
|
|
63
|
+
font-weight: 700;
|
|
64
|
+
border-radius: $border-radius-small;
|
|
65
|
+
padding: .3rem .4rem;
|
|
66
|
+
cursor: normal;
|
|
67
|
+
min-width: 32px;
|
|
68
|
+
min-height: 32px;
|
|
69
|
+
display: inline-flex;
|
|
70
|
+
align-items: center;
|
|
71
|
+
justify-content: center;
|
|
72
|
+
|
|
73
|
+
@media screen and (max-width: $sm-width) {
|
|
74
|
+
min-width: 44px;
|
|
75
|
+
min-height: 44px;
|
|
76
|
+
padding: .5rem .6rem;
|
|
77
|
+
font-size: 14px;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
.panel {
|
|
2
|
+
border-radius: $border-radius-card;
|
|
3
|
+
box-shadow: $box-shadow-card;
|
|
4
|
+
transition: all 0.3s ease;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
|
|
7
|
+
@media screen and (max-width: $sm-width) {
|
|
8
|
+
border-radius: $border-radius-small;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&:hover {
|
|
12
|
+
box-shadow: $box-shadow-hover;
|
|
13
|
+
transform: translateY(-4px);
|
|
14
|
+
|
|
15
|
+
@media screen and (max-width: $md-width) {
|
|
16
|
+
transform: none;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
h3,
|
|
21
|
+
.panel_title {
|
|
22
|
+
text-transform: uppercase;
|
|
23
|
+
font-weight: 800;
|
|
24
|
+
letter-spacing: 1.2px;
|
|
25
|
+
color: $indigo-dark;
|
|
26
|
+
font-family: $font-family-accent;
|
|
27
|
+
|
|
28
|
+
@media screen and (max-width: $sm-width) {
|
|
29
|
+
font-size: 14px;
|
|
30
|
+
letter-spacing: 0.8px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.panel_contents {
|
|
36
|
+
background: #fff;
|
|
37
|
+
|
|
38
|
+
@media screen and (max-width: $sm-width) {
|
|
39
|
+
padding: 10px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.paginated_collection {
|
|
43
|
+
#index_footer {
|
|
44
|
+
margin: 10px;
|
|
45
|
+
text-align: right;
|
|
46
|
+
font-size: 12px;
|
|
47
|
+
|
|
48
|
+
@media screen and (max-width: $sm-width) {
|
|
49
|
+
text-align: center;
|
|
50
|
+
margin: 8px;
|
|
51
|
+
font-size: 11px;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
th {
|
|
57
|
+
text-align: left;
|
|
58
|
+
padding: 8px;
|
|
59
|
+
|
|
60
|
+
@media screen and (max-width: $sm-width) {
|
|
61
|
+
padding: 6px;
|
|
62
|
+
font-size: 12px;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.attributes_table {
|
|
68
|
+
th {
|
|
69
|
+
font-weight: 700;
|
|
70
|
+
text-transform: uppercase;
|
|
71
|
+
letter-spacing: 0.5px;
|
|
72
|
+
font-size: 12px;
|
|
73
|
+
color: $indigo-dark;
|
|
74
|
+
|
|
75
|
+
@media screen and (max-width: $sm-width) {
|
|
76
|
+
font-size: 11px;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
td.monospace {
|
|
81
|
+
font-family: $font-family-mono;
|
|
82
|
+
font-weight: 600;
|
|
83
|
+
color: $indigo;
|
|
84
|
+
|
|
85
|
+
@media screen and (max-width: $sm-width) {
|
|
86
|
+
font-size: 12px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
#filters_sidebar_section {
|
|
92
|
+
.panel {
|
|
93
|
+
background: linear-gradient(135deg, rgba($indigo, 0.03) 0%, rgba($indigo, 0.01) 100%);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.filter_form_field label {
|
|
97
|
+
font-weight: 600;
|
|
98
|
+
color: $indigo-dark;
|
|
99
|
+
text-transform: uppercase;
|
|
100
|
+
font-size: 11px;
|
|
101
|
+
letter-spacing: 0.5px;
|
|
102
|
+
|
|
103
|
+
@media screen and (max-width: $sm-width) {
|
|
104
|
+
font-size: 10px;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.dashboard {
|
|
110
|
+
.panel {
|
|
111
|
+
background: #fff;
|
|
112
|
+
border-left: 4px solid $indigo;
|
|
113
|
+
|
|
114
|
+
@media screen and (max-width: $sm-width) {
|
|
115
|
+
border-left-width: 3px;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.attributes_table {
|
|
120
|
+
border-spacing: 0 4px;
|
|
121
|
+
|
|
122
|
+
@media screen and (max-width: $sm-width) {
|
|
123
|
+
border-spacing: 0 2px;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|