1KA_F2F/resources/sass/admin/modules/survey_themes.scss

267 lines
4.4 KiB
SCSS

/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
Created on : 23-Aug-2018, 15:41:37
Author : podkrizniku
*/
$color_6: #990000;
$background_color_2: #EFF2F7;
$background_color_3: #FAFFF0;
$background_color_4: #f2f2f2;
$background_color_5: green;
$background_color_6: #E9E7E7;
$border_color_1: #1F356C;
$skin_selector_border: $soft_blue_lighten;
$skin_selector: $orange_very_lighten;
.theme_header {
font-weight: 600;
font-size: 16px;
color: $strong_blue;
.bold {
padding-right: 30px;
color: $orange_darken;
}
a {
padding-right: 20px;
}
}
#div_theme_groups {
display: inline-block;
width: 100%;
vertical-align: middle;
}
#div_theme_group_holder {
display: block;
clear: both;
height: auto;
}
#div_theme_group {
div.theme_label {
display: inline-block;
margin: 10px 20px;
.theme_label_content{
cursor: pointer;
margin: 0 5px;
padding: 5px 5px 15px 5px;
font-size: 13px;
text-transform: uppercase;
background-color: $default_template_background;
border: none;
img {
display: block;
clear: both;
width: 200px;
height: 150px;
margin-bottom: 4px;
border: none;
}
span.theme_name {
a.help {
float: none !important;
padding: 0px !important;
white-space: normal !important;
}
}
&:hover {
color: $selectors;
background-color: darken( $soft_blue_lighten, 5% );
border: none;
}
}
a {
padding: 5px;
float: left;
}
a.theme_links_preview {
float: right;
}
a.theme_delete {
float: right;
}
}
.theme_label.span_theme_current {
.theme_label_content{
color: $selectors;
background-color: $skin_selector;
border: none;
&:hover {
background-color: $skin_selector;
}
}
}
span.theme_links_preview {
font-size: 12px;
float: right;
padding: 5px;
}
}
#div_theme_group.custom {
.custom_theme_holder {
width: 420px;
padding: 3px 10px 3px 10px;
&:hover {
background-color: $soft_blue_very_lighten;
}
.custom_theme_title {
display: inline;
cursor: pointer;
text-align: left;
color: $strong_blue;
font-size: 13px;
&:hover {
color: $orange;
}
}
span.custom_theme_preview {
margin-left: 15px;
float: right;
}
span.custom_theme_delete {
margin-left: 15px;
float: right;
}
span.custom_theme_edit {
margin-left: 15px;
float: right;
}
}
.custom_theme_holder.active {
background-color: white;
.custom_theme_title {
color: $orange;
font-weight: 600;
}
}
}
#div_theme_fullscreen {
position: absolute;
top: 0;
height: auto;
width: auto;
background-color: white;
border: 9px solid $soft_blue;
border-radius: 7px;
-moz-border-radius: 7px 7px 7px 7px;
-webkit-border-radius: 7px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
-moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
-webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}
.div_theme_fullscreen_content {
padding: 10px;
margin-bottom: 45px;
overflow: auto;
height: auto;
min-width: 250px;
min-height: 50px;
input {
width: 300px;
}
}
.div_theme_fullscreen_btm {
width: 100%;
background-color: white;
border-top: 1px solid $soft_blue;
height: 25px;
padding: 10px 0px 10px 0px !important;
position: fixed;
position: absolute;
bottom: 0;
left: 0;
right: 0;
z-index: 1000;
}
.custom {
div.theme_label {
img {
width: 100px;
height: 75px;
}
}
}
div.theme_label.span_theme_current {
img {
border-color: $skin_selector;
color: $skin_selector;
}
}
.themes-content {
float: right;
width: 100%;
.bold {
font-size: 14px;
}
}
#theme-editor-warning {
font-size: 13px;
color: $orange_darken;
font-weight: 600;
}
#theme-editor {
width: 45%;
float: left;
min-height: 600px;
#picker {
@include popup_general();
position: fixed;
left: 500px;
z-index: 999;
}
}
#theme-preview {
width: 50%;
float: right;
min-height: 600px;
position: relative;
border: 1px $grey_very_light solid;
iframe {
width: 100%;
height: 600px;
#preview {
display: none;
}
}
}
.theme-overflow {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 2;
margin-right: 20px;
}
#new_theme_alert {
position: absolute;
top: 0;
left: 50%;
width: 400px;
margin-left: -200px;
background-color: $orange_very_darken;
color: white;
height: 50px;
text-align: center;
p {
margin: 0;
line-height: 50px;
}
}