bootsteam-theme 5.3.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.
- package/.gitattributes +66 -0
- package/README.md +5 -0
- package/dist/bootsteam-theme.css +12319 -0
- package/dist/bootsteam-theme.min.css +5 -0
- package/docs/alerts.html +118 -0
- package/docs/badges.html +140 -0
- package/docs/buttons.html +194 -0
- package/docs/carousel.html +109 -0
- package/docs/collapse.html +105 -0
- package/docs/containers.html +307 -0
- package/docs/css/bootsteam-theme.min.css +5 -0
- package/docs/dialogs.html +154 -0
- package/docs/forms.html +335 -0
- package/docs/index.html +108 -0
- package/docs/navs.html +250 -0
- package/docs/offcanvas.html +92 -0
- package/docs/plugins.html +99 -0
- package/docs/scripts/scripts.js +70 -0
- package/docs/scripts/themeHandler.js +57 -0
- package/docs/spinners.html +145 -0
- package/docs/tables.html +613 -0
- package/docs/themes.html +166 -0
- package/docs/toasts.html +119 -0
- package/docs/typography.html +176 -0
- package/docs-templates/alerts.html +76 -0
- package/docs-templates/badges.html +98 -0
- package/docs-templates/buttons.html +152 -0
- package/docs-templates/carousel.html +67 -0
- package/docs-templates/collapse.html +63 -0
- package/docs-templates/containers.html +265 -0
- package/docs-templates/dialogs.html +112 -0
- package/docs-templates/forms.html +293 -0
- package/docs-templates/index.html +66 -0
- package/docs-templates/navs.html +208 -0
- package/docs-templates/offcanvas.html +50 -0
- package/docs-templates/partials/_footer.html +4 -0
- package/docs-templates/partials/_head.html +7 -0
- package/docs-templates/partials/_nav.html +29 -0
- package/docs-templates/partials/_scripts.html +5 -0
- package/docs-templates/plugins.html +57 -0
- package/docs-templates/spinners.html +103 -0
- package/docs-templates/tables.html +571 -0
- package/docs-templates/themes.html +68 -0
- package/docs-templates/toasts.html +77 -0
- package/docs-templates/typography.html +134 -0
- package/gulpfile.js +51 -0
- package/package.json +17 -0
- package/src/_alerts.scss +65 -0
- package/src/_darkThemeOverrides.scss +74 -0
- package/src/_fieldset.scss +27 -0
- package/src/_forms.scss +134 -0
- package/src/_tables.scss +77 -0
- package/src/_twr-variables-dark.scss +23 -0
- package/src/_twr-variables.scss +71 -0
- package/src/bootsteam.scss +25 -0
- package/src/plugins/_allPlugins.scss +2 -0
- package/src/plugins/_slimSelect.scss +106 -0
- package/src/plugins/_summernote.scss +45 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
///<reference path="../node_modules/bootstrap/scss/variables.scss" />
|
|
2
|
+
|
|
3
|
+
$body-color: #2a465b !default;
|
|
4
|
+
$body-bg: #e1e9f2 !default;
|
|
5
|
+
|
|
6
|
+
$primary: #417a9b !default;
|
|
7
|
+
$success: #7d9f05 !default;
|
|
8
|
+
$info: #31a48c !default;
|
|
9
|
+
/*$info: #80458e !default;*/
|
|
10
|
+
$warning: #d5702c !default;
|
|
11
|
+
$danger: #dc3b36 !default;
|
|
12
|
+
$light: #f8f9fa !default;
|
|
13
|
+
$dark: lighten(#111924, 1) !default;
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
$body-tertiary-bg: darken($body-bg, 10) !default;
|
|
17
|
+
|
|
18
|
+
$min-contrast-ratio: 3 !default;
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/* border radius */
|
|
22
|
+
$border-radius: 2px !default;
|
|
23
|
+
$border-radius-sm: 2px !default;
|
|
24
|
+
$border-radius-lg: 2px !default;
|
|
25
|
+
$border-radius-xl: 2px !default;
|
|
26
|
+
$border-radius-xxl: 2px !default;
|
|
27
|
+
|
|
28
|
+
/* nav */
|
|
29
|
+
$nav-link-padding-y: .2rem !default;
|
|
30
|
+
|
|
31
|
+
$navbar-toggler-padding-y: 0 !default;
|
|
32
|
+
$navbar-toggler-font-size: 1rem !default;
|
|
33
|
+
$navbar-light-toggler-border-color: transparent !default;
|
|
34
|
+
$navbar-dark-toggler-border-color: transparent !default;
|
|
35
|
+
|
|
36
|
+
/* input */
|
|
37
|
+
$input-btn-padding-y: .25rem !default;
|
|
38
|
+
$input-btn-padding-x: .4rem !default;
|
|
39
|
+
|
|
40
|
+
$input-btn-padding-y-sm: .1rem !default;
|
|
41
|
+
$input-btn-padding-x-sm: .25rem !default;
|
|
42
|
+
|
|
43
|
+
$input-btn-padding-y-lg: .25rem !default;
|
|
44
|
+
$input-btn-padding-x-lg: 0.5rem !default;
|
|
45
|
+
|
|
46
|
+
$input-bg: darken($body-bg, 5) !default;
|
|
47
|
+
$input-border-color: darken($body-bg, 15) !default;
|
|
48
|
+
$input-focus-border-color: $primary !default;
|
|
49
|
+
$input-placeholder-color: #888 !default;
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/*$input-border-radius: 2px 2px 0 0 !default;
|
|
53
|
+
$input-border-radius-sm: 2px 2px 0 0 !default;
|
|
54
|
+
$input-border-radius-lg: 3px 3px 0 0 !default;*/
|
|
55
|
+
|
|
56
|
+
$input-disabled-bg: lighten($input-bg, 4) !default;
|
|
57
|
+
|
|
58
|
+
$focus-ring-width: 0 !default;
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
$form-range-thumb-focus-box-shadow: 0 0 0 1px darken($primary, 5) !default; // none !default; //0 0 0 1px $body-bg, $input-focus-box-shadow !default;
|
|
62
|
+
/*$form-range-thumb-focus-box-shadow-width: 0 !default; //$input-focus-width !default; // For focus box shadow issue in Edge*/
|
|
63
|
+
/* buttons */
|
|
64
|
+
$btn-box-shadow: none !default;
|
|
65
|
+
|
|
66
|
+
/* floating label */
|
|
67
|
+
$form-floating-label-transform: scale(.85) translateY(-.8rem) translateX(.15rem) !default;
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
/* tables */
|
|
71
|
+
$table-striped-bg-factor: .03 !default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
$enable-shadows: true !default;
|
|
3
|
+
|
|
4
|
+
$gray-800: #2A2A2E !default;
|
|
5
|
+
|
|
6
|
+
$gray-900: darken($gray-800, 4) !default;
|
|
7
|
+
$gray-700: lighten($gray-800, 10) !default;
|
|
8
|
+
$gray-600: lighten($gray-700, 10) !default;
|
|
9
|
+
$gray-500: lighten($gray-600, 10) !default;
|
|
10
|
+
$gray-400: lighten($gray-500, 10) !default;
|
|
11
|
+
$gray-300: lighten($gray-400, 10) !default;
|
|
12
|
+
$gray-200: lighten($gray-300, 10) !default;
|
|
13
|
+
$gray-100: lighten($gray-200, 10) !default;
|
|
14
|
+
|
|
15
|
+
@import "_twr-variables.scss";
|
|
16
|
+
@import "_twr-variables-dark.scss";
|
|
17
|
+
|
|
18
|
+
@import "../node_modules/bootstrap/scss/bootstrap.scss";
|
|
19
|
+
|
|
20
|
+
@import "_darkThemeOverrides.scss";
|
|
21
|
+
@import "_forms.scss";
|
|
22
|
+
@import "_fieldset.scss";
|
|
23
|
+
@import "_tables.scss";
|
|
24
|
+
@import "_alerts.scss";
|
|
25
|
+
@import "plugins/_allPlugins.scss";
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
///<reference path="../twr-variables.scss" />
|
|
2
|
+
///<reference path="../twr-variables-dark.scss" />
|
|
3
|
+
///<reference path="../../node_modules/bootstrap/scss/variables.scss" />
|
|
4
|
+
|
|
5
|
+
:root,
|
|
6
|
+
[data-bs-theme=light] {
|
|
7
|
+
--ss-primary-color: #{$primary};
|
|
8
|
+
--ss-bg-color: #{$input-bg};
|
|
9
|
+
--ss-font-color: #{$input-color};
|
|
10
|
+
--ss-font-placeholder-color: #{$input-placeholder-color};
|
|
11
|
+
--ss-disabled-color: #{$input-disabled-color};
|
|
12
|
+
--ss-border-color: #{$input-border-color};
|
|
13
|
+
--ss-highlight-color: #{$primary};
|
|
14
|
+
--ss-success-color: #{$success};
|
|
15
|
+
--ss-error-color: #{$danger};
|
|
16
|
+
--ss-main-height: 30px;
|
|
17
|
+
--ss-border-radius: 2px 2px 0 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ss-main {
|
|
21
|
+
border: none;
|
|
22
|
+
border-bottom: 1px solid var(--ss-border-color);
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
&:focus {
|
|
26
|
+
box-shadow: none;
|
|
27
|
+
border-bottom-color: $primary;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.ss-disabled:focus {
|
|
31
|
+
box-shadow: none;
|
|
32
|
+
border-bottom-color: $input-border-color;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ss-content {
|
|
37
|
+
.ss-search input {
|
|
38
|
+
background: darken($input-bg, 3);
|
|
39
|
+
color: $body-color;
|
|
40
|
+
border: none;
|
|
41
|
+
border-bottom: 1px solid $input-border-color;
|
|
42
|
+
|
|
43
|
+
&:focus {
|
|
44
|
+
box-shadow: none;
|
|
45
|
+
border-bottom-color: $primary;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.ss-list .ss-option {
|
|
50
|
+
&.ss-highlighted, &:not(.ss-disabled).ss-selected {
|
|
51
|
+
color: $white;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&:hover {
|
|
55
|
+
color: $white;
|
|
56
|
+
background-color: darken($primary, 5);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ss-main .ss-values .ss-value {
|
|
62
|
+
.ss-value-text {
|
|
63
|
+
color: $white;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.ss-value-delete {
|
|
67
|
+
border-left-color: rgba(255, 255, 255, 0.2);
|
|
68
|
+
height: 1rem;
|
|
69
|
+
|
|
70
|
+
svg path {
|
|
71
|
+
stroke: rgba(255, 255, 255, 0.5);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
// Bootstrap input-group support
|
|
76
|
+
.input-group > .ss-main {
|
|
77
|
+
position: relative;
|
|
78
|
+
flex: 1 1 auto;
|
|
79
|
+
width: 1%;
|
|
80
|
+
min-width: 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// Prevent the select from showing up before the plugin loads
|
|
84
|
+
select.slim-select-basic {
|
|
85
|
+
opacity: 0;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
[data-bs-theme=dark] {
|
|
89
|
+
--ss-bg-color: #{$input-bg-dark};
|
|
90
|
+
--ss-border-color: #{$input-border-color-dark};
|
|
91
|
+
|
|
92
|
+
.ss-content {
|
|
93
|
+
.ss-search input {
|
|
94
|
+
color: $body-color-dark;
|
|
95
|
+
background: darken($input-bg-dark, 3);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.ss-main.ss-disabled {
|
|
100
|
+
background: lighten($input-bg-dark, 5);
|
|
101
|
+
|
|
102
|
+
&:focus {
|
|
103
|
+
border-bottom-color: lighten($input-bg-dark, 5);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
///<reference path="twr-variables.scss" />
|
|
2
|
+
///<reference path="twr-variables-dark.scss" />
|
|
3
|
+
///<reference path="../node_modules/bootstrap/scss/variables.scss" />
|
|
4
|
+
|
|
5
|
+
div.note-editor.note-frame {
|
|
6
|
+
border-color: $input-border-color;
|
|
7
|
+
|
|
8
|
+
div.note-toolbar {
|
|
9
|
+
background: darken($body-bg,2);
|
|
10
|
+
border-bottom: 1px solid $input-border-color;
|
|
11
|
+
|
|
12
|
+
& > .note-btn-group {
|
|
13
|
+
border: 1px solid $input-border-color;
|
|
14
|
+
|
|
15
|
+
.note-btn {
|
|
16
|
+
background: $body-bg;
|
|
17
|
+
color: $body-color;
|
|
18
|
+
|
|
19
|
+
&.active {
|
|
20
|
+
background: $primary;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&:hover {
|
|
24
|
+
background: darken($body-bg,3);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.note-editing-area .note-editable {
|
|
31
|
+
color: $body-color;
|
|
32
|
+
background: $input-bg;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.note-statusbar {
|
|
36
|
+
background: darken($body-bg,2);
|
|
37
|
+
border-top-color: $input-border-color;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
.note-btn.btn-sm {
|
|
43
|
+
padding: .125rem .5rem;
|
|
44
|
+
font-size: 1rem;
|
|
45
|
+
}
|