swop 0.1.0 → 0.1.1
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 +4 -4
- data/app/assets/javascripts/rails_admin/application.js.erb +3 -2
- data/app/assets/javascripts/rails_admin/custom/abstract-select.js +30 -0
- data/app/assets/javascripts/rails_admin/custom/filter-box.js +363 -0
- data/app/assets/javascripts/rails_admin/custom/filtering-multiselect.js +387 -0
- data/app/assets/javascripts/rails_admin/custom/filtering-select.js +1 -1
- data/app/assets/stylesheets/rails_admin/application.scss.erb +19 -33
- data/app/assets/stylesheets/rails_admin/{custom → themes}/base/base.scss +4 -0
- data/app/assets/stylesheets/rails_admin/themes/base/bootstrap-variables.scss +252 -0
- data/app/assets/stylesheets/rails_admin/{custom → themes}/base/mixins.scss +0 -16
- data/app/assets/stylesheets/rails_admin/themes/base/theming.scss +22 -0
- data/app/assets/stylesheets/rails_admin/themes/base/variables.scss +71 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/base/typography.scss +22 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/base/variables-dark.scss +74 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/base/variables-light.scss +77 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/base/variables-navy.scss +74 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/base/variables.scss +129 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/components/alerts.scss +88 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/components/breadcrumbs.scss +44 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/components/buttons.scss +138 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/components/containers.scss +15 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/components/dropdowns.scss +12 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/components/filter-box.scss +8 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/components/filtering-multiselect.scss +40 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/components/filtering-select.scss +42 -0
- data/app/assets/stylesheets/rails_admin/{custom → themes/simple}/components/forms.scss +4 -2
- data/app/assets/stylesheets/rails_admin/{custom → themes/simple}/components/images.scss +4 -6
- data/app/assets/stylesheets/rails_admin/themes/simple/components/links.scss +25 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/components/navs.scss +73 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/components/progress.scss +4 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/components/sidebar.scss +84 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/components/tables.scss +84 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/layouts/rows.scss +34 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/light/components/links.scss +15 -0
- data/app/assets/stylesheets/rails_admin/themes/simple/light/components/sidebar.scss +25 -0
- data/app/assets/stylesheets/rails_admin/themes/simple.scss.erb +37 -0
- data/app/helpers/rails_admin/application_helper.rb +34 -46
- data/app/helpers/rails_admin/form_builder.rb +166 -0
- data/app/views/layouts/rails_admin/_custom_navigation.html.erb +10 -0
- data/app/views/layouts/rails_admin/_head.html.erb +32 -0
- data/app/views/layouts/rails_admin/_header.html.erb +43 -0
- data/app/views/layouts/rails_admin/_sidebar_navigation.html.erb +3 -1
- data/app/views/layouts/rails_admin/application.html.erb +15 -12
- data/app/views/layouts/rails_admin/content.html.erb +6 -51
- data/app/views/rails_admin/main/_form_polymorphic_association.html.erb +15 -0
- data/app/views/rails_admin/main/_submit_buttons.html.erb +22 -18
- data/app/views/rails_admin/main/dashboard.html.erb +49 -55
- data/app/views/rails_admin/main/export.html.erb +23 -23
- data/app/views/rails_admin/main/history.html.erb +87 -0
- data/app/views/rails_admin/main/index.html.erb +60 -56
- data/app/views/rails_admin/main/show.html.erb +15 -23
- data/config/locales/rails_admin.en.yml +158 -0
- data/lib/swop/version.rb +1 -1
- data/lib/swop.rb +1 -0
- metadata +41 -28
- data/app/assets/javascripts/rails_admin/custom/sidescroll.js +0 -20
- data/app/assets/javascripts/rails_admin/custom/ui.js +0 -11
- data/app/assets/stylesheets/rails_admin/custom/base/bootstrap-variables.scss +0 -196
- data/app/assets/stylesheets/rails_admin/custom/base/typography.scss +0 -16
- data/app/assets/stylesheets/rails_admin/custom/base/variables.scss +0 -86
- data/app/assets/stylesheets/rails_admin/custom/components/breadcrumbs.scss +0 -18
- data/app/assets/stylesheets/rails_admin/custom/components/buttons.scss +0 -55
- data/app/assets/stylesheets/rails_admin/custom/components/dropdowns.scss +0 -40
- data/app/assets/stylesheets/rails_admin/custom/components/filtering-select.scss +0 -43
- data/app/assets/stylesheets/rails_admin/custom/components/navbar.scss +0 -18
- data/app/assets/stylesheets/rails_admin/custom/components/navs.scss +0 -28
- data/app/assets/stylesheets/rails_admin/custom/components/offcanvas.scss +0 -18
- data/app/assets/stylesheets/rails_admin/custom/components/progress.scss +0 -11
- data/app/assets/stylesheets/rails_admin/custom/components/sidebar.scss +0 -115
- data/app/assets/stylesheets/rails_admin/custom/components/table.scss +0 -59
- data/app/assets/stylesheets/rails_admin/custom/components/tiles.scss +0 -20
- data/app/assets/stylesheets/rails_admin/custom/layouts/body.scss +0 -10
- data/app/assets/stylesheets/rails_admin/custom/layouts/containers.scss +0 -31
- data/app/views/layouts/rails_admin/custom/_nav.html.erb +0 -10
- data/app/views/rails_admin/main/delete.html.erb +0 -19
- data/app/views/rails_admin/main/edit.html.erb +0 -5
- data/app/views/rails_admin/main/new.html.erb +0 -5
@@ -1,196 +0,0 @@
|
|
1
|
-
// Color system
|
2
|
-
$white: $white;
|
3
|
-
$black: $black;
|
4
|
-
|
5
|
-
$primary: $primary-color;
|
6
|
-
$secondary: $secondary-color;
|
7
|
-
$success: $success-color;
|
8
|
-
$info: $info-color;
|
9
|
-
$warning: $warning-color;
|
10
|
-
$danger: $danger-color;
|
11
|
-
$light: $light-color;
|
12
|
-
$dark: $dark-color;
|
13
|
-
|
14
|
-
// Spacing
|
15
|
-
$spacer: $spacer;
|
16
|
-
$spacers: (
|
17
|
-
0: 0,
|
18
|
-
1: $spacer-1,
|
19
|
-
2: $spacer-2,
|
20
|
-
3: $spacer-3,
|
21
|
-
4: $spacer-4,
|
22
|
-
5: $spacer-5,
|
23
|
-
6: $spacer-6,
|
24
|
-
7: $spacer-7,
|
25
|
-
8: $spacer-8,
|
26
|
-
9: $spacer-9,
|
27
|
-
10: $spacer-10,
|
28
|
-
11: $spacer-11
|
29
|
-
);
|
30
|
-
|
31
|
-
// Body
|
32
|
-
$body-color: $text-color;
|
33
|
-
$body-bg: $light-color;
|
34
|
-
|
35
|
-
$body-secondary-color: $text-secondary-color;
|
36
|
-
$text-muted: $text-secondary-color;
|
37
|
-
|
38
|
-
// Links
|
39
|
-
$link-decoration: none;
|
40
|
-
|
41
|
-
// Paragraphs
|
42
|
-
$paragraph-margin-bottom: $spacer-3;
|
43
|
-
|
44
|
-
// Grid columns
|
45
|
-
$grid-columns: 24;
|
46
|
-
$grid-gutter-width: $spacer-6;
|
47
|
-
|
48
|
-
// Components
|
49
|
-
$border-width: $border-width;
|
50
|
-
$border-color: $border-color;
|
51
|
-
|
52
|
-
$border-radius: $md-border-radius;
|
53
|
-
$border-radius-sm: $sm-border-radius;
|
54
|
-
$border-radius-lg: $lg-border-radius;
|
55
|
-
|
56
|
-
$box-shadow: $md-box-shadow;
|
57
|
-
$box-shadow-lg: $lg-box-shadow;
|
58
|
-
|
59
|
-
$transition-base: $md-transition;
|
60
|
-
|
61
|
-
// Typography
|
62
|
-
$font-family-sans-serif: $body-family;
|
63
|
-
|
64
|
-
$font-size-base: $base-font-size;
|
65
|
-
$font-size-sm: $sm-font-size;
|
66
|
-
$font-size-lg: $lg-font-size;
|
67
|
-
|
68
|
-
$font-weight-normal: $fw-normal;
|
69
|
-
$font-weight-medium: $fw-medium;
|
70
|
-
$font-weight-semibold: $fw-semibold;
|
71
|
-
$font-weight-bold: $fw-bold;
|
72
|
-
|
73
|
-
$font-weight-base: $fw-medium;
|
74
|
-
|
75
|
-
$line-height-base: 1.625;
|
76
|
-
|
77
|
-
$h1-font-size: $h1-font-size;
|
78
|
-
$h2-font-size: $h2-font-size;
|
79
|
-
$h3-font-size: $h3-font-size;
|
80
|
-
$h4-font-size: $h4-font-size;
|
81
|
-
$h5-font-size: $h5-font-size;
|
82
|
-
$h6-font-size: $h6-font-size;
|
83
|
-
|
84
|
-
$headings-margin-bottom: $spacer-2;
|
85
|
-
$headings-font-family: $headings-family;
|
86
|
-
$headings-font-weight: $fw-extrabold;
|
87
|
-
$headings-color: $dark-color;
|
88
|
-
|
89
|
-
$lead-font-size: $lg-font-size;
|
90
|
-
$lead-font-weight: $fw-medium;
|
91
|
-
|
92
|
-
$hr-margin-y: 0;
|
93
|
-
$hr-color: $border-color;
|
94
|
-
|
95
|
-
$hr-border-color: $border-color;
|
96
|
-
$hr-border-width: $border-width;
|
97
|
-
$hr-opacity: 1;
|
98
|
-
|
99
|
-
// Buttons + Forms
|
100
|
-
$input-btn-padding-y: $spacer * 1.75; // 7px
|
101
|
-
$input-btn-padding-x: $spacer * 3.5; // 14px
|
102
|
-
|
103
|
-
$input-btn-padding-y-sm: $spacer * 1.5; // 6px
|
104
|
-
$input-btn-padding-x-sm: $spacer * 3; // 12px
|
105
|
-
|
106
|
-
$input-btn-padding-y-lg: $spacer * 2; // 8px
|
107
|
-
$input-btn-padding-x-lg: $spacer * 4; // 16px
|
108
|
-
|
109
|
-
// Buttons
|
110
|
-
$btn-padding-x: $spacer * 4; // 16px
|
111
|
-
|
112
|
-
$btn-padding-x-sm: $spacer * 3.5; // 14px
|
113
|
-
|
114
|
-
$btn-padding-x-lg: $spacer * 5; // 20px
|
115
|
-
|
116
|
-
$btn-font-weight: $fw-bold;
|
117
|
-
|
118
|
-
$btn-border-radius: $spacer * 2.5; // 10px
|
119
|
-
$btn-border-radius-sm: $spacer * 2; // 8px
|
120
|
-
$btn-border-radius-lg: $spacer * 3; // 12px
|
121
|
-
|
122
|
-
// Forms
|
123
|
-
$form-text-margin-top: $spacer-1;
|
124
|
-
$form-text-font-size: $sm-font-size;
|
125
|
-
$form-text-color: $text-secondary-color;
|
126
|
-
|
127
|
-
$form-label-margin-bottom: $spacer-1;
|
128
|
-
$form-label-font-size: $sm-font-size;
|
129
|
-
$form-label-font-weight: $fw-semibold;
|
130
|
-
$form-label-color: $dark-color;
|
131
|
-
|
132
|
-
$input-bg: $white;
|
133
|
-
$input-disabled-color: $text-secondary-color;
|
134
|
-
$input-disabled-bg: $light-color;
|
135
|
-
$input-disabled-border-color: $light-color;
|
136
|
-
|
137
|
-
$input-border-color: $border-color;
|
138
|
-
|
139
|
-
$form-check-padding-start: $spacer-7;
|
140
|
-
$form-check-margin-bottom: 0;
|
141
|
-
$form-check-label-color: $form-label-color;
|
142
|
-
|
143
|
-
$form-check-input-border: $border-width solid $border-color;
|
144
|
-
|
145
|
-
$form-switch-color: $border-color;
|
146
|
-
$form-switch-padding-start: 0;
|
147
|
-
|
148
|
-
// Navbar
|
149
|
-
$navbar-toggler-padding-y: $spacer-1;
|
150
|
-
$navbar-toggler-padding-x: $spacer-1;
|
151
|
-
$navbar-toggler-font-size: 0;
|
152
|
-
|
153
|
-
// Dropdowns
|
154
|
-
$dropdown-min-width: rem(175px);
|
155
|
-
$dropdown-padding-x: 0;
|
156
|
-
$dropdown-padding-y: $spacer-2;
|
157
|
-
$dropdown-spacer: $spacer-2;
|
158
|
-
$dropdown-font-size: $sm-font-size;
|
159
|
-
$dropdown-border-width: 0;
|
160
|
-
$dropdown-divider-margin-y: $spacer-4;
|
161
|
-
|
162
|
-
$dropdown-link-hover-color: $dark-color;
|
163
|
-
$dropdown-link-hover-bg: rgba($dark-color, 0.05);
|
164
|
-
|
165
|
-
$dropdown-link-active-color: $dark-color;
|
166
|
-
$dropdown-link-active-bg: rgba($dark-color, 0.05);
|
167
|
-
|
168
|
-
$dropdown-link-disabled-color: $text-secondary-color;
|
169
|
-
|
170
|
-
$dropdown-item-padding-y: $spacer * 1.75; // 7px
|
171
|
-
$dropdown-item-padding-x: $spacer-4;
|
172
|
-
|
173
|
-
$dropdown-header-color: $text-secondary-color;
|
174
|
-
$dropdown-header-padding-x: $dropdown-item-padding-x;
|
175
|
-
$dropdown-header-padding-y: $dropdown-padding-y;
|
176
|
-
$dropdown-header-padding: $dropdown-header-padding-y $dropdown-header-padding-x;
|
177
|
-
|
178
|
-
// Progress bars
|
179
|
-
$progress-height: rem(16px);
|
180
|
-
$progress-font-size: $xs-font-size;
|
181
|
-
$progress-bg: $border-color;
|
182
|
-
$progress-border-radius: $lg-border-radius;
|
183
|
-
|
184
|
-
// Badges
|
185
|
-
$badge-font-size: $xs-font-size;
|
186
|
-
$badge-padding-y: $spacer-1;
|
187
|
-
$badge-padding-x: $spacer-2;
|
188
|
-
$badge-border-radius: $sm-border-radius;
|
189
|
-
|
190
|
-
// Offcanvas
|
191
|
-
$offcanvas-padding-y: $spacer-4;
|
192
|
-
$offcanvas-padding-x: $spacer-3;
|
193
|
-
$offcanvas-horizontal-width: rem(299px);
|
194
|
-
$offcanvas-border-width: 0;
|
195
|
-
$offcanvas-bg-color: transparent;
|
196
|
-
$offcanvas-box-shadow: none;
|
@@ -1,86 +0,0 @@
|
|
1
|
-
// Colors
|
2
|
-
$white: #fff;
|
3
|
-
$black: #000;
|
4
|
-
|
5
|
-
$azure: #245ae4; // Private – Primary color
|
6
|
-
$jnquil: #ffd334; // Private – Secondary color
|
7
|
-
$lime-green: #00c648; // Private – Success color
|
8
|
-
$amethyst: #b652e4; // Private – Info color
|
9
|
-
$princeton-orange: #fc9e34; // Private – Warning color
|
10
|
-
$vermilion: #e4150a; // Private – Danger color
|
11
|
-
$ghost-white: #f3f6ff; // Private – Light color
|
12
|
-
$eerie-black: #20284e; // Private – Dark color
|
13
|
-
|
14
|
-
$dim-gray: #606884; // Private – Text color
|
15
|
-
$taupe-gray: #8C8ea2; // Private – Text secondary color
|
16
|
-
|
17
|
-
$platinum: #ecf0fa; // Private – Border color
|
18
|
-
|
19
|
-
$primary-color: $azure;
|
20
|
-
$secondary-color: $jnquil;
|
21
|
-
$success-color: $lime-green;
|
22
|
-
$info-color: $amethyst;
|
23
|
-
$warning-color: $princeton-orange;
|
24
|
-
$danger-color: $vermilion;
|
25
|
-
$light-color: $ghost-white;
|
26
|
-
$dark-color: $eerie-black;
|
27
|
-
|
28
|
-
$text-color: $dim-gray;
|
29
|
-
$text-secondary-color: $taupe-gray;
|
30
|
-
|
31
|
-
$primary-gradient: linear-gradient(125deg, lighten($primary-color, 2.5%) 0%, darken($primary-color, 2.5%) 100%);
|
32
|
-
|
33
|
-
// Spacing
|
34
|
-
$spacer: rem(4px);
|
35
|
-
$spacer-1: $spacer; // 4px
|
36
|
-
$spacer-2: $spacer * 2; // 8px
|
37
|
-
$spacer-3: $spacer * 3; // 12px
|
38
|
-
$spacer-4: $spacer * 4; // 16px
|
39
|
-
$spacer-5: $spacer * 5; // 20px
|
40
|
-
$spacer-6: $spacer * 6; // 24px
|
41
|
-
$spacer-7: $spacer * 7; // 28px
|
42
|
-
$spacer-8: $spacer * 8; // 32px
|
43
|
-
$spacer-9: $spacer * 10; // 40px
|
44
|
-
$spacer-10: $spacer * 12; // 48px
|
45
|
-
$spacer-11: $spacer * 14; // 56px
|
46
|
-
|
47
|
-
// Components
|
48
|
-
$border-width: rem(1px);
|
49
|
-
$border-color: $platinum;
|
50
|
-
|
51
|
-
$base-border-radius: rem(4px);
|
52
|
-
$md-border-radius: $base-border-radius * 2; // 8px
|
53
|
-
$sm-border-radius: $base-border-radius; // 4px
|
54
|
-
$lg-border-radius: $base-border-radius * 3; // 12px
|
55
|
-
$xl-border-radius: $base-border-radius * 5; // 16px
|
56
|
-
|
57
|
-
$md-box-shadow: 0 0 rem(16px 12px) rgba(darken($primary-color, 5%), 0.025);
|
58
|
-
$lg-box-shadow: 0 0 rem(24px 16px) rgba(darken($primary-color, 5%), 0.05);
|
59
|
-
|
60
|
-
// Typography
|
61
|
-
$body-family: "Mulish", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
62
|
-
|
63
|
-
$base-font-size: rem(16px);
|
64
|
-
|
65
|
-
$md-font-size: $base-font-size; // 16px
|
66
|
-
$xs-font-size: $base-font-size * 0.786625; // 12.586px
|
67
|
-
$sm-font-size: $base-font-size * 0.8869375; // 14.191px
|
68
|
-
$lg-font-size: $base-font-size * 1.1275; // 18.04px
|
69
|
-
|
70
|
-
$fw-normal: 400;
|
71
|
-
$fw-medium: 500;
|
72
|
-
$fw-semibold: 600;
|
73
|
-
$fw-bold: 700;
|
74
|
-
$fw-extrabold: 800;
|
75
|
-
|
76
|
-
$h1-font-size: $base-font-size * 2.0544375; // 32.871px
|
77
|
-
$h2-font-size: $base-font-size * 1.822125; // 29.154px
|
78
|
-
$h3-font-size: $base-font-size * 1.6160625; // 25.857px
|
79
|
-
$h4-font-size: $base-font-size * 1.4333125; // 22.933px
|
80
|
-
$h5-font-size: $base-font-size * 1.27125; // 20.34px
|
81
|
-
$h6-font-size: $base-font-size * 1.1275; // 18.04px
|
82
|
-
|
83
|
-
$headings-family: "Mulish", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
84
|
-
|
85
|
-
// Other
|
86
|
-
$md-transition: all 0.275s cubic-bezier(0.1, 0, 0.1, 1);
|
@@ -1,18 +0,0 @@
|
|
1
|
-
.breadcrumb {
|
2
|
-
font-size: $sm-font-size;
|
3
|
-
font-weight: $fw-semibold;
|
4
|
-
line-height: 1;
|
5
|
-
margin-bottom: $spacer-2;
|
6
|
-
|
7
|
-
&-item {
|
8
|
-
align-items: baseline;
|
9
|
-
display: flex;
|
10
|
-
|
11
|
-
& + .breadcrumb-item::before {
|
12
|
-
@extend .fa-sm;
|
13
|
-
@extend .fa-solid;
|
14
|
-
color: $primary-color;
|
15
|
-
content: "\f105";
|
16
|
-
}
|
17
|
-
}
|
18
|
-
}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
.btn {
|
2
|
-
letter-spacing: -0.01em;
|
3
|
-
transition: $md-transition;
|
4
|
-
|
5
|
-
&-square {
|
6
|
-
padding: 0;
|
7
|
-
|
8
|
-
&.btn-sm {
|
9
|
-
height: rem(36px);
|
10
|
-
width: rem(36px);
|
11
|
-
}
|
12
|
-
}
|
13
|
-
|
14
|
-
&-dropdown {
|
15
|
-
transition: none;
|
16
|
-
color: $text-secondary-color;
|
17
|
-
|
18
|
-
&:hover,
|
19
|
-
&.show {
|
20
|
-
background: linear-gradient($white, $white) padding-box, linear-gradient(darken($border-color, 3%), darken($border-color, 5%)) border-box;
|
21
|
-
box-shadow: 0 rem(1px 2px 0px) rgba($dark-color, 0.0875);
|
22
|
-
}
|
23
|
-
}
|
24
|
-
|
25
|
-
&-white {
|
26
|
-
background: linear-gradient($white, $white) padding-box, linear-gradient(darken($border-color, 1%), darken($border-color, 1.75%)) border-box;
|
27
|
-
box-shadow: 0 rem(2px 3px -1px) rgba($dark-color, 0.075);
|
28
|
-
|
29
|
-
@include button-variant(
|
30
|
-
$background: $white,
|
31
|
-
$border: darken($border-color, 3.25%),
|
32
|
-
$color: $dark-color,
|
33
|
-
$hover-background: $white,
|
34
|
-
$hover-border: transparent,
|
35
|
-
$hover-color: $dark-color,
|
36
|
-
$active-background: $white,
|
37
|
-
$active-border:transparent,
|
38
|
-
$active-color: $dark-color,
|
39
|
-
$disabled-background: $white,
|
40
|
-
$disabled-border: lighten($border-color, 3.25%),
|
41
|
-
$disabled-color: $text-secondary-color
|
42
|
-
);
|
43
|
-
|
44
|
-
&:hover {
|
45
|
-
background: linear-gradient($white, $white) padding-box, linear-gradient(darken($border-color, 3%), darken($border-color, 5%)) border-box;
|
46
|
-
box-shadow: 0 rem(1px 2px 0px) rgba($dark-color, 0.0875);
|
47
|
-
}
|
48
|
-
|
49
|
-
.input-group & {
|
50
|
-
background-color: $white;
|
51
|
-
border-color: $border-color;
|
52
|
-
box-shadow: none;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
.dropdown {
|
2
|
-
|
3
|
-
&-menu {
|
4
|
-
border: $border-width solid $border-color;
|
5
|
-
box-shadow: $md-box-shadow;
|
6
|
-
}
|
7
|
-
|
8
|
-
&-item {
|
9
|
-
font-weight: $fw-semibold;
|
10
|
-
|
11
|
-
.fa-solid,
|
12
|
-
.fas {
|
13
|
-
color: $text-secondary-color;
|
14
|
-
margin-right: $spacer-2;
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
&-admin {
|
19
|
-
|
20
|
-
.btn {
|
21
|
-
|
22
|
-
@include media-breakpoint-up(md) {
|
23
|
-
max-width: rem(200px);
|
24
|
-
overflow: hidden;
|
25
|
-
}
|
26
|
-
|
27
|
-
@include media-breakpoint-up(xl) {
|
28
|
-
max-width: rem(225px);
|
29
|
-
}
|
30
|
-
|
31
|
-
@include media-breakpoint-up(xxl) {
|
32
|
-
max-width: rem(250px);
|
33
|
-
}
|
34
|
-
|
35
|
-
&:focus {
|
36
|
-
box-shadow: none;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
}
|
40
|
-
}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
.ui {
|
2
|
-
|
3
|
-
&-widget {
|
4
|
-
font-family: $body-family;
|
5
|
-
font-size: $md-font-size;
|
6
|
-
|
7
|
-
&-content {
|
8
|
-
border: $border-width solid $border-color;
|
9
|
-
|
10
|
-
a {
|
11
|
-
color: $dark-color;
|
12
|
-
}
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
&-menu {
|
17
|
-
box-shadow: none;
|
18
|
-
padding: $spacer-2 0;
|
19
|
-
|
20
|
-
& &-item a {
|
21
|
-
padding: $spacer * 1.75 $spacer-4; // 7px
|
22
|
-
|
23
|
-
&.ui-state-hover,
|
24
|
-
&.ui-state-active {
|
25
|
-
background-color: rgba($dark-color, 0.05);
|
26
|
-
border: unset;
|
27
|
-
color: $dark-color;
|
28
|
-
margin: unset;
|
29
|
-
text-shadow: unset;
|
30
|
-
}
|
31
|
-
|
32
|
-
span {
|
33
|
-
color: $text-secondary-color;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
&-autocomplete {
|
39
|
-
border-radius: $md-border-radius;
|
40
|
-
box-shadow: none;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
|
@@ -1,18 +0,0 @@
|
|
1
|
-
.navbar {
|
2
|
-
|
3
|
-
&-toggler {
|
4
|
-
|
5
|
-
.navbar-toggler-icon {
|
6
|
-
background-color: $dark-color;
|
7
|
-
background-image: none;
|
8
|
-
border-radius: $sm-border-radius;
|
9
|
-
display: block;
|
10
|
-
height: rem(2px);
|
11
|
-
width: rem(28px);
|
12
|
-
|
13
|
-
& + .navbar-toggler-icon {
|
14
|
-
margin-top: $spacer-2;
|
15
|
-
}
|
16
|
-
}
|
17
|
-
}
|
18
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
.nav {
|
2
|
-
|
3
|
-
&-tabs {
|
4
|
-
|
5
|
-
&-main-show {
|
6
|
-
border: none;
|
7
|
-
|
8
|
-
li.show_member_link {
|
9
|
-
display: none
|
10
|
-
}
|
11
|
-
|
12
|
-
li.edit_member_link .dropdown-item {
|
13
|
-
@extend .btn;
|
14
|
-
@extend .btn-white;
|
15
|
-
}
|
16
|
-
|
17
|
-
li.delete_member_link .dropdown-item {
|
18
|
-
@extend .btn;
|
19
|
-
@extend .btn-danger;
|
20
|
-
margin-left: $spacer-3;
|
21
|
-
|
22
|
-
.fas {
|
23
|
-
color: $white;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|
28
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
.offcanvas {
|
2
|
-
transition: $md-transition;
|
3
|
-
|
4
|
-
&-body {
|
5
|
-
padding: $spacer-4 $spacer-3;
|
6
|
-
|
7
|
-
@include media-breakpoint-up(md) {
|
8
|
-
padding: $spacer-5 $spacer-4;
|
9
|
-
}
|
10
|
-
}
|
11
|
-
|
12
|
-
.sidebar {
|
13
|
-
display: block;
|
14
|
-
height: 100%;
|
15
|
-
position: relative;
|
16
|
-
width: 100%;
|
17
|
-
}
|
18
|
-
}
|
@@ -1,115 +0,0 @@
|
|
1
|
-
.sidebar {
|
2
|
-
background-position: center;
|
3
|
-
background-repeat: no-repeat;
|
4
|
-
background-size: cover;
|
5
|
-
background: $primary-gradient;
|
6
|
-
border-radius: $xl-border-radius;
|
7
|
-
bottom: 0;
|
8
|
-
box-shadow: $lg-box-shadow;
|
9
|
-
display: none;
|
10
|
-
left: 0;
|
11
|
-
padding: $spacer-2;
|
12
|
-
position: fixed;
|
13
|
-
top: 0;
|
14
|
-
transition: $md-transition;
|
15
|
-
|
16
|
-
@include media-breakpoint-up(lg) {
|
17
|
-
bottom: $spacer-6;
|
18
|
-
display: block;
|
19
|
-
left: $spacer-4;
|
20
|
-
top: $spacer-6;
|
21
|
-
width: rem(250px);
|
22
|
-
}
|
23
|
-
|
24
|
-
li {
|
25
|
-
margin-bottom: 0 !important;
|
26
|
-
|
27
|
-
& + li .btn-toggle {
|
28
|
-
border: 0;
|
29
|
-
color: rgba($white, 0.675);
|
30
|
-
font-size: $xs-font-size;
|
31
|
-
font-weight: $fw-medium;
|
32
|
-
line-height: 1;
|
33
|
-
margin-bottom: $spacer-2;
|
34
|
-
margin-top: $spacer-2;
|
35
|
-
padding: $spacer-5 $spacer-4 $spacer-1 $spacer-4;
|
36
|
-
pointer-events: none;
|
37
|
-
position: relative;
|
38
|
-
text-align: start;
|
39
|
-
width: 100%;
|
40
|
-
|
41
|
-
&::before {
|
42
|
-
background-color: rgba($white, 0.15);
|
43
|
-
content: "";
|
44
|
-
height: $border-width;
|
45
|
-
left: 0;
|
46
|
-
margin-left: $spacer-4;
|
47
|
-
margin-right: $spacer-4;
|
48
|
-
position: absolute;
|
49
|
-
top: 0;
|
50
|
-
width: calc(100% - #{$spacer-4 * 2});
|
51
|
-
}
|
52
|
-
|
53
|
-
.fas {
|
54
|
-
display: none;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
}
|
58
|
-
|
59
|
-
.nav-link {
|
60
|
-
border-radius: $base-border-radius * 2.5; // 10px
|
61
|
-
border: 0;
|
62
|
-
color: rgba($white, 0.75);
|
63
|
-
font-size: $sm-font-size;
|
64
|
-
font-weight: $fw-bold;
|
65
|
-
overflow: hidden;
|
66
|
-
padding: $spacer-2 $spacer-4;
|
67
|
-
transition: $md-transition;
|
68
|
-
|
69
|
-
&:hover {
|
70
|
-
|
71
|
-
@include media-breakpoint-up(lg) {
|
72
|
-
background-color: rgba($white, 0.05);
|
73
|
-
color: $white;
|
74
|
-
padding-left: $spacer-5;
|
75
|
-
}
|
76
|
-
}
|
77
|
-
|
78
|
-
&.active {
|
79
|
-
background-color: $white;
|
80
|
-
color: $dark-color;
|
81
|
-
font-weight: $fw-extrabold;
|
82
|
-
position: relative;
|
83
|
-
|
84
|
-
&::after {
|
85
|
-
background-color: lighten(adjust-hue($primary-color, -36%), 8%);
|
86
|
-
border-bottom-left-radius: $sm-border-radius;
|
87
|
-
border-top-left-radius: $sm-border-radius;
|
88
|
-
content: "";
|
89
|
-
height: rem(24px);
|
90
|
-
position: absolute;
|
91
|
-
right: 0;
|
92
|
-
top: 50%;
|
93
|
-
transform: translateY(-45%);
|
94
|
-
width: rem(3px);
|
95
|
-
}
|
96
|
-
|
97
|
-
&:hover {
|
98
|
-
|
99
|
-
@include media-breakpoint-up(lg) {
|
100
|
-
background-color: $white;
|
101
|
-
color: $dark-color;
|
102
|
-
padding-left: $spacer-4;
|
103
|
-
}
|
104
|
-
}
|
105
|
-
|
106
|
-
.fas {
|
107
|
-
color: $primary-color;
|
108
|
-
}
|
109
|
-
}
|
110
|
-
|
111
|
-
.fas {
|
112
|
-
margin-right: $spacer-2;
|
113
|
-
}
|
114
|
-
}
|
115
|
-
}
|
@@ -1,59 +0,0 @@
|
|
1
|
-
|
2
|
-
body.rails_admin .table {
|
3
|
-
margin-left: -$spacer-3;
|
4
|
-
margin-right: -$spacer-3;
|
5
|
-
|
6
|
-
.header {
|
7
|
-
cursor: pointer;
|
8
|
-
padding-bottom: $spacer-1;
|
9
|
-
padding-left: $spacer-3;
|
10
|
-
padding-right: $spacer-7;
|
11
|
-
position: relative;
|
12
|
-
|
13
|
-
&:after {
|
14
|
-
@extend .fa-solid;
|
15
|
-
@extend .fa-xs;
|
16
|
-
border: unset;
|
17
|
-
content: "\f077";
|
18
|
-
float: unset;
|
19
|
-
margin-top: unset;
|
20
|
-
position: absolute;
|
21
|
-
right: rem(25px);
|
22
|
-
top: 50%;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
.headerSortUp::after {
|
27
|
-
@extend .fa-solid;
|
28
|
-
@extend .fa-xs;
|
29
|
-
content: "\f078";
|
30
|
-
position: absolute;
|
31
|
-
right: rem(25px);
|
32
|
-
top: 50%;
|
33
|
-
}
|
34
|
-
|
35
|
-
td {
|
36
|
-
padding: $spacer-1 $spacer-3;
|
37
|
-
}
|
38
|
-
|
39
|
-
th {
|
40
|
-
padding-bottom: $spacer-1;
|
41
|
-
padding-left: $spacer-3;
|
42
|
-
padding-right: $spacer-3;
|
43
|
-
padding-top: 0;
|
44
|
-
}
|
45
|
-
|
46
|
-
& > :not(:first-child) {
|
47
|
-
border-top: rem(1px) solid $border-color;
|
48
|
-
}
|
49
|
-
|
50
|
-
.last {
|
51
|
-
background-color: $white;
|
52
|
-
z-index: 2;
|
53
|
-
}
|
54
|
-
|
55
|
-
.sticky {
|
56
|
-
background-color: $white;
|
57
|
-
z-index: 1;
|
58
|
-
}
|
59
|
-
}
|