mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-25 01:02:19 +00:00
383 lines
No EOL
6.4 KiB
SCSS
383 lines
No EOL
6.4 KiB
SCSS
/*
|
|
Template Name: Material Pro Admin
|
|
Author: Themedesigner
|
|
Email: niravjoshi87@gmail.com
|
|
File: scss
|
|
*/
|
|
|
|
@import 'variable';
|
|
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,600,700');
|
|
|
|
$bodyfont: 'Roboto', 'open sans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
|
|
$headingfont: 'Roboto', 'open sans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
|
|
|
|
$themecolor: #3a3f51;
|
|
$themecolor-dark: #252833;
|
|
$topbar: #ce2829;
|
|
$themecolor-alt: #252833;
|
|
$sidebar: #3a3f51;
|
|
$swhite: #e1e2e3;
|
|
$bodycolor: white;
|
|
|
|
|
|
/*******************
|
|
/*Top bar
|
|
*******************/
|
|
|
|
.topbar {
|
|
background: $topbar;
|
|
|
|
|
|
.top-navbar .navbar-header .navbar-brand .light-logo {
|
|
display: inline-block;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.navbar-light .navbar-nav .nav-item > {
|
|
a.nav-link {
|
|
|
|
color: $white !important;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
color: rgba(255, 255, 255, 0.8) !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
/*******************
|
|
/*General Elements
|
|
*******************/
|
|
|
|
a.link {
|
|
&:hover,
|
|
&:focus {
|
|
color: $themecolor !important;
|
|
}
|
|
}
|
|
|
|
.bg-theme {
|
|
background-color: $themecolor !important;
|
|
}
|
|
|
|
.pagination > .active > a,
|
|
.pagination > .active > span,
|
|
.pagination > .active > a:hover,
|
|
.pagination > .active > span:hover,
|
|
.pagination > .active > a:focus,
|
|
.pagination > .active > span:focus {
|
|
background-color: $themecolor;
|
|
border-color: $themecolor;
|
|
}
|
|
|
|
.right-sidebar {
|
|
.rpanel-title {
|
|
background: $themecolor;
|
|
}
|
|
}
|
|
|
|
.stylish-table {
|
|
tbody tr {
|
|
&:hover,
|
|
&.active {
|
|
border-left: 4px solid $themecolor;
|
|
}
|
|
}
|
|
}
|
|
|
|
.text-themecolor {
|
|
color: $swhite !important;
|
|
}
|
|
|
|
.profile-tab,
|
|
.customtab {
|
|
li {
|
|
a.nav-link {
|
|
&.active {
|
|
border-bottom: 2px solid $themecolor;
|
|
color: $themecolor;
|
|
}
|
|
|
|
&:hover {
|
|
color: $themecolor;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.left-sidebar {
|
|
position: absolute;
|
|
width: 240px;
|
|
height: 100%;
|
|
top: 0;
|
|
z-index: 20;
|
|
padding-top: 70px;
|
|
background: $sidebar;
|
|
box-shadow: 0 0 0 rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.sidebar-nav {
|
|
background: $sidebar;
|
|
padding: 0;
|
|
|
|
> ul {
|
|
padding: 0 0 60px;
|
|
}
|
|
|
|
ul {
|
|
margin: 0;
|
|
|
|
li {
|
|
list-style: none;
|
|
|
|
a {
|
|
color: $swhite;
|
|
font-weight: 400;
|
|
padding: 8px 35px 8px 40px;
|
|
display: block;
|
|
font-size: 14px;
|
|
border-radius: 0;
|
|
white-space: nowrap;
|
|
|
|
i {
|
|
color: $swhite;
|
|
font-size: 14px;
|
|
}
|
|
|
|
&.active,
|
|
&:hover {
|
|
color: $topbar;
|
|
cursor: pointer;
|
|
}
|
|
|
|
&.active {
|
|
font-weight: 400;
|
|
color: $topbar;
|
|
}
|
|
}
|
|
|
|
ul {
|
|
padding-left: 60px;
|
|
padding-top: 0;
|
|
transition-delay: inherit;
|
|
border-left: 3px solid $topbar;
|
|
|
|
li a {
|
|
padding: 15px 35px 10px 15px;
|
|
}
|
|
|
|
ul {
|
|
padding-left: 35px;
|
|
|
|
}
|
|
}
|
|
|
|
&.nav-small-cap {
|
|
font-size: 12px;
|
|
margin-bottom: 0;
|
|
padding: 14px 14px 14px 20px;
|
|
color: $dark;
|
|
font-weight: 400;
|
|
}
|
|
}
|
|
}
|
|
|
|
> ul > li {
|
|
margin-bottom: 0px;
|
|
|
|
&.active > a {
|
|
color: $topbar;
|
|
font-weight: 400;
|
|
border-left: 3px solid $topbar;
|
|
background: $themecolor-alt;
|
|
padding: 8px 35px 8px 37px;
|
|
|
|
i {
|
|
color: $topbar;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
}
|
|
|
|
> ul > li > a {
|
|
|
|
&.active,
|
|
&:hover {
|
|
|
|
i {
|
|
color: $topbar;
|
|
}
|
|
}
|
|
|
|
i {
|
|
width: 27px;
|
|
height: 27px;
|
|
line-height: 27px;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
color: $swhite;
|
|
}
|
|
|
|
.label {
|
|
float: right;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
&.active {
|
|
font-weight: 400;
|
|
background: #242933;
|
|
color: $topbar;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
/*******************
|
|
/*Buttons
|
|
*******************/
|
|
|
|
.btn-themecolor,
|
|
.btn-themecolor.disabled {
|
|
background: $themecolor;
|
|
color: $swhite;
|
|
border: 1px solid $themecolor;
|
|
|
|
&:hover {
|
|
background: $themecolor;
|
|
opacity: 0.7;
|
|
border: 1px solid $themecolor;
|
|
}
|
|
|
|
&.active,
|
|
&:focus {
|
|
background: $themecolor-dark;
|
|
}
|
|
}
|
|
|
|
.topbar {
|
|
position: relative;
|
|
z-index: 50;
|
|
box-shadow: 0 0 0 rgba(0, 0, 0, 0.5);
|
|
|
|
.top-navbar {
|
|
min-height: 60px;
|
|
padding: 0 15px 0 0;
|
|
|
|
.dropdown-toggle::after {
|
|
display: none;
|
|
}
|
|
|
|
.navbar-header {
|
|
line-height: 60px;
|
|
text-align: left;
|
|
|
|
.navbar-brand {
|
|
margin-right: 0;
|
|
padding-bottom: 0;
|
|
padding-top: 0;
|
|
padding-left: 20px;
|
|
|
|
.light-logo {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.dropdown-menu {
|
|
box-shadow: 0 0 0 rgba(0, 0, 0, 0.05);
|
|
-webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0.05);
|
|
-moz-box-shadow: 0 0 0 rgba(0, 0, 0, 0.05);
|
|
border-color: $border;
|
|
background: $themecolor;
|
|
padding: 0 0;
|
|
|
|
.dropdown-item {
|
|
padding: 7px 1.5rem;
|
|
}
|
|
}
|
|
|
|
ul.dropdown-user {
|
|
padding: 0;
|
|
width: 270px;
|
|
background: $themecolor;
|
|
|
|
li {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
|
|
a {
|
|
padding: 10px 15px;
|
|
display: block;
|
|
color: $swhite;
|
|
background: $themecolor;
|
|
|
|
&:hover {
|
|
background: $themecolor-alt;
|
|
color: $swhite;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.page-titles {
|
|
background: #4f566f;
|
|
margin: 0 -30px 30px;
|
|
padding: 10px;
|
|
box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.card-no-border {
|
|
.sidebar-nav > ul > li > a.active {
|
|
background: $themecolor-alt;
|
|
}
|
|
}
|
|
|
|
.form-material .form-control {
|
|
&::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
|
|
color: $swhite;
|
|
opacity: 1; /* Firefox */
|
|
}
|
|
|
|
&:-ms-input-placeholder { /* Internet Explorer 10-11 */
|
|
color: $swhite;
|
|
}
|
|
|
|
&::-ms-input-placeholder { /* Microsoft Edge */
|
|
color: $swhite;
|
|
}
|
|
}
|
|
|
|
.form-material .form-control, .form-material .form-control.focus, .form-material .form-control:focus {
|
|
background-image: linear-gradient($topbar, $topbar), linear-gradient($swhite, $swhite);
|
|
border: 0 none;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
float: none;
|
|
}
|
|
|
|
.form-control:focus {
|
|
|
|
&::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
|
|
color: $topbar;
|
|
opacity: 1; /* Firefox */
|
|
}
|
|
|
|
&:-ms-input-placeholder { /* Internet Explorer 10-11 */
|
|
color: $topbar;
|
|
}
|
|
|
|
&::-ms-input-placeholder { /* Microsoft Edge */
|
|
color: $topbar;
|
|
}
|
|
}
|
|
|
|
.page-wrapper {
|
|
background: $bodycolor;
|
|
padding-bottom: 60px;
|
|
} |