Files
design-themes/theme_notes/static/src/less/customize_modal.less
T
2021-05-25 18:32:22 +02:00

382 lines
10 KiB
Plaintext

/* ================== MODAL COLORS ================= */
@modalGreen: @colorPreset2_color4;
@modalGreenDark: darken(@modalGreen, 5%);
@modalGreenLight: lighten(@modalGreen, 15%);
@modalOrange: @colorPreset3_color2;
@modalBlue: #151C24;
@modalLightBlue: lighten(@modalBlue, 20%);
/* ======================= COLOR PRESET 1 ====================== */
#theme_customize_modal .row .colorPreset1 div:nth-child(1) {background-color: @white;}
#theme_customize_modal .row .colorPreset1 div:nth-child(2) {background-color: @colorPreset1_color1;}
#theme_customize_modal .row .colorPreset1 div:nth-child(3) {background-color: @colorPreset1_color2;}
#theme_customize_modal .row .colorPreset1 div:nth-child(4) {background-color: @colorPreset1_color3;}
#theme_customize_modal .row .colorPreset1 div:nth-child(5) {background-color: @colorPreset1_color4;}
/* ======================= COLOR PRESET 2 ====================== */
#theme_customize_modal .row .colorPreset2 div:nth-child(1) {background-color: @colorPreset2_color1;}
#theme_customize_modal .row .colorPreset2 div:nth-child(2) {background-color: @colorPreset2_color2;}
#theme_customize_modal .row .colorPreset2 div:nth-child(3) {background-color: @white;}
#theme_customize_modal .row .colorPreset2 div:nth-child(4) {background-color: @colorPreset2_color3;}
#theme_customize_modal .row .colorPreset2 div:nth-child(5) {background-color: @colorPreset2_color4;}
/* ======================= COLOR PRESET 3 ====================== */
#theme_customize_modal .row .colorPreset3 div:nth-child(1) {background-color: @colorPreset3_color1;}
#theme_customize_modal .row .colorPreset3 div:nth-child(2) {background-color: @colorPreset3_color2;}
#theme_customize_modal .row .colorPreset3 div:nth-child(3) {background-color: @white;}
#theme_customize_modal .row .colorPreset3 div:nth-child(4) {background-color: @colorPreset3_color3;}
#theme_customize_modal .row .colorPreset3 div:nth-child(5) {background-color: @colorPreset3_color4;}
/* ======================= COLOR PRESET 4 ====================== */
#theme_customize_modal .row .colorPreset4 div:nth-child(1) {background-color: @colorPreset4_color1;}
#theme_customize_modal .row .colorPreset4 div:nth-child(2) {background-color: @colorPreset4_color2;}
#theme_customize_modal .row .colorPreset4 div:nth-child(3) {background-color: @white;}
#theme_customize_modal .row .colorPreset4 div:nth-child(4) {background-color: @colorPreset4_color3;}
#theme_customize_modal .row .colorPreset4 div:nth-child(5) {background-color: @colorPreset4_color4;}
/* ======================= COLOR PRESET 5 ====================== */
#theme_customize_modal .row .colorPreset5 div:nth-child(1) {background-color: @colorPreset5_color1;}
#theme_customize_modal .row .colorPreset5 div:nth-child(2) {background-color: @colorPreset5_color2;}
#theme_customize_modal .row .colorPreset5 div:nth-child(3) {background-color: @white;}
#theme_customize_modal .row .colorPreset5 div:nth-child(4) {background-color: @colorPreset5_color3;}
#theme_customize_modal .row .colorPreset5 div:nth-child(5) {background-color: @colorPreset5_color4;}
/* ======================= COLOR PRESET 6 ====================== */
#theme_customize_modal .row .colorPreset6 div:nth-child(1) {background-color: @colorPreset6_color1;}
#theme_customize_modal .row .colorPreset6 div:nth-child(2) {background-color: @colorPreset6_color2;}
#theme_customize_modal .row .colorPreset6 div:nth-child(3) {background-color: @white;}
#theme_customize_modal .row .colorPreset6 div:nth-child(4) {background-color: @colorPreset6_color3;}
#theme_customize_modal .row .colorPreset6 div:nth-child(5) {background-color: @colorPreset6_color4;}
/* ======================= BACKGROUNDS ====================== */
#theme_customize_modal #bgcolor .bg_color_01 {background-color: @white;}
#theme_customize_modal #bgcolor .bg_color_02 {background-color: @colorPreset5_color4;}
#theme_customize_modal #bgcolor .bg_color_03 {background-color: @gray-light;}
#theme_customize_modal #bgcolor .bg_color_04 {background-color: @black;}
#theme_customize_modal #bgcolor .bg_color_05 {background-color: @colorPreset6_color3;}
#theme_customize_modal #bgcolor .bg_color_06 {background-color: @colorPreset1_color2;}
#theme_customize_modal #bgcolor .bg_color_07 {background-color: @colorPreset5_color2;}
#theme_customize_modal #bgcolor .bg_color_08 {background-color: @colorPreset3_color2;}
/* ================== THEME CUSTOMIZE MODAL =============== */
#theme_customize_modal {
label > div, label > img, label > h6, label > h4 {
border: none;
padding: 3px;
}
label.checked > div, label.checked > img, label.checked > h6, label.checked > h4 {
box-shadow: none;
background-color: @modalLightBlue;
}
h4 {
color: @white;
text-align: left;
}
h6 {
color: @white;
}
p {
color: @white;
}
.row {
.col-md-2 {
padding-right: 0px;
}
}
}
#theme_customize_modal {
.modal-header {
border-bottom: none;
}
.nav-tabs > li.active > a, &:hover, &:focus, .nav > li > a:hover, &:focus {
background-color: @gray-dark;
border: none;
color: @modalOrange;
}
}
.nav-tabs > li > a {
margin-right: 0px;
&:hover {
border-radius: 0px;
border: none;
}
}
.nav-tabs > li > a, .nav > li > a {
border-radius: 0px;
border: none;
}
.modal-dialog .nav > li > a {
padding: 15px 5px;
}
.modal-h6 {
font-size: 30px;
}
.interface {
width: 350px;
margin-top: 20px;
position: relative;
font-family: "Cuprum-Regular";
.left-content {
background-color: @modalGreen;
width: 70px;
padding-left: 0px;
.VAlignTop;
ul {
border: none;
}
}
.right-content {
width: 100%;
.VAlignTop;
padding: 0px;
background-color: @gray-dark;
.tab-content {
overflow-x: hidden;
height: 480px;
}
}
}
.close {
padding: .2em .4em;
color: white;
position: absolute;
top: 10px;
right: 10px;
float: right;
font-weight: bold;
opacity: .9;
}
.left-content-block a {
display: block;
min-height: 70px;
width: 70px;
text-decoration: none;
cursor: pointer;
color: white;
font-size: 12px;
&:hover, &:focus, &:active {
background-image: none;
}
span {
margin-bottom: 13px;
}
}
.left-content-block .glyphicon:hover, .glyphicon:focus {
color: @modalOrange;
}
.glyphicon {
font-size: 20px;
padding-bottom: 5px;
color: @white;
}
.color-combi {
.col-xs-2 {
width: 43px;
height: 43px;
padding: 0px;
}
.row {
border-color: @gray-light !important;
}
}
.tab-pane > .row > .col-xs-6 {
padding: 0px;
}
#bgcolor {
.col-xs-12 {
height: 50px;
margin-bottom: 15px;
}
}
#pattern {
.col-xs-12 {
.pattern-swatch{
width: 250px;
height: 100%;
img {
width: 100%;
height: auto;
}
}
}
}
#color {
p:first-child {
margin-top: 15px;
}
}
/* ================== MODAL ======================*/
.modal:not(#theme_customize_modal) {
.modal-dialog {
border: 1px solid @color-zeta;
.modal-content {
border-radius: 0px;
border: none;
background-color: @color-gamma;
}
.btn-primary, .btn-default {
border: none;
}
.active a {
background: rgba(0, 0, 0, 0);
color: @color-delta;
text-decoration: underline;
&:hover {
border-width: 0px;
color: @color-delta;
}
}
}
.modal-body, .modal-footer {
background-color: @color-beta;
border-top: 1px solid @color-zeta;
}
.modal-footer {
color: white;
.btn-primary {
background-color: @color-alpha;
color: @color-beta;
}
}
.modal-header {
height: 71px;
border: none;
h4 {
font-size: 20px;
}
}
.modal-body {
color: @gray-lighter;
thead {
color: white;
}
#editor-media-image {
background-color: rgba(0, 0, 0, 0) !important;
}
.well {
background-color: @color-gamma;
.BorderRadius(0px);
border: none;
.form-control {
border-radius: 0px;
background-color: @color-beta;
border: none;
box-shadow: none;
&:focus {
box-shadow: none;
border: 1px solid @color-eta;
}
}
.btn-default {
border-radius: 0px;
border: none;
background-color: @color-zeta;
color: @gray-lighter;
height: 40px;
}
}
.tab-content {
.existing-attachment-remove {
background: @color-beta;
border: 1px solid @color-zeta;
}
}
.nav-tabs > li.active > a, &:hover > li.active > a:focus {
border: none;
}
.nav-tabs {
border-bottom: 1px solid @color-theta;
background-color: @color-gamma;
padding-left: 20px;
.font-icons:before {
z-index: 1;
font-size: 1.5em;
top: 14px;
left: 10px;
}
.pager {
transform: translateY(23%);
margin-right: 10px;
.previous a, .next a {
background-color: @color-zeta;
color: @gray-lighter;
border: none;
height: 35px;
}
}
a {
color: @color-delta !important;
&:hover {
background: rgba(0, 0, 0, 0);
}
}
}
.search .form-control {
border-radius: 0px;
background-color: @color-beta;
border: none;
transform: translateY(25%);
box-shadow: none;
&:focus {
box-shadow: none;
border: 1px solid @color-zeta;
}
}
}
.modal-title {
color: @color-alpha;
}
.nav-tabs > li {
margin-bottom: 0px;
&:hover {
background: rgba(0, 0, 0, 0);
}
}
.pager li > a {
.BorderRadius(0px);
}
.search .form-control {
border-color: @gray-lighter;
}
}
#theme_customize_modal {
background: rgba(0, 0, 0, 0) !important;
}
#editor-media-image {
background-color: white !important;
}
/* ====================== LOGIN =====================*/
.oe_login_form {
.oe_login_buttons {
.btn-primary {
background: rgba(0, 0, 0, 0) !important;
&:hover {
color: @color-delta !important;
}
}
.btn-link {
color: @color-delta;
}
}
}
.oe_website_login_container {
padding: 50px;
.btn {
padding: 0px !important;
min-width: 50px !important;
}
}