2018-10-08 22:31:58 +02:00

166 lines
3.2 KiB
SCSS
Executable File

// Fonts
@import url('https://fonts.googleapis.com/css?family=Nunito');
// Variables
@import 'variables';
// Bootstrap
@import '~bootstrap/scss/bootstrap';
//Datatables
@import '~datatables.net-bs4/css/dataTables.bootstrap4.min.css';
//DatePicker
@import '~tempusdominus-bootstrap-4/build/css/tempusdominus-bootstrap-4.min.css';
.navbar-laravel {
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}
body {
padding-top: 70px;
}
// Card
$card-border-width: 4px;
$card-border-radius: .3rem;
$card-border-color: rgba(255, 242, 242, .3);
//MainNavbar
#mainNav {
z-index: 1;
}
//Sidebar
/* The side navigation menu */
.sidenav {
height: 100%; /* 100% Full-height */
width: 90px; /* 0 width - change this with JavaScript */
position: fixed; /* Stay in place */
z-index: 1000; /* Stay on top */
top: 0; /* Stay at the top */
left: 0;
background-color: $black; /* Black*/
overflow-x: hidden; /* Disable horizontal scroll */
padding-top: 60px; /* Place content 60px from the top */
transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}
.closed > a > span {
display: none;
}
.opened .openbtn {
display: none;
}
.closed .closebtn {
display: none;
}
/* The navigation menu links */
.sidenav a {
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: #818181;
display: block;
transition: 0.3s;
z-index: 100;
}
/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
color: #f1f1f1;
}
/* Position and style the close button (top right corner) */
.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
.sidenav .openbtn {
position: absolute;
top: 0;
right: 20px;
font-size: 36px;
margin-left: 50px;
}
.sidenav a.active {
color: #f1f1f1 !important;
}
/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
transition: margin-left .5s;
margin-left: 90px;
padding: 20px;
}
/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
.sidenav {
padding-top: 15px;
}
.sidenav a {
font-size: 18px;
}
}
//BOuton de selection du karting
.btn {
border-color:$body-light-bg;
padding: 0.35rem 1.5rem;
color: $body-text-bg!important;
background-color: transparent;
background-image: none;
}
.dropdown-menu{
top: 100%;
text-align: left;
display: none;
position: absolute;
z-index: 101;
padding-top: 0;
width: 245px;
border-radius: 4px;
-webkit-transform: translateZ(0);
transform: translateZ(0);
-webkit-transform-style: preserve-3d;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
border-color: $body-light-bg;
color: $body-bg!important;
}
.dropdown-item:hover{
cursor: pointer;
color: $body-bg!important;
}
.textarea-form {
width: 100%;
}
//Widgets Admin
.widget-thumb {
padding: 20px 10px 20px 10px;
border-radius: 4px;
vertical-align: center;
text-align: center;
}
.widget-thumb:hover {
cursor: pointer;
}
.widget-thumb-red {
background-color: #E7505A !important;
}
.widget-thumb-blue {
background-color: #0076A8 !important;
}