bazarr/static/scss/bazarr.scss

500 lines
8.4 KiB
SCSS
Raw Normal View History

2019-12-27 22:15:56 +00:00
/*
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;
2019-12-29 19:12:39 +00:00
$bodycolor: white;
2019-12-27 22:15:56 +00:00
2020-01-01 22:15:50 +00:00
body {
font-family: $bodyfont;
}
2019-12-27 22:15:56 +00:00
/*******************
/*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%;
2019-12-29 22:53:48 +00:00
top: 0;
2019-12-27 22:15:56 +00:00
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;
2019-12-29 22:53:48 +00:00
font-weight: 400;
2019-12-27 22:15:56 +00:00
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 {
2019-12-29 22:53:48 +00:00
font-weight: 400;
2019-12-29 10:56:34 +00:00
color: $topbar;
2019-12-27 22:15:56 +00:00
}
}
ul {
padding-left: 60px;
2019-12-29 22:53:48 +00:00
padding-top: 0;
2019-12-27 22:15:56 +00:00
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;
2019-12-29 22:53:48 +00:00
margin-bottom: 0;
2019-12-27 22:15:56 +00:00
padding: 14px 14px 14px 20px;
color: $dark;
2019-12-29 22:53:48 +00:00
font-weight: 400;
2019-12-27 22:15:56 +00:00
}
}
}
> ul > li {
2019-12-29 10:56:34 +00:00
margin-bottom: 0px;
2019-12-27 22:15:56 +00:00
&.active > a {
color: $topbar;
2019-12-29 22:53:48 +00:00
font-weight: 400;
2019-12-27 22:15:56 +00:00
border-left: 3px solid $topbar;
background: $themecolor-alt;
2019-12-29 22:53:48 +00:00
padding: 8px 35px 8px 37px;
2019-12-27 22:15:56 +00:00
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 {
2019-12-29 22:53:48 +00:00
font-weight: 400;
2019-12-27 22:15:56 +00:00
background: #242933;
color: $topbar;
}
}
}
2020-01-01 22:15:50 +00:00
@media(min-width: 768px) {
.mini-sidebar .sidebar-nav #sidebarnav li {
position: relative;
}
.mini-sidebar .sidebar-nav #sidebarnav > li > ul {
position: absolute;
left: 60px;
top: 45px;
width: 200px;
z-index: 1001;
background: $sidebar-alt;
display: none;
padding-left: 1px;
}
.mini-sidebar .sidebar-nav {
padding: 0;
}
.mini-sidebar.fix-sidebar .left-sidebar {
position: absolute;
}
.mini-sidebar .sidebar-nav #sidebarnav > li:hover > ul {
height: auto !important;
overflow: auto;
}
.mini-sidebar .sidebar-nav #sidebarnav > li:hover > ul,
.mini-sidebar .sidebar-nav #sidebarnav > li:hover > ul.collapse {
display: block;
}
.mini-sidebar .sidebar-nav #sidebarnav > li > a.has-arrow:after {
display: none;
}
.mini-sidebar {
.left-sidebar {
width: 60px;
}
2020-01-01 22:15:50 +00:00
.user-profile {
padding-bottom: 15px;
width: 60px;
margin-bottom: 7px;
.profile-img {
padding: 15px 0 0 0;
margin: 0px 0 0 6px;
&:before {
top: 15px;
}
}
}
2020-01-01 22:15:50 +00:00
.scroll-sidebar {
padding-bottom: 0px;
position: absolute;
}
2020-01-01 22:15:50 +00:00
.hide-menu,
.nav-small-cap,
.sidebar-footer,
.user-profile .profile-text {
display: none;
}
2020-01-01 22:15:50 +00:00
.nav-devider {
width: 50px;
}
2020-01-01 22:15:50 +00:00
.sidebar-nav {
background: transparent;
}
2020-01-01 22:15:50 +00:00
.sidebar-nav #sidebarnav > li > a {
padding: 9px 20px;
width: 60px;
}
2020-01-01 22:15:50 +00:00
.sidebar-nav #sidebarnav > li:hover > a {
width: 260px;
background: $themecolor-alt;
color: $white;
border-color: $themecolor;
i {
color: $white;
}
.hide-menu {
display: inline;
}
}
.sidebar-nav #sidebarnav > li.active > a {
border-color: transparent;
&.active {
border-color: $topbar;
}
}
2020-01-01 22:15:50 +00:00
}
}
2019-12-27 22:15:56 +00:00
/*******************
/*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: 10px;
2019-12-27 22:15:56 +00:00
.light-logo {
display: none;
}
2020-01-02 07:23:25 +00:00
2020-01-01 22:15:50 +00:00
b {
line-height: 60px;
display: inline-block;
}
2019-12-27 22:15:56 +00:00
}
}
}
.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;
2020-01-01 22:15:50 +00:00
padding: 0 0;
2019-12-27 22:15:56 +00:00
.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;
2020-01-02 07:23:25 +00:00
min-height: 50px;
padding: 0;
2019-12-27 22:15:56 +00:00
box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
2020-01-02 07:23:25 +00:00
.btn {
min-height: 50px;
width: 80px;
}
2019-12-27 22:15:56 +00:00
}
.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;
}
2019-12-29 19:12:39 +00:00
}
.page-wrapper {
2020-01-01 22:15:50 +00:00
background: $bodycolor;
padding-bottom: 60px;
2019-12-27 22:15:56 +00:00
}