sdga-ui 1.0.5 → 1.0.7
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.
- package/.github/workflows/deploy.yml +15 -1
- package/README.md +16 -24
- package/css/dga-ui.css +4146 -1055
- package/css/dga-ui.css.map +1 -1
- package/demo-angular/README.md +34 -2
- package/demo-angular/angular.json +6 -1
- package/demo-angular/package-lock.json +191 -50
- package/demo-angular/package.json +14 -11
- package/demo-angular/public/404.html +35 -0
- package/demo-angular/public/i18n/ar.json +50 -0
- package/demo-angular/public/i18n/en.json +50 -0
- package/demo-angular/src/app/app.routes.ts +12 -4
- package/demo-angular/src/app/app.ts +8 -2
- package/demo-angular/src/app/views/alerts/alerts.component.html +10 -10
- package/demo-angular/src/app/views/alerts/alerts.component.ts +10 -10
- package/demo-angular/src/app/views/buttons/buttons.component.html +23 -23
- package/demo-angular/src/app/views/buttons/buttons.component.ts +14 -14
- package/demo-angular/src/app/views/cards/cards.component.html +6 -6
- package/demo-angular/src/app/views/cards/cards.component.ts +10 -10
- package/demo-angular/src/app/views/contexts/contexts.component.html +204 -0
- package/demo-angular/src/app/views/contexts/contexts.component.ts +10 -0
- package/demo-angular/src/app/views/footer/footer.html +282 -0
- package/demo-angular/src/app/views/footer/footer.spec.ts +23 -0
- package/demo-angular/src/app/views/footer/footer.ts +142 -0
- package/demo-angular/src/app/views/header/header.html +1 -0
- package/demo-angular/src/app/views/header/header.scss +0 -0
- package/demo-angular/src/app/views/header/header.spec.ts +23 -0
- package/demo-angular/src/app/views/header/header.ts +11 -0
- package/demo-angular/src/app/views/home/home.component.html +0 -5
- package/demo-angular/src/app/views/links/links.component.html +11 -130
- package/demo-angular/src/app/views/links/links.component.scss +1 -50
- package/demo-angular/src/app/views/links/links.component.ts +5 -109
- package/demo-angular/src/app/views/toasts/toasts.component.html +7 -7
- package/demo-angular/src/app/views/toasts/toasts.component.ts +7 -7
- package/demo-angular/src/index.html +15 -1
- package/package.json +3 -2
- package/sdga-ui/README.md +45 -0
- package/sdga-ui/content/docs/components/alerts.mdx +475 -0
- package/sdga-ui/content/docs/index.mdx +239 -0
- package/sdga-ui/next.config.mjs +10 -0
- package/sdga-ui/package-lock.json +5851 -0
- package/sdga-ui/package.json +32 -0
- package/sdga-ui/postcss.config.mjs +5 -0
- package/sdga-ui/source.config.ts +27 -0
- package/sdga-ui/src/app/(home)/layout.tsx +6 -0
- package/sdga-ui/src/app/(home)/page.tsx +202 -0
- package/sdga-ui/src/app/api/search/route.ts +7 -0
- package/sdga-ui/src/app/docs/[[...slug]]/page.tsx +54 -0
- package/sdga-ui/src/app/docs/layout.tsx +11 -0
- package/sdga-ui/src/app/global.css +3 -0
- package/sdga-ui/src/app/layout.tsx +25 -0
- package/sdga-ui/src/app/llms-full.txt/route.ts +10 -0
- package/sdga-ui/src/app/og/docs/[...slug]/route.tsx +34 -0
- package/sdga-ui/src/app/sdga-scoped.css +7 -0
- package/sdga-ui/src/components/sdga-preview.tsx +105 -0
- package/sdga-ui/src/lib/layout.shared.tsx +9 -0
- package/sdga-ui/src/lib/source.ts +27 -0
- package/sdga-ui/src/mdx-components.tsx +9 -0
- package/sdga-ui/tsconfig.json +46 -0
- package/theme/_variables.scss +7 -5
- package/theme/components/_buttons.scss +105 -0
- package/theme/components/_cards.scss +0 -1
- package/theme/components/_pagination.scss +2 -2
- package/theme/config/_base.scss +4 -33
- package/theme/config/_contexts.scss +471 -0
- package/theme/customizations/_alerts.scss +105 -125
- package/theme/customizations/_badges.scss +15 -0
- package/theme/customizations/_buttons.scss +288 -146
- package/theme/customizations/_cards.scss +52 -0
- package/theme/customizations/_contexts.scss +432 -0
- package/theme/customizations/_footer.scss +83 -0
- package/theme/customizations/_links.scss +88 -84
- package/theme/customizations/_toasts.scss +81 -101
- package/theme/dga-ui.scss +3 -2
- package/demo-angular/src/app/views/bootstrap/bootstrap.component.html +0 -14
- package/demo-angular/src/app/views/bootstrap/bootstrap.component.scss +0 -91
- package/demo-angular/src/app/views/bootstrap/bootstrap.component.ts +0 -23
- package/theme/customizations/_utilities.scss +0 -138
- /package/demo-angular/{public/.nojekyll → src/app/views/footer/footer.scss} +0 -0
|
@@ -1,4 +1,69 @@
|
|
|
1
1
|
// Toast Customizations - SDGA Custom Enhancements
|
|
2
|
+
// Following Bootstrap 5.3 recommended practices
|
|
3
|
+
|
|
4
|
+
// ============================================
|
|
5
|
+
// TOAST VARIANTS - Using Sass map and @each loop
|
|
6
|
+
// ============================================
|
|
7
|
+
|
|
8
|
+
// Define toast color variants
|
|
9
|
+
$toast-variants: (
|
|
10
|
+
"primary": (
|
|
11
|
+
border-color: rgba($primary-600, 0.7),
|
|
12
|
+
border: $primary-200,
|
|
13
|
+
icon-bg: $primary-50,
|
|
14
|
+
icon-color: $primary-700,
|
|
15
|
+
title-color: $primary-700
|
|
16
|
+
),
|
|
17
|
+
"secondary": (
|
|
18
|
+
border-color: rgba($secondary-200, 0.7),
|
|
19
|
+
border: $secondary-200,
|
|
20
|
+
icon-bg: $secondary-50,
|
|
21
|
+
icon-color: $black,
|
|
22
|
+
title-color: $black
|
|
23
|
+
),
|
|
24
|
+
"success": (
|
|
25
|
+
border-color: rgba($success-600, 0.7),
|
|
26
|
+
border: $success-200,
|
|
27
|
+
icon-bg: $success-50,
|
|
28
|
+
icon-color: $success-700,
|
|
29
|
+
title-color: $success-700
|
|
30
|
+
),
|
|
31
|
+
"danger": (
|
|
32
|
+
border-color: rgba($danger-600, 0.7),
|
|
33
|
+
border: $danger-200,
|
|
34
|
+
icon-bg: $danger-50,
|
|
35
|
+
icon-color: $danger-700,
|
|
36
|
+
title-color: $danger-700
|
|
37
|
+
),
|
|
38
|
+
"warning": (
|
|
39
|
+
border-color: rgba($warning-600, 0.7),
|
|
40
|
+
border: $warning-200,
|
|
41
|
+
icon-bg: $warning-50,
|
|
42
|
+
icon-color: $warning-700,
|
|
43
|
+
title-color: $warning-700
|
|
44
|
+
),
|
|
45
|
+
"info": (
|
|
46
|
+
border-color: rgba($info-600, 0.7),
|
|
47
|
+
border: $info-200,
|
|
48
|
+
icon-bg: $info-50,
|
|
49
|
+
icon-color: $info-700,
|
|
50
|
+
title-color: $info-700
|
|
51
|
+
),
|
|
52
|
+
"lavender": (
|
|
53
|
+
border-color: rgba($lavender-600, 0.7),
|
|
54
|
+
border: $lavender-200,
|
|
55
|
+
icon-bg: $lavender-50,
|
|
56
|
+
icon-color: $lavender-700,
|
|
57
|
+
title-color: $lavender-700
|
|
58
|
+
),
|
|
59
|
+
"neutral": (
|
|
60
|
+
border-color: rgba($neutral-300, 0.7),
|
|
61
|
+
border: $neutral-300,
|
|
62
|
+
icon-bg: $neutral-50,
|
|
63
|
+
icon-color: $black,
|
|
64
|
+
title-color: $black
|
|
65
|
+
)
|
|
66
|
+
);
|
|
2
67
|
|
|
3
68
|
// ============================================
|
|
4
69
|
// TOAST BASE STYLES
|
|
@@ -21,10 +86,11 @@
|
|
|
21
86
|
gap: .75rem;
|
|
22
87
|
|
|
23
88
|
.btn-close {
|
|
89
|
+
padding: 0.5rem;
|
|
24
90
|
position: absolute;
|
|
25
91
|
top: 1rem;
|
|
92
|
+
right: unset;
|
|
26
93
|
inset-inline-end: 1.5rem;
|
|
27
|
-
margin: 0;
|
|
28
94
|
}
|
|
29
95
|
.toast-content {
|
|
30
96
|
width: 100%;
|
|
@@ -82,68 +148,15 @@
|
|
|
82
148
|
// TOAST VARIANTS
|
|
83
149
|
// ============================================
|
|
84
150
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
border-inline-start-color: rgba($secondary-200, 0.7);
|
|
95
|
-
--#{$prefix}border-color: #{$secondary-200};
|
|
96
|
-
--#{$prefix}toast-icon-bg: #{$secondary-50};
|
|
97
|
-
--#{$prefix}toast-icon-color: #{$black};
|
|
98
|
-
--#{$prefix}toast-title-color: #{$black};
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
&.toast-success {
|
|
102
|
-
border-inline-start-color: rgba($success-600, 0.7);
|
|
103
|
-
--#{$prefix}border-color: #{$success-200};
|
|
104
|
-
--#{$prefix}toast-icon-bg: #{$success-50};
|
|
105
|
-
--#{$prefix}toast-icon-color: #{$success-700};
|
|
106
|
-
--#{$prefix}toast-title-color: #{$success-700};
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&.toast-danger {
|
|
110
|
-
border-inline-start-color: rgba($danger-600, 0.7);
|
|
111
|
-
--#{$prefix}border-color: #{$danger-200};
|
|
112
|
-
--#{$prefix}toast-icon-bg: #{$danger-50};
|
|
113
|
-
--#{$prefix}toast-icon-color: #{$danger-700};
|
|
114
|
-
--#{$prefix}toast-title-color: #{$danger-700};
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
&.toast-warning {
|
|
118
|
-
border-inline-start-color: rgba($warning-600, 0.7);
|
|
119
|
-
--#{$prefix}border-color: #{$warning-200};
|
|
120
|
-
--#{$prefix}toast-icon-bg: #{$warning-50};
|
|
121
|
-
--#{$prefix}toast-icon-color: #{$warning-700};
|
|
122
|
-
--#{$prefix}toast-title-color: #{$warning-700};
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&.toast-info {
|
|
126
|
-
border-inline-start-color: rgba($info-600, 0.7);
|
|
127
|
-
--#{$prefix}border-color: #{$info-200};
|
|
128
|
-
--#{$prefix}toast-icon-bg: #{$info-50};
|
|
129
|
-
--#{$prefix}toast-icon-color: #{$info-700};
|
|
130
|
-
--#{$prefix}toast-title-color: #{$info-700};
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
&.toast-lavender {
|
|
134
|
-
border-inline-start-color: rgba($lavender-600, 0.7);
|
|
135
|
-
--#{$prefix}border-color: #{$lavender-200};
|
|
136
|
-
--#{$prefix}toast-icon-bg: #{$lavender-50};
|
|
137
|
-
--#{$prefix}toast-icon-color: #{$lavender-700};
|
|
138
|
-
--#{$prefix}toast-title-color: #{$lavender-700};
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
&.toast-neutral {
|
|
142
|
-
border-inline-start-color: rgba($neutral-300, 0.7);
|
|
143
|
-
--#{$prefix}border-color: #{$neutral-300};
|
|
144
|
-
--#{$prefix}toast-icon-bg: #{$neutral-50};
|
|
145
|
-
--#{$prefix}toast-icon-color: #{$black};
|
|
146
|
-
--#{$prefix}toast-title-color: #{$black};
|
|
151
|
+
// Generate toast variant classes
|
|
152
|
+
@each $name, $colors in $toast-variants {
|
|
153
|
+
&.toast-#{$name} {
|
|
154
|
+
border-inline-start-color: map-get($colors, border-color);
|
|
155
|
+
--#{$prefix}border-color: #{map-get($colors, border)};
|
|
156
|
+
--#{$prefix}toast-icon-bg: #{map-get($colors, icon-bg)};
|
|
157
|
+
--#{$prefix}toast-icon-color: #{map-get($colors, icon-color)};
|
|
158
|
+
--#{$prefix}toast-title-color: #{map-get($colors, title-color)};
|
|
159
|
+
}
|
|
147
160
|
}
|
|
148
161
|
|
|
149
162
|
// ============================================
|
|
@@ -157,44 +170,11 @@
|
|
|
157
170
|
width: 100%;
|
|
158
171
|
flex-direction: column;
|
|
159
172
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
&.toast-secondary {
|
|
166
|
-
border-inline-start-color: $toast-border-color;
|
|
167
|
-
border-top-color: rgba($secondary-200, 0.7);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
&.toast-success {
|
|
171
|
-
border-inline-start-color: $toast-border-color;
|
|
172
|
-
border-top-color: rgba($success-600, 0.7);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
&.toast-danger {
|
|
176
|
-
border-inline-start-color: $toast-border-color;
|
|
177
|
-
border-top-color: rgba($danger-600, 0.7);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
&.toast-warning {
|
|
181
|
-
border-inline-start-color: $toast-border-color;
|
|
182
|
-
border-top-color: rgba($warning-600, 0.7);
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
&.toast-info {
|
|
186
|
-
border-inline-start-color: $toast-border-color;
|
|
187
|
-
border-top-color: rgba($info-600, 0.7);
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
&.toast-lavender {
|
|
191
|
-
border-inline-start-color: $toast-border-color;
|
|
192
|
-
border-top-color: rgba($lavender-600, 0.7);
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
&.toast-neutral {
|
|
196
|
-
border-inline-start-color: $toast-border-color;
|
|
197
|
-
border-top-color: rgba($neutral-300, 0.7);
|
|
173
|
+
@each $name, $colors in $toast-variants {
|
|
174
|
+
&.toast-#{$name} {
|
|
175
|
+
border-inline-start-color: $toast-border-color;
|
|
176
|
+
border-top-color: map-get($colors, border-color);
|
|
177
|
+
}
|
|
198
178
|
}
|
|
199
179
|
|
|
200
180
|
.toast-footer {
|
package/theme/dga-ui.scss
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
// ============================================
|
|
16
16
|
|
|
17
17
|
// Import all component customizations
|
|
18
|
+
@import './customizations/links';
|
|
18
19
|
@import './customizations/global';
|
|
19
20
|
@import './customizations/buttons';
|
|
20
21
|
@import './customizations/cards';
|
|
@@ -24,5 +25,5 @@
|
|
|
24
25
|
@import './customizations/forms';
|
|
25
26
|
@import './customizations/forms-switch';
|
|
26
27
|
@import './customizations/tables';
|
|
27
|
-
@import './customizations/
|
|
28
|
-
@import './customizations/
|
|
28
|
+
@import './customizations/contexts';
|
|
29
|
+
@import './customizations/footer';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<div class="container py-5">
|
|
2
|
-
<h1 class="display-4 mb-4">{{ 'bootstrap.title' | translate }}</h1>
|
|
3
|
-
<p class="lead mb-5">{{ 'bootstrap.subtitle' | translate }}</p>
|
|
4
|
-
|
|
5
|
-
<app-alerts />
|
|
6
|
-
|
|
7
|
-
<app-buttons />
|
|
8
|
-
|
|
9
|
-
<app-cards />
|
|
10
|
-
|
|
11
|
-
<app-forms />
|
|
12
|
-
|
|
13
|
-
<app-tables />
|
|
14
|
-
</div>
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
.demo-section {
|
|
2
|
-
margin-bottom: 3rem;
|
|
3
|
-
padding-bottom: 2rem;
|
|
4
|
-
border-bottom: 1px solid #e5e7eb;
|
|
5
|
-
|
|
6
|
-
&:last-child {
|
|
7
|
-
border-bottom: none;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
h2 {
|
|
11
|
-
margin-bottom: 1.5rem;
|
|
12
|
-
padding-bottom: 0.5rem;
|
|
13
|
-
border-bottom: 2px solid #1B8354;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
h3 {
|
|
17
|
-
margin-top: 2rem;
|
|
18
|
-
margin-bottom: 1rem;
|
|
19
|
-
font-size: 1.25rem;
|
|
20
|
-
color: #384250;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.component-showcase {
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-wrap: wrap;
|
|
27
|
-
gap: 0.75rem;
|
|
28
|
-
margin-bottom: 1.5rem;
|
|
29
|
-
align-items: flex-start;
|
|
30
|
-
|
|
31
|
-
> * {
|
|
32
|
-
flex: 0 0 auto;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.demo-card-grid {
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-wrap: wrap;
|
|
39
|
-
gap: 1rem;
|
|
40
|
-
align-items: flex-start;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.toast-container-demo {
|
|
44
|
-
position: fixed;
|
|
45
|
-
top: 1rem;
|
|
46
|
-
right: 1rem;
|
|
47
|
-
z-index: 1090;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// Radius Showcase
|
|
51
|
-
.radius-showcase {
|
|
52
|
-
display: grid;
|
|
53
|
-
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
54
|
-
gap: 1.5rem;
|
|
55
|
-
margin-bottom: 2rem;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.radius-item {
|
|
59
|
-
display: flex;
|
|
60
|
-
flex-direction: column;
|
|
61
|
-
align-items: flex-start;
|
|
62
|
-
gap: 0.5rem;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.radius-box {
|
|
66
|
-
width: 180px;
|
|
67
|
-
height: 140px;
|
|
68
|
-
background-color: #ffffff;
|
|
69
|
-
border: 1px solid #D2D6DB;
|
|
70
|
-
|
|
71
|
-
&.circle {
|
|
72
|
-
width: 140px;
|
|
73
|
-
height: 140px;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.radius-label {
|
|
78
|
-
font-size: 0.875rem;
|
|
79
|
-
font-weight: 600;
|
|
80
|
-
color: #111927;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.radius-value {
|
|
84
|
-
font-size: 0.875rem;
|
|
85
|
-
color: #4D5761;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.radius-pixels {
|
|
89
|
-
font-size: 0.75rem;
|
|
90
|
-
color: #6C737F;
|
|
91
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
3
|
-
import { AlertsComponent } from '../alerts/alerts.component';
|
|
4
|
-
import { ButtonsComponent } from '../buttons/buttons.component';
|
|
5
|
-
import { CardsComponent } from '../cards/cards.component';
|
|
6
|
-
import { FormsComponent } from '../forms/forms.component';
|
|
7
|
-
import { TablesComponent } from '../tables/tables.component';
|
|
8
|
-
|
|
9
|
-
@Component({
|
|
10
|
-
selector: 'app-bootstrap',
|
|
11
|
-
imports: [
|
|
12
|
-
TranslateModule,
|
|
13
|
-
AlertsComponent,
|
|
14
|
-
ButtonsComponent,
|
|
15
|
-
CardsComponent,
|
|
16
|
-
FormsComponent,
|
|
17
|
-
TablesComponent
|
|
18
|
-
],
|
|
19
|
-
templateUrl: './bootstrap.component.html',
|
|
20
|
-
styleUrl: './bootstrap.component.scss',
|
|
21
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
22
|
-
})
|
|
23
|
-
export class BootstrapComponent {}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
// Utility Customizations - SDGA Custom Enhancements
|
|
2
|
-
|
|
3
|
-
@use 'sass:color';
|
|
4
|
-
|
|
5
|
-
// ============================================
|
|
6
|
-
// COLOR UTILITIES
|
|
7
|
-
// ============================================
|
|
8
|
-
|
|
9
|
-
// Neutral color utilities
|
|
10
|
-
.bg-neutral {
|
|
11
|
-
background-color: $gray-600 !important;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.text-neutral {
|
|
15
|
-
color: $gray-600 !important;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.border-neutral {
|
|
19
|
-
border-color: $gray-600 !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// ============================================
|
|
23
|
-
// SHADOW UTILITIES
|
|
24
|
-
// ============================================
|
|
25
|
-
|
|
26
|
-
.shadow-xs {
|
|
27
|
-
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.shadow-2xl {
|
|
31
|
-
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
// ============================================
|
|
35
|
-
// GRADIENT UTILITIES
|
|
36
|
-
// ============================================
|
|
37
|
-
|
|
38
|
-
.bg-gradient-primary {
|
|
39
|
-
background: linear-gradient(135deg, $primary 0%, color.scale($primary, $lightness: -48%) 100%) !important;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.bg-gradient-secondary {
|
|
43
|
-
background: linear-gradient(135deg, $secondary 0%, color.scale($secondary, $lightness: -48%) 100%) !important;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.bg-gradient-lavender {
|
|
47
|
-
background: linear-gradient(135deg, $lavender-600 0%, color.scale($lavender-600, $lightness: -48%) 100%) !important;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// ============================================
|
|
51
|
-
// LINK VARIANTS
|
|
52
|
-
// ============================================
|
|
53
|
-
|
|
54
|
-
.link-lavender {
|
|
55
|
-
color: $lavender-600 !important;
|
|
56
|
-
|
|
57
|
-
&:hover,
|
|
58
|
-
&:focus {
|
|
59
|
-
color: color.scale($lavender-600, $lightness: -32%) !important;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.link-neutral {
|
|
64
|
-
color: $gray-600 !important;
|
|
65
|
-
|
|
66
|
-
&:hover,
|
|
67
|
-
&:focus {
|
|
68
|
-
color: color.scale($gray-600, $lightness: -32%) !important;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// ============================================
|
|
73
|
-
// TEXT UTILITIES
|
|
74
|
-
// ============================================
|
|
75
|
-
|
|
76
|
-
.text-muted-light {
|
|
77
|
-
color: $gray-400 !important;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.text-muted-dark {
|
|
81
|
-
color: $gray-600 !important;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// ============================================
|
|
85
|
-
// RESPONSIVE SPACING
|
|
86
|
-
// ============================================
|
|
87
|
-
|
|
88
|
-
@media (min-width: 768px) {
|
|
89
|
-
.py-md-6 {
|
|
90
|
-
padding-top: 2rem !important;
|
|
91
|
-
padding-bottom: 2rem !important;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.py-md-7 {
|
|
95
|
-
padding-top: 2.5rem !important;
|
|
96
|
-
padding-bottom: 2.5rem !important;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.py-md-8 {
|
|
100
|
-
padding-top: 3rem !important;
|
|
101
|
-
padding-bottom: 3rem !important;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// ============================================
|
|
106
|
-
// SCROLLBAR UTILITIES
|
|
107
|
-
// ============================================
|
|
108
|
-
|
|
109
|
-
.custom-scrollbar {
|
|
110
|
-
&::-webkit-scrollbar {
|
|
111
|
-
width: 8px;
|
|
112
|
-
height: 8px;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&::-webkit-scrollbar-track {
|
|
116
|
-
background: $gray-100;
|
|
117
|
-
border-radius: $radius-sm;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&::-webkit-scrollbar-thumb {
|
|
121
|
-
background: $gray-400;
|
|
122
|
-
border-radius: $radius-sm;
|
|
123
|
-
|
|
124
|
-
&:hover {
|
|
125
|
-
background: $gray-500;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
// ============================================
|
|
131
|
-
// PRINT UTILITIES
|
|
132
|
-
// ============================================
|
|
133
|
-
|
|
134
|
-
@media print {
|
|
135
|
-
.no-print {
|
|
136
|
-
display: none !important;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
File without changes
|