1KA_F2F/resources/sass/admin/analysis/multi_crosstabs.scss

349 lines
6.1 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, 11:12:49
Author : podkrizniku
*/
#mc_holder {
overflow: hidden;
margin-top: 20px;
min-height: 500px;
.mc_table_bottom_settings {
clear: none;
float: right;
border-collapse: collapse;
margin: 0 2% 15px 0;
width: 72%;
}
.custom_report_include {
clear: none;
float: left;
border-collapse: collapse;
margin: 0 2% 15px 0;
}
}
/*drag list of questions*/
#spr_list {
float: left;
overflow: auto;
position: fixed;
width: 20%;
max-height: 450px;
margin: 15px 0 15px 1%;
background-color: white;
border: 1px solid silver;
border-radius: 7px;
-moz-border-radius: 7px 7px 7px 7px;
-webkit-border-radius: 7px;
ul {
padding: 0;
padding: 5px 0;
z-index: 1;
}
}
.mc_draggable {
width: 180px;
margin: 10px 15px;
padding: 8px;
list-style: none;
border: 1px $grey_normal dashed;
&:hover {
background-color: $grey_super_light;
cursor: pointer;
}
}
/*title of table*/
.mc_table_title {
float: right;
table-layout: fixed;
width: 70%;
min-height: 15px;
margin: 15px 2% 15px 0;
padding: 5px 1%;
font-size: 16px;
font-weight: bold;
border-collapse: collapse;
&:hover {
cursor: text;
background-color: $grey_super_light;
}
.multicrosstab_title_inline:focus {
outline: none;
}
}
.mc_table_title.writing {
background-color: $orange_super_lighten;
outline: 1px dashed $grey_normal;
}
/*multicrosstab table*/
.mc_table {
float: right;
table-layout: fixed;
width: 72%;
margin: 15px 2% 15px 0;
border-collapse: collapse;
tr {
height: 40px;
td {
border: 1px $grey_normal solid;
text-align: center;
table.mc_inner_cell {
width: 100%;
height: 100%;
border-collapse: collapse;
tr {
width: 100%;
height: auto;
td {
border: 0;
border-top: 1px dashed $grey_light;
width: 100%;
}
&:first-child {
td {
border: 0;
}
}
}
}
.delete_var {
display: none;
position: absolute;
width: 16px;
height: 16px;
margin: -25px 0 0 0;
background-image: url("../../../admin/survey/img_0/cross.png");
}
}
td.borderless {
border: 0;
}
td.spr {
cursor: pointer;
font-weight: bold;
background-color: $soft_blue_lighten;
}
td.var {
background-color: $soft_blue_very_lighten;
}
td.sums {
color: $orange_very_darken;
}
td.data {
background-color: #F9F9F7;
}
td.crossCheck_EC {
background-color: #FFFAE8;
}
td.crossCheck_RE {
background-color: #FFFAE8;
}
td.crossCheck_SR {
background-color: #FFECA2;
}
td.crossCheck_AR {
background-color: #FFDA46;
}
td.rsdl_bck0 {
background-color: white;
}
td.rsdl_bck1 {
background-color: #FFE8E8;
}
td.rsdl_bck2 {
background-color: #FFD1D1;
}
td.rsdl_bck3 {
background-color: #FF8B8B;
}
td.rsdl_bck4 {
background-color: #E8F1FF;
}
td.rsdl_bck5 {
background-color: #B9D5FF;
}
td.rsdl_bck6 {
background-color: #74ACFF;
}
td.white {
background-color: white;
}
td.red {
background-color: #FFD1D1;
}
td.blue {
background-color: #E8F1FF;
}
td.drophover {
background-color: $orange_very_lighten !important;
}
td.empty {
border: 1px dashed $grey_normal;
font-weight: normal;
}
td.empty.droppable {
color: $orange_very_darken;
border: 1px dashed $orange_very_darken;
background-color: $orange_super_lighten;
}
}
}
/*settings links in top left corner*/
.mc_settings_links {
float: none;
display: inline-block;
position: relative;
width: auto;
left: 200px;
padding: 3px 5px;
margin: 0 40px 0 0;
background-color: $grey_almost_white;
border: 1px solid silver;
border-radius: 3px;
-moz-border-radius: 4px 4px 4px 4px;
-webkit-border-radius: 4px;
ul {
margin: 0 !important;
padding: 0;
li {
display: inline-block;
list-style: none outside none;
margin: 0 !important;
padding: 2px 1px;
vertical-align: middle;
>span {
vertical-align: middle;
cursor: pointer;
}
}
li.space {
background: url("../../../admin/survey/img_0/navigation/nav-control-bg.png") no-repeat scroll center top transparent;
line-height: 17px;
padding: 0 5px;
width: 7px;
}
}
}
/*table settings popup*/
.mc_table_settings {
@include popup_general();
display: none;
position: fixed;
top: 200px;
left: calc(50% - 200px);
z-index: 999;
width: 400px;
#mcSettingsButtons {
position: absolute;
bottom: 15px;
right: 10px;
}
#delez {
width: 300px;
margin: 5px 10px 0px 60px;
}
form {
padding: 10px;
}
fieldset {
margin: 0px 0px 10px 0px;
border: 0;
border-top: 1px solid $strong_blue_darken;
}
legend {
color: $strong_blue;
font-size: 13px;
font-weight: 500;
margin: 0;
padding: 0 10px;
}
}
/*tables list popup*/
#div_mc_tables {
display: none;
width: 350px;
height: 280px;
#mc_tables_left {
margin-bottom: 10px;
}
}
#mc_tables {
cursor: pointer;
width: 99%;
height: 160px;
display: inline-block;
border: 1px solid gray;
.option {
padding: 1px;
}
.active {
background-color: $strong_blue;
color: white;
border-bottom: 1px solid $grey_normal;
}
}
@mixin small_popup_multicross(){
@include popup_general();
display: none;
position: fixed;
left: calc(50% - 275px);
top: 40vh;
z-index: 999;
margin: 10px;
width: 550px;
}
/*new table popup*/
#newMCTable {
@include small_popup_multicross();
}
/*rename table popup*/
#renameMCTable {
@include small_popup_multicross();
}
/*delete table popup*/
#deleteMCTable {
@include small_popup_multicross();
}
.report_element_data {
table.mc_table {
float: left;
width: 100%;
}
.mc_table {
tr {
td.spr {
cursor: auto;
}
td.drophover {
background-color: $orange_very_lighten !important;
}
td.empty {
display: none;
}
}
tr.last {
display: none;
}
}
}
.mc_table_legend {
clear: none;
float: right;
border-collapse: collapse;
padding: 5px 10px;
line-height: 18px;
border: 1px solid $grey_normal;
background-color: #F9F9F7;
}