Add slider tabs style
This commit is contained in:
parent
f902074e00
commit
1866a893c6
|
@ -35,6 +35,7 @@
|
|||
@import "accordion";
|
||||
@import "dropdown";
|
||||
@import "modal";
|
||||
@import "slider";
|
||||
@import "offcanvas";
|
||||
@import "notification";
|
||||
@import "tooltip";
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
.hook-slider-misc() {
|
||||
.uk-slider-container-tabs:extend(.uk-slider-container) {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: @tab-margin-horizontal;
|
||||
right: 0;
|
||||
border-bottom: @tab-border-width solid @tab-border;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -23,11 +23,11 @@
|
|||
.hook-tab() {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
&:not(.uk-slider-items):not(.uk-tab-left):not(.uk-tab-right)::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 20px;
|
||||
left: @tab-margin-horizontal;
|
||||
right: 0;
|
||||
border-bottom: @tab-border-width solid @tab-border;
|
||||
}
|
||||
|
@ -42,9 +42,10 @@
|
|||
font-weight: 600;
|
||||
}
|
||||
|
||||
|
||||
.hook-tab-left() {
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: auto;
|
||||
|
@ -62,6 +63,8 @@
|
|||
|
||||
.hook-tab-right() {
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
|
|
Loading…
Reference in New Issue