test-bentoweb-ui 1.0.24 → 1.0.26
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bentoweb-ui.css +1 -5
- package/dist/bentoweb-ui.es.js +4944 -8199
- package/dist/bentoweb-ui.umd.js +4 -8
- package/package.json +6 -3
- package/src/assets/styles/_bentowebicon.css +753 -0
- package/src/assets/styles/_breadcrumb.scss +22 -0
- package/src/assets/styles/_btwstyles.scss +102 -0
- package/src/assets/styles/_buttons.scss +99 -0
- package/src/assets/styles/_card.scss +3 -0
- package/src/assets/styles/_forms.scss +57 -0
- package/src/assets/styles/_mixins.scss +103 -0
- package/src/assets/styles/_modal.scss +55 -0
- package/src/assets/styles/_pagination.scss +40 -0
- package/src/assets/styles/_sidebar.scss +25 -0
- package/src/assets/styles/_tables.scss +20 -0
- package/src/assets/styles/_tabs.scss +24 -0
- package/src/assets/styles/_toggleswitch.scss +89 -0
- package/src/assets/styles/_variables.scss +176 -0
- package/src/assets/styles/index.scss +2 -0
- package/src/assets/styles/main.scss +13 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
.breadcrumb {
|
2
|
+
border-radius: rem(8);
|
3
|
+
background-color: $breadcrumb-bg;
|
4
|
+
padding: rem(6) rem(10);
|
5
|
+
}
|
6
|
+
|
7
|
+
.breadcrumb-item{
|
8
|
+
color: $breadcrumb-color;
|
9
|
+
font-weight: 700;
|
10
|
+
+ .breadcrumb-item{
|
11
|
+
&::before {
|
12
|
+
color: $breadcrumb-color;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
a{
|
16
|
+
text-decoration: none;
|
17
|
+
color: $breadcrumb-color;
|
18
|
+
}
|
19
|
+
&.active {
|
20
|
+
color: $breadcrumb-active-color;
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,102 @@
|
|
1
|
+
/* You can also add additional global styles */
|
2
|
+
body{background-color: $body-bg; font-family: $body-font; font-weight: 400; font-size: rem(16); color: $body-color;}
|
3
|
+
|
4
|
+
|
5
|
+
.btw-layout {display: grid; grid-template-areas: "sidebar main"; grid-template-columns: 1fr 4fr; gap: 1.5rem; padding-left: 0; padding-right: 0;}
|
6
|
+
.btw-main{padding-top: rem(20); padding-bottom: rem(100); display: flex; justify-content: center;}
|
7
|
+
|
8
|
+
/*Deshboard*/
|
9
|
+
.header-date{background: url(/img/line-gradient.png) no-repeat left bottom; overflow: hidden; background-size: contain;}
|
10
|
+
.hide-bar{position: fixed; bottom: rem(20); right: rem(20); z-index: 1; font-size: rem(25); padding: 10px 16px;
|
11
|
+
i{vertical-align: middle;}
|
12
|
+
}
|
13
|
+
.caret-off {
|
14
|
+
.dropdown-toggle::after { display: none;}
|
15
|
+
.icon-option{margin-right: 0!important;}
|
16
|
+
}
|
17
|
+
.dropdown-width{
|
18
|
+
.dropdown-toggle{width: 100%; text-align: left;}
|
19
|
+
}
|
20
|
+
|
21
|
+
.border-bottom{
|
22
|
+
&.border-lastchild-none{
|
23
|
+
&:last-child{border-bottom: none!important;}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.task-viwe-sec{
|
28
|
+
.table{margin-bottom: 0;
|
29
|
+
th,td{border-width: rem(1); font-size: rem(20);
|
30
|
+
&:first-child{border-left-width: 0;}
|
31
|
+
&:last-child{border-right-width: 0;}
|
32
|
+
&:nth-child(2),&:nth-child(3){background-color: $text-light;}
|
33
|
+
}
|
34
|
+
td{color: $text-dark; font-weight: 700;}
|
35
|
+
tr{
|
36
|
+
&.highlight{
|
37
|
+
td{background-color: $bg-dim-danger;
|
38
|
+
&:nth-child(2),&:nth-child(3){background-color: #FFE1DB;}
|
39
|
+
&:nth-child(4),&:nth-child(5),&:nth-child(6){color: $text-danger;}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
&:last-child{
|
43
|
+
td{border-bottom-width: 0;}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
/*Packing Step*/
|
50
|
+
.header-packing{display: grid; grid-template-columns: 5fr 2fr; gap: 6rem; padding-top: rem(15); padding-bottom: rem(15);}
|
51
|
+
.btw-packing {display: grid; grid-template-columns: 5fr 2fr; gap: 1.5rem; padding-right: 0;
|
52
|
+
.sidebar{display: flex; flex-direction: column; justify-content: space-between; background-color: white; padding: rem(20); height: 100vh; position: sticky; top: 0;}
|
53
|
+
}
|
54
|
+
|
55
|
+
.packing-badge{
|
56
|
+
&.active{color: $text-primary;}
|
57
|
+
}
|
58
|
+
.packing-item{ display: grid; grid-template-columns: 200px 7fr; gap: rem(20);
|
59
|
+
.packing-amount{ background-color: $bg-100; display: flex; justify-content: center; align-items: center; height: 100%; font-size: rem(40); font-weight: 700; color: $gray-300;}
|
60
|
+
.action-check{font-size: rem(30); color: $text-success!important; padding: 0;
|
61
|
+
&.checked{color: $text-primary!important;}
|
62
|
+
}
|
63
|
+
&.active{border:rem(4) solid $text-primary; background-color: $bg-dim-primary!important;
|
64
|
+
.packing-amount{background-color: white; color: $text-dark;}
|
65
|
+
h6.size25{color: $text-dark!important;}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
.packing-step{font-weight: 700; color: $gray-200; font-size:rem(25); border-radius: rem(8); background-color: $text-secondary; padding: rem(15) rem(20); margin-bottom: rem(20);
|
69
|
+
.svg-colored{filter: brightness(0) saturate(100%) invert(64%) sepia(11%) saturate(16%) hue-rotate(23deg) brightness(88%) contrast(97%);}
|
70
|
+
&.active{color: white; background-color: $text-primary;
|
71
|
+
.svg-colored{filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(7%) hue-rotate(168deg) brightness(102%) contrast(106%);}
|
72
|
+
&.process-vdo{background-color: $bg-dim-primary; color: $text-primary;
|
73
|
+
.svg-colored{filter: brightness(0) saturate(100%) invert(14%) sepia(90%) saturate(7164%) hue-rotate(334deg) brightness(91%) contrast(107%);}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
.svg-color-primary{filter: brightness(0) saturate(100%) invert(14%) sepia(90%) saturate(7164%) hue-rotate(334deg) brightness(91%) contrast(107%);}
|
79
|
+
|
80
|
+
/* Plugin
|
81
|
+
vue-select*/
|
82
|
+
.v-select{padding: 0; height: rem(42);
|
83
|
+
.vs__selected{
|
84
|
+
.image-option{
|
85
|
+
.option-img{width: rem(30);}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
}
|
90
|
+
.vs__dropdown-toggle{
|
91
|
+
height: 100%;
|
92
|
+
border-width: 0;
|
93
|
+
}
|
94
|
+
.vs__search::placeholder { color: $input-placeholder-color!important;}
|
95
|
+
|
96
|
+
|
97
|
+
/*Container*/
|
98
|
+
@media (min-width: 1400px) {
|
99
|
+
.container {
|
100
|
+
max-width: 1140px;
|
101
|
+
}
|
102
|
+
}
|
@@ -0,0 +1,99 @@
|
|
1
|
+
@import '_mixins.scss';
|
2
|
+
|
3
|
+
/*====================
|
4
|
+
Function: button hover
|
5
|
+
=======================*/
|
6
|
+
@mixin button-variant($color, $bg, $border, $hover-background, $hover-border){
|
7
|
+
color:$color; background-color: $bg; border-color: $border;
|
8
|
+
&:not(:disabled):not(.disabled):active{box-shadow: none; background-color: darken($hover-background, 7.5%); border-color: darken($hover-border, 10%);}
|
9
|
+
}
|
10
|
+
|
11
|
+
.btn{font-size: rem(14); font-weight: 700; border-radius: rem(8); padding: rem(8) rem(12); white-space: nowrap;
|
12
|
+
&:focus{box-shadow: none; border-color: transparent;}
|
13
|
+
&.btn-primary{
|
14
|
+
@include button-variant(white, $text-primary, $text-primary, $text-primary, $text-primary);
|
15
|
+
}
|
16
|
+
&.btn-secondary{
|
17
|
+
@include button-variant($text-dark, $text-secondary, $text-secondary, $text-secondary, $text-secondary);
|
18
|
+
&:disabled, &.disabled{color: white;}
|
19
|
+
}
|
20
|
+
&.btn-danger{
|
21
|
+
@include button-variant(white, $text-danger, $text-danger, $text-danger, $text-danger);
|
22
|
+
}
|
23
|
+
&.btn-success{
|
24
|
+
@include button-variant(white, $text-success, $text-success, $text-success, $text-success);
|
25
|
+
}
|
26
|
+
&.btn-light{
|
27
|
+
@include button-variant($text-dark, $text-light, $text-light, $text-light, $text-light);
|
28
|
+
}
|
29
|
+
&.btn-white{
|
30
|
+
@include button-variant($text-dark, white, white, white, white);
|
31
|
+
}
|
32
|
+
&.btn-info{
|
33
|
+
@include button-variant(white!important, $blue-100, $blue-100, $blue-100, $blue-100);
|
34
|
+
}
|
35
|
+
&.btn-outline-primary{border:rem(2) solid $text-primary;
|
36
|
+
@include button-variant($text-primary, white, $text-primary, $text-primary, $text-primary);
|
37
|
+
}
|
38
|
+
&.btn-outline-danger{border:rem(2) solid $text-danger;
|
39
|
+
@include button-variant($text-danger, white, $text-danger, $text-danger, $text-danger);
|
40
|
+
}
|
41
|
+
&.btn-dim-success{
|
42
|
+
@include button-variant($text-success, $bg-dim-success, $bg-dim-success, $bg-dim-success, $bg-dim-success);
|
43
|
+
}
|
44
|
+
&.btn-dim-danger{
|
45
|
+
@include button-variant($text-danger, $bg-dim-danger, $bg-dim-danger, $bg-dim-danger, $bg-dim-danger);
|
46
|
+
}
|
47
|
+
&.btn-text-link{
|
48
|
+
@include button-variant($text-primary, transparent, transparent, transparent, transparent);
|
49
|
+
padding
|
50
|
+
&:disabled, &.disabled{color: $gray-300;opacity: 1;}
|
51
|
+
}
|
52
|
+
&.btn-disabled{
|
53
|
+
@include button-variant(white, $bg-disable, $bg-disable, $bg-disable, $bg-disable);
|
54
|
+
}
|
55
|
+
&:first-child{margin-left: 0;}
|
56
|
+
i +.me-2{margin-left: rem(5);}
|
57
|
+
}
|
58
|
+
.btn-link {font-family: $font-tahoma; font-weight: normal; text-decoration: none; color: $text-link; padding-left: 0; padding-right: 0;}
|
59
|
+
.btn-link-primary{color: $text-primary!important; font-weight: 600; font-family: $font-primary; text-decoration: none; border-width: 0!important;}
|
60
|
+
|
61
|
+
.btn-dim-success{
|
62
|
+
@include button-variant($text-success, $bg-dim-success, $bg-dim-success, $bg-dim-success, $bg-dim-success);
|
63
|
+
}
|
64
|
+
.btn-dim-danger{
|
65
|
+
@include button-variant($text-danger, $bg-dim-danger, $bg-dim-danger, $bg-dim-danger, $text-primary);
|
66
|
+
}
|
67
|
+
|
68
|
+
.btn-icon{padding-left: 0; padding-right: 0;
|
69
|
+
&:active{border-color: transparent!important;}
|
70
|
+
}
|
71
|
+
.btn-sm{padding: rem(5) rem(10);}
|
72
|
+
.btn-md{font-size: rem(16);}
|
73
|
+
.btn-lg{font-size: rem(18); padding: rem(8) rem(10);
|
74
|
+
i{line-height: rem(27)!important;}
|
75
|
+
}
|
76
|
+
.btn-icon{line-height: 1;}
|
77
|
+
|
78
|
+
.btn-block{width: 100%; display: block;}
|
79
|
+
|
80
|
+
/*====================
|
81
|
+
Function: Dropdown
|
82
|
+
=======================*/
|
83
|
+
.dropdown-toggle{display: flex; align-items: center;
|
84
|
+
&::after{border: none; content: "\e90e" !important; font-family: "bentowebicon" !important; vertical-align: middle; margin-left: auto;}
|
85
|
+
}
|
86
|
+
|
87
|
+
/*====================
|
88
|
+
Badge
|
89
|
+
=======================*/
|
90
|
+
.badge{font-size: rem(14); padding: rem(6) rem(18);}
|
91
|
+
.text-bg-primary{background-color: $bg-dim-primary!important; color: $text-primary!important;}
|
92
|
+
.text-bg-warning{background-color: $text-warning!important; color: white!important;}
|
93
|
+
.text-bg-success{background-color: $bg-dim-success!important; color: $text-success!important}
|
94
|
+
|
95
|
+
.text-bg-dim-danger{background-color: $bg-dim-danger; color: $text-danger;}
|
96
|
+
.text-bg-light-border{background-color: $text-light; color: $text-dark; border:rem(1) solid $border-color;}
|
97
|
+
|
98
|
+
.text-bg-outline-success{background-color: $bg-dim-success!important; color: $text-success!important; border:rem(2) solid $text-success;}
|
99
|
+
.text-bg-outline-danger{background-color: $bg-dim-danger!important; color: $text-danger!important; border:rem(2) solid $text-danger;}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
input{
|
2
|
+
&:focus{
|
3
|
+
box-shadow:none!important;
|
4
|
+
}
|
5
|
+
}
|
6
|
+
|
7
|
+
.form-control,
|
8
|
+
.form-select{border-width: rem(2); border-color: $input-border-color;}
|
9
|
+
.form-control::placeholder {color: $input-placeholder-color!important; }
|
10
|
+
|
11
|
+
.form-label,
|
12
|
+
.col-form-label{
|
13
|
+
font-weight: $form-text-font-weight;
|
14
|
+
}
|
15
|
+
|
16
|
+
.form-label,
|
17
|
+
.col-form-label,
|
18
|
+
.form-check-label{
|
19
|
+
font-size: rem(16);
|
20
|
+
}
|
21
|
+
|
22
|
+
.form-check-input[type=radio]{border-width: rem(2); font-size: rem(16); border-color:$form-check-input-radio-color;
|
23
|
+
&:checked {
|
24
|
+
background-color: $form-check-input-radio-bg-color;
|
25
|
+
border-color: $form-check-input-radio-border-color;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
.form-check-input[type=checkbox]{border-width: rem(2); font-size: rem(16); border-color:$form-check-input-radio-border-color;
|
29
|
+
&:checked {
|
30
|
+
background-color: $form-check-input-checked-bg-color;
|
31
|
+
border-color: $form-check-input-checked-border-color;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
.form-check-label{
|
35
|
+
&:hover{cursor: pointer;}
|
36
|
+
}
|
37
|
+
|
38
|
+
/*vue3datepicke : Light mode configuration*/
|
39
|
+
.dp__input_icon{
|
40
|
+
.input-group-text{
|
41
|
+
background-color: $input-group-bg-color;
|
42
|
+
color: $input-group-icon-color;
|
43
|
+
height: rem(38);
|
44
|
+
border-width: 0;
|
45
|
+
border-top-left-radius: rem(4);
|
46
|
+
border-bottom-left-radius: rem(4);
|
47
|
+
border-top-right-radius: 0;
|
48
|
+
border-bottom-right-radius: 0;
|
49
|
+
padding: rem(16) rem(10);
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
.dp__input{
|
54
|
+
border-color: $input-group-bg-color;
|
55
|
+
border-width: rem(2)!important;
|
56
|
+
padding-left: rem(45)!important;
|
57
|
+
}
|
@@ -0,0 +1,103 @@
|
|
1
|
+
@use "sass:math";
|
2
|
+
//PX to REM
|
3
|
+
$html-font-size: 16px;
|
4
|
+
// @function stripUnit($value) {
|
5
|
+
// @return $value / ($value * 0 + 1);
|
6
|
+
// }
|
7
|
+
// @function rem($pxValue) {
|
8
|
+
// //@return #{stripUnit($pxValue) / stripUnit($html-font-size)}rem;
|
9
|
+
// }
|
10
|
+
@function stripUnit($value) {
|
11
|
+
@return math.div($value, ($value * 0 + 1));
|
12
|
+
}
|
13
|
+
@function rem($pxValue) {
|
14
|
+
@return calc(stripUnit($pxValue) / stripUnit($html-font-size))+rem;
|
15
|
+
}
|
16
|
+
|
17
|
+
//Transitions
|
18
|
+
@mixin transition($x...){
|
19
|
+
-webkit-transition: $x;
|
20
|
+
-moz-transition: $x;
|
21
|
+
-ms-transition: $x;
|
22
|
+
-o-transition: $x;
|
23
|
+
transition: $x;
|
24
|
+
}
|
25
|
+
|
26
|
+
@mixin boxShadow($shadow) {
|
27
|
+
box-shadow: $shadow;
|
28
|
+
-webkit-box-shadow: $shadow;
|
29
|
+
-moz-box-shadow: $shadow;
|
30
|
+
-ms-box-shadow: $shadow;
|
31
|
+
-o-box-shadow: $shadow;
|
32
|
+
}
|
33
|
+
|
34
|
+
//Border Radius
|
35
|
+
@mixin border-radius($radius) {
|
36
|
+
-webkit-border-radius: $radius;
|
37
|
+
border-radius: $radius;
|
38
|
+
background-clip: padding-box;
|
39
|
+
}
|
40
|
+
@mixin border-top-radius($radius) {
|
41
|
+
-webkit-border-top-right-radius: $radius;
|
42
|
+
border-top-right-radius: $radius;
|
43
|
+
-webkit-border-top-left-radius: $radius;
|
44
|
+
border-top-left-radius: $radius;
|
45
|
+
background-clip: padding-box;
|
46
|
+
}
|
47
|
+
@mixin border-right-radius($radius) {
|
48
|
+
-webkit-border-bottom-right-radius: $radius;
|
49
|
+
border-bottom-right-radius: $radius;
|
50
|
+
-webkit-border-top-right-radius: $radius;
|
51
|
+
border-top-right-radius: $radius;
|
52
|
+
background-clip: padding-box;
|
53
|
+
}
|
54
|
+
@mixin border-bottom-radius($radius) {
|
55
|
+
-webkit-border-bottom-right-radius: $radius;
|
56
|
+
border-bottom-right-radius: $radius;
|
57
|
+
-webkit-border-bottom-left-radius: $radius;
|
58
|
+
border-bottom-left-radius: $radius;
|
59
|
+
background-clip: padding-box;
|
60
|
+
}
|
61
|
+
@mixin border-left-radius($radius) {
|
62
|
+
-webkit-border-bottom-left-radius: $radius;
|
63
|
+
border-bottom-left-radius: $radius;
|
64
|
+
-webkit-border-top-left-radius: $radius;
|
65
|
+
border-top-left-radius: $radius;
|
66
|
+
background-clip: padding-box;
|
67
|
+
}
|
68
|
+
|
69
|
+
/*TEXT*/
|
70
|
+
@mixin text-overflow{
|
71
|
+
word-break: break-word;
|
72
|
+
white-space: nowrap;
|
73
|
+
text-overflow: ellipsis;
|
74
|
+
overflow: hidden;
|
75
|
+
}
|
76
|
+
|
77
|
+
/*Position center*/
|
78
|
+
@mixin position-center{
|
79
|
+
top: 50%;
|
80
|
+
left: 50%;
|
81
|
+
transform: translate(-50%, -50%);
|
82
|
+
/* Backward compatibility */
|
83
|
+
-webkit-transform: translate(-50%, -50%);
|
84
|
+
-moz-transform: translate(-50%, -50%);
|
85
|
+
-o-transform: translate(-50%, -50%);
|
86
|
+
-ms-transform: translate(-50%, -50%);
|
87
|
+
}
|
88
|
+
|
89
|
+
/*shadow*/
|
90
|
+
@mixin shadow-basic{
|
91
|
+
box-shadow: 0px 2px 10px 1px rgba(0,0,0,0.1);
|
92
|
+
-webkit-box-shadow: 0px 2px 10px 1px rgba(0,0,0,0.1);
|
93
|
+
-moz-box-shadow: 0px 2px 10px 1px rgba(0,0,0,0.1);
|
94
|
+
}
|
95
|
+
|
96
|
+
/*transform*/
|
97
|
+
@mixin transform($transform) {
|
98
|
+
-webkit-transform: $transform;
|
99
|
+
-moz-transform: $transform;
|
100
|
+
-ms-transform: $transform;
|
101
|
+
-o-transform: $transform;
|
102
|
+
transform: $transform;
|
103
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
.modal-header{
|
2
|
+
display: flex;
|
3
|
+
justify-content: space-between;
|
4
|
+
.btn-close{
|
5
|
+
opacity: 1;
|
6
|
+
margin-left: rem(5);
|
7
|
+
background: none;
|
8
|
+
position: relative;
|
9
|
+
padding-right:rem(15);
|
10
|
+
&::before{
|
11
|
+
font-family: 'bentowebicon' !important;
|
12
|
+
content: "\e98a";
|
13
|
+
font-size: rem(20);
|
14
|
+
line-height: .5;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
.modal-title{
|
20
|
+
font-size: rem(20);
|
21
|
+
font-weight: 700;
|
22
|
+
}
|
23
|
+
|
24
|
+
.modal {
|
25
|
+
display: block;
|
26
|
+
position: fixed;
|
27
|
+
z-index: 9;
|
28
|
+
left: 0;
|
29
|
+
top: 0;
|
30
|
+
width: 100%;
|
31
|
+
height: 100%;
|
32
|
+
opacity: 1;
|
33
|
+
background-color: rgba(0, 0, 0, 0.5) !important;
|
34
|
+
backdrop-filter: blur(5px) !important;
|
35
|
+
-webkit-backdrop-filter: blur(5px) !important;
|
36
|
+
&.show {
|
37
|
+
opacity: 1;
|
38
|
+
transition: opacity 0.3s ease;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
.modal-content {
|
42
|
+
background-color: white;
|
43
|
+
margin: 15% auto;
|
44
|
+
border: 1px solid #888;
|
45
|
+
.col-form-label{font-size: rem(14);}
|
46
|
+
}
|
47
|
+
.modal-body{
|
48
|
+
padding: 0;
|
49
|
+
}
|
50
|
+
.modal-lg{
|
51
|
+
max-width: $modal-lg;
|
52
|
+
}
|
53
|
+
.modal-md{
|
54
|
+
max-width: $modal-md;
|
55
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
.pagination{margin-bottom: 0;}
|
2
|
+
|
3
|
+
.page-link {
|
4
|
+
background-color: $pagination-bg;
|
5
|
+
border-width: 0;
|
6
|
+
color:$pagination-color;
|
7
|
+
font-weight: 700;
|
8
|
+
padding: rem(10);
|
9
|
+
&:hover {
|
10
|
+
color: $pagination-color;
|
11
|
+
}
|
12
|
+
|
13
|
+
&:focus {
|
14
|
+
box-shadow: none;
|
15
|
+
color: $pagination-color;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
.page-item {
|
20
|
+
&.active .page-link {
|
21
|
+
background-color: $pagination-active-bg;
|
22
|
+
color: $pagination-active-color;
|
23
|
+
}
|
24
|
+
|
25
|
+
&.disabled .page-link {
|
26
|
+
color: $pagination-disabled-color;
|
27
|
+
background-color: $pagination-disabled-bg;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
//
|
32
|
+
// Sizing
|
33
|
+
//
|
34
|
+
|
35
|
+
.pagination-lg {
|
36
|
+
.page-link {font-size: rem(20);}
|
37
|
+
}
|
38
|
+
.pagination-sm {
|
39
|
+
.page-link {font-size: rem(13);}
|
40
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
.btw-sidebar{
|
2
|
+
height: 100vh;
|
3
|
+
position: sticky;
|
4
|
+
top: 0;
|
5
|
+
.btw-link-group{
|
6
|
+
.btw-links-heading{
|
7
|
+
color: $sidebar-heading-color;
|
8
|
+
font-size: rem(20);
|
9
|
+
display: block;
|
10
|
+
}
|
11
|
+
.btw-links-link{
|
12
|
+
font-weight: 600;
|
13
|
+
color: $sidebar-color;
|
14
|
+
text-decoration: none;
|
15
|
+
padding: rem(12) rem(10);
|
16
|
+
display: block;
|
17
|
+
font-size: rem(18);
|
18
|
+
&.active{
|
19
|
+
background-color: $sidebar-active-bg;
|
20
|
+
border-radius: rem(10);
|
21
|
+
color: $sidebar-active-color;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
.table {
|
2
|
+
th,
|
3
|
+
td {
|
4
|
+
font-size: rem(14);
|
5
|
+
border-top-color: $table-border-color;
|
6
|
+
padding: rem(12) rem(5);
|
7
|
+
&:first-child{padding-left: rem(20);}
|
8
|
+
&:last-child{padding-right: rem(20);}
|
9
|
+
}
|
10
|
+
|
11
|
+
thead th {
|
12
|
+
border-top:rem(1) solid $table-border-color;
|
13
|
+
border-bottom-color:$table-border-color;
|
14
|
+
color: $table-th-color;
|
15
|
+
}
|
16
|
+
|
17
|
+
tbody + tbody {
|
18
|
+
border-top-color: $table-border-color;
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
.nav-tabs {
|
2
|
+
border-bottom-width: 0;
|
3
|
+
flex-wrap: wrap;
|
4
|
+
gap:20px;
|
5
|
+
.nav-item{
|
6
|
+
flex: 1;
|
7
|
+
}
|
8
|
+
.nav-link {
|
9
|
+
color: $nav-pills-color;
|
10
|
+
border-color: $nav-pills-border-color;
|
11
|
+
padding: 20px;
|
12
|
+
border-width: 3px;
|
13
|
+
display: flex;
|
14
|
+
justify-content: space-between;
|
15
|
+
align-items: center;
|
16
|
+
height: 100%;
|
17
|
+
}
|
18
|
+
.nav-link.active{
|
19
|
+
color:$nav-tabs-link-active-color;
|
20
|
+
background-color: $nav-tabs-link-active-bg;
|
21
|
+
border-color: $nav-tabs-link-active-border-color;
|
22
|
+
.text-muted{color:$nav-tabs-link-active-color!important;}
|
23
|
+
}
|
24
|
+
}
|
@@ -0,0 +1,89 @@
|
|
1
|
+
/* container for all of the switch elements
|
2
|
+
- adjust "width" to fit the content accordingly
|
3
|
+
*/
|
4
|
+
.switches-container {
|
5
|
+
width: rem(100);
|
6
|
+
position: relative;
|
7
|
+
display: flex;
|
8
|
+
padding: 0;
|
9
|
+
position: relative;
|
10
|
+
background: $toggle-bg-color;
|
11
|
+
line-height: rem(38);
|
12
|
+
border-radius: rem(10);
|
13
|
+
margin-left: auto;
|
14
|
+
margin-right: auto;
|
15
|
+
input{/* input (radio) for toggling. hidden - use labels for clicking on */
|
16
|
+
visibility: hidden;
|
17
|
+
position: absolute;
|
18
|
+
top: 0;
|
19
|
+
}
|
20
|
+
label {/* labels for the input (radio) boxes - something to click on */
|
21
|
+
width: 50%;
|
22
|
+
padding: 0;
|
23
|
+
margin: 0;
|
24
|
+
text-align: center;
|
25
|
+
cursor: pointer;
|
26
|
+
color: $toggle-label-text;
|
27
|
+
font-weight: 600;
|
28
|
+
font-size: rem(14);
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
/* switch highlighters wrapper (sliding left / right)
|
33
|
+
- need wrapper to enable the even margins around the highlight box
|
34
|
+
*/
|
35
|
+
.switch-wrapper {
|
36
|
+
position: absolute;
|
37
|
+
top: 0;
|
38
|
+
bottom: 0;
|
39
|
+
width: 50%;
|
40
|
+
z-index: 3;
|
41
|
+
transition: transform .5s cubic-bezier(.77, 0, .175, 1);
|
42
|
+
/* transition: transform 1s; */
|
43
|
+
}
|
44
|
+
|
45
|
+
/* switch box highlighter */
|
46
|
+
.switch {
|
47
|
+
border-radius: rem(10);
|
48
|
+
background: $toggle-active-bg;
|
49
|
+
height: 100%;
|
50
|
+
border:rem(2) solid $toggle-active-border;
|
51
|
+
div{
|
52
|
+
/* switch box labels
|
53
|
+
- default setup
|
54
|
+
- toggle afterwards based on radio:checked status
|
55
|
+
*/
|
56
|
+
width: 100%;
|
57
|
+
text-align: center;
|
58
|
+
opacity: 0;
|
59
|
+
display: block;
|
60
|
+
color: $toggle-active-text;
|
61
|
+
transition: opacity .2s cubic-bezier(.77, 0, .175, 1) .125s;
|
62
|
+
will-change: opacity;
|
63
|
+
position: absolute;
|
64
|
+
top: 0;
|
65
|
+
left: 0;
|
66
|
+
font-weight: 600;
|
67
|
+
font-size: rem(14);
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
/* slide the switch box from right to left */
|
72
|
+
.switches-container input:nth-of-type(1):checked~.switch-wrapper {
|
73
|
+
transform: translateX(0%);
|
74
|
+
}
|
75
|
+
|
76
|
+
/* slide the switch box from left to right */
|
77
|
+
.switches-container input:nth-of-type(2):checked~.switch-wrapper {
|
78
|
+
transform: translateX(100%);
|
79
|
+
}
|
80
|
+
|
81
|
+
/* toggle the switch box labels - first checkbox:checked - show first switch div */
|
82
|
+
.switches-container input:nth-of-type(1):checked~.switch-wrapper .switch div:nth-of-type(1) {
|
83
|
+
opacity: 1;
|
84
|
+
}
|
85
|
+
|
86
|
+
/* toggle the switch box labels - second checkbox:checked - show second switch div */
|
87
|
+
.switches-container input:nth-of-type(2):checked~.switch-wrapper .switch div:nth-of-type(2) {
|
88
|
+
opacity: 1;
|
89
|
+
}
|