47 lines
1.1 KiB
CSS
47 lines
1.1 KiB
CSS
:root {
|
|
--offcanvas-background-color: var(--default-color);
|
|
--offcanvas-shadow: var(--shadow-large-dark);
|
|
--offcanvas-button-shadow: var(--shadow-medium);
|
|
}
|
|
|
|
.uk-offcanvas-switcher {
|
|
top: 320px !important;
|
|
position: fixed;
|
|
width: 60px;
|
|
height: 60px;
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
box-sizing: border-box;
|
|
right: 0;
|
|
z-index: 980;
|
|
background: var(--offcanvas-background-color);
|
|
border-radius: 6px 0px 0px 6px;
|
|
box-shadow: var(--offcanvas-button-shadow);
|
|
clip-path: inset(-30px 0px -30px -30px);
|
|
}
|
|
|
|
.uk-offcanvas-switcher .uk-offcanvas-count {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
font-size: 12px;
|
|
line-height: 20px;
|
|
-webkit-transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
height: 20px;
|
|
width: 20px;
|
|
border-radius: 50%;
|
|
padding: 1px;
|
|
background-color: var(--secondary-color);
|
|
color: var(--light-color);
|
|
}
|
|
|
|
|
|
.uk-offcanvas .uk-offcanvas-bar {
|
|
background-color: var(--offcanvas-background-color);
|
|
box-shadow: var(--offcanvas-shadow);
|
|
border-radius: 4px 0 0 4px;
|
|
width: 550px;
|
|
max-width: 100vw;
|
|
}
|