Introduce color variables
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
parent
b34c6860be
commit
6d5d1b9851
35 changed files with 696 additions and 909 deletions
|
@ -2,22 +2,21 @@
|
|||
order: 1;
|
||||
flex: 20%;
|
||||
max-width: 20%;
|
||||
/* background-color: lightsalmon; */
|
||||
transition: all ease-out 0.5s;
|
||||
@include transition();
|
||||
|
||||
.sidebar-holder {
|
||||
top: 2.5rem;
|
||||
position: sticky;
|
||||
background-color: #f9fafc;
|
||||
background-color: $bg-primary;
|
||||
height: 100vh;
|
||||
overflow: auto;
|
||||
box-shadow: 0px 8px 56px rgba(15, 80, 100, 0.16);
|
||||
transition: all ease-out 0.3s;
|
||||
box-shadow: $box-shadow;
|
||||
@include transition();
|
||||
|
||||
.sidebar {
|
||||
background: #f9fafc;
|
||||
background: $bg-primary;
|
||||
height: 100vh;
|
||||
transition: all ease-out 0.3s;
|
||||
@include transition();
|
||||
|
||||
#search-box {
|
||||
margin-left: 5%;
|
||||
|
@ -28,12 +27,12 @@
|
|||
margin-top: 30px;
|
||||
margin-bottom: 10px;
|
||||
border-radius: 5px;
|
||||
background-color: #e5e9f2;
|
||||
transition: all 0.3s ease-out;
|
||||
border: 1px solid #c0ccda;
|
||||
background-color: $bg-secondary;
|
||||
@include transition();
|
||||
border: 1px solid $border-color;
|
||||
|
||||
&:focus {
|
||||
border: 1pt solid #248aaa;
|
||||
border: 1pt solid $accent-color;
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
@ -57,11 +56,11 @@
|
|||
margin: 0;
|
||||
padding: 0 1em;
|
||||
line-height: 2em;
|
||||
color: #3c4858;
|
||||
color: $heading-color;
|
||||
position: relative;
|
||||
|
||||
i {
|
||||
color: #3c4858;
|
||||
color: $heading-color;
|
||||
font-size: 12px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
@ -81,7 +80,7 @@
|
|||
top: 2.5rem;
|
||||
left: 1.5rem;
|
||||
bottom: 0.9rem;
|
||||
border-left: 1px solid;
|
||||
border-left: 1px solid $text-color;
|
||||
}
|
||||
li {
|
||||
&:before {
|
||||
|
@ -89,14 +88,14 @@
|
|||
display: block;
|
||||
width: 18px;
|
||||
height: 0;
|
||||
border-top: 1px solid;
|
||||
border-top: 1px solid $text-color;
|
||||
margin-top: -1px;
|
||||
position: absolute;
|
||||
top: 18px;
|
||||
left: -2px;
|
||||
}
|
||||
&:last-child:before {
|
||||
background: #f9fafc;
|
||||
background: $bg-primary;
|
||||
height: auto;
|
||||
top: 1.1rem;
|
||||
bottom: 0;
|
||||
|
@ -154,7 +153,7 @@
|
|||
flex: 0%;
|
||||
max-width: 0%;
|
||||
min-height: 100vh;
|
||||
transition: all ease-out 0.3s;
|
||||
@include transition();
|
||||
|
||||
.sidebar-holder {
|
||||
position: sticky;
|
||||
|
@ -168,7 +167,7 @@
|
|||
flex: 30%;
|
||||
max-width: 30%;
|
||||
margin-right: 0.5rem;
|
||||
transition: all ease-out 0.3s;
|
||||
@include transition();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -176,7 +175,7 @@
|
|||
flex: 0%;
|
||||
max-width: 0%;
|
||||
min-height: 100vh;
|
||||
transition: all ease-out 0.3s;
|
||||
@include transition();
|
||||
|
||||
.sidebar-holder {
|
||||
position: sticky;
|
||||
|
@ -188,7 +187,7 @@
|
|||
flex: 40%;
|
||||
max-width: 40%;
|
||||
margin-right: 0.5rem;
|
||||
transition: all ease-out 0.3s;
|
||||
@include transition();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -197,7 +196,7 @@
|
|||
min-height: 0;
|
||||
max-height: 0;
|
||||
max-width: 100%;
|
||||
transition: all ease-out 0.5s;
|
||||
@include transition();
|
||||
|
||||
.sidebar-holder {
|
||||
max-height: 0;
|
||||
|
@ -205,7 +204,7 @@
|
|||
height: fit-content;
|
||||
overflow: hidden;
|
||||
max-width: 100%;
|
||||
transition: all ease-out 0.5s;
|
||||
@include transition();
|
||||
|
||||
.sidebar {
|
||||
position: relative;
|
||||
|
@ -216,12 +215,12 @@
|
|||
width: 100vw;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
transition: all ease-out 0.5s;
|
||||
@include transition();
|
||||
|
||||
.sidebar-tree {
|
||||
margin-left: 0rem;
|
||||
max-height: 0;
|
||||
transition: all 0.5s ease-out;
|
||||
@include transition();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -234,15 +233,15 @@
|
|||
flex: none;
|
||||
max-height: 300vh;
|
||||
max-width: 100%;
|
||||
transition: all ease-out 0.5s;
|
||||
@include transition();
|
||||
|
||||
.sidebar-holder {
|
||||
max-height: 200vh;
|
||||
transition: all ease-out 0.5s;
|
||||
@include transition();
|
||||
|
||||
.sidebar-tree {
|
||||
max-height: 200vh;
|
||||
transition: all 0.5s ease-out;
|
||||
@include transition();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue