menu
This commit is contained in:
197
resources/admin_theme/scss/style.scss
Normal file
197
resources/admin_theme/scss/style.scss
Normal file
@ -0,0 +1,197 @@
|
||||
@import 'bootstrap/bootstrap';
|
||||
@import 'bootstrap/variables';
|
||||
@import 'bootstrap/mixins';
|
||||
|
||||
$font-primary: 'Poppins',Arial, sans-serif;
|
||||
$primary: #f8b739;
|
||||
|
||||
body{
|
||||
font-family: $font-primary;
|
||||
font-size: 14px;
|
||||
line-height: 1.8;
|
||||
font-weight: normal;
|
||||
background: #fafafa;
|
||||
color: lighten($black,50%);
|
||||
}
|
||||
a {
|
||||
transition: .3s all ease;
|
||||
color: $primary;
|
||||
&:hover, &:focus {
|
||||
text-decoration: none !important;
|
||||
outline: none !important;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
button {
|
||||
transition: .3s all ease;
|
||||
&:hover, &:focus {
|
||||
text-decoration: none !important;
|
||||
outline: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
}
|
||||
h1, h2, h3, h4, h5,
|
||||
.h1, .h2, .h3, .h4, .h5 {
|
||||
line-height: 1.5;
|
||||
font-weight: 400;
|
||||
font-family: $font-primary;
|
||||
color: $black;
|
||||
}
|
||||
|
||||
|
||||
.ftco-section{
|
||||
padding: 7em 0;
|
||||
}
|
||||
|
||||
.ftco-no-pt{
|
||||
padding-top: 0;
|
||||
}
|
||||
.ftco-no-pb{
|
||||
padding-bottom: 0;
|
||||
}
|
||||
//HEADING SECTION
|
||||
.heading-section{
|
||||
font-size: 28px;
|
||||
color: $black;
|
||||
small{
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
//COVER BG
|
||||
.img{
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.navbar {
|
||||
padding: 15px 10px;
|
||||
background: #fff;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
margin-bottom: 40px;
|
||||
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.navbar-btn {
|
||||
box-shadow: none;
|
||||
outline: none !important;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.line {
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
border-bottom: 1px dashed #ddd;
|
||||
margin: 40px 0;
|
||||
}
|
||||
|
||||
|
||||
//SIDEBAR
|
||||
.wrapper {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
min-width: 300px;
|
||||
max-width: 300px;
|
||||
background: #1d1919;
|
||||
color: #fff;
|
||||
transition: all 0.3s;
|
||||
&.active{
|
||||
margin-left: -300px;
|
||||
}
|
||||
.logo{
|
||||
display: block;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
margin: 0 auto;
|
||||
span{
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
ul.components{
|
||||
padding: 0;
|
||||
}
|
||||
ul{
|
||||
li{
|
||||
font-size: 16px;
|
||||
>ul{
|
||||
margin-left: 10px;
|
||||
li{
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
a{
|
||||
padding: 10px 0;
|
||||
display: block;
|
||||
color: rgba(255,255,255,.8);
|
||||
border-bottom: 1px solid rgba(255,255,255,.1);
|
||||
&:hover{
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
&.active{
|
||||
> a{
|
||||
background: transparent;
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@include media-breakpoint-down(md){
|
||||
margin-left: -300px;
|
||||
&.active {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
a[data-toggle="collapse"] {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.dropdown-toggle::after {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
#sidebarCollapse{
|
||||
span{
|
||||
@include media-breakpoint-down(md){
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#content {
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
min-height: 100vh;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
|
||||
.btn{
|
||||
&.btn-primary{
|
||||
background: $primary;
|
||||
border-color: $primary;
|
||||
&:hover, &:focus{
|
||||
background: $primary !important;
|
||||
border-color: $primary !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footer{
|
||||
p{
|
||||
color: rgba(255,255,255,.5);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user