GDPR nastavitve --> seznam anket : barve
This commit is contained in:
parent
61c53aada8
commit
9e1e567949
@ -64,7 +64,7 @@ class GDPR{
|
||||
|
||||
echo '<div class="box-container">';
|
||||
|
||||
echo '<div class= "num_box num_box1 checked">';
|
||||
echo '<div class= "num_box num_box1 checked" id="num_box1">';
|
||||
|
||||
echo '<div class="box_flex" id="box_flex">';
|
||||
echo '<input type="checkbox" name="GDPR ankete checkbox" id="gdpr_ankete_check" checked="checked" onclick="test_function()">';
|
||||
@ -82,7 +82,7 @@ class GDPR{
|
||||
echo '</div>';
|
||||
|
||||
|
||||
echo '<div class= "num_box num_box2 checked">';
|
||||
echo '<div class= "num_box num_box2 checked" id="num_box2">';
|
||||
|
||||
echo '<div class="box_flex" id="box_flex potenc_gdpr">';
|
||||
echo '<input type="checkbox" name="Potencialno GDPR ankete" id="potenc_gdpr_ankete_check" checked="checked" onclick="test_function()">';
|
||||
@ -101,7 +101,7 @@ class GDPR{
|
||||
echo '</div>';
|
||||
|
||||
|
||||
echo '<div class= "num_box num_box3 checked">';
|
||||
echo '<div class= "num_box num_box3 checked" id="num_box3">';
|
||||
|
||||
echo '<div class="box_flex" id="box_flex">';
|
||||
echo '<input type="checkbox" name="ne-gdpr ankete" id="ne_gdpr_ankete" checked="checked" onclick="test_function()" >';
|
||||
|
@ -31,8 +31,13 @@ function test_function() {
|
||||
|
||||
// GDPR ANKETE togle
|
||||
var box1 = document.getElementsByClassName("num_box1")[0];
|
||||
var box1_Color = document.getElementById("num_box1");
|
||||
|
||||
box1_Color.style.backgroundColor="rgba(20, 255, 0, 0.05)";
|
||||
|
||||
if (!inputs.checked){
|
||||
|
||||
box1_Color.style.background="#ffffff";
|
||||
|
||||
box1.classList.remove("checked");
|
||||
|
||||
@ -42,6 +47,9 @@ function test_function() {
|
||||
};
|
||||
}
|
||||
else{
|
||||
|
||||
box1_Color.style.background="rgba(20, 255, 0, 0.05)";
|
||||
|
||||
// box1.classList.toggle("checked");
|
||||
box1.classList.add("checked");
|
||||
|
||||
@ -54,9 +62,11 @@ function test_function() {
|
||||
|
||||
// potencialno GDPR ankete togle
|
||||
var box2 = document.getElementsByClassName("num_box2")[0];
|
||||
var box2_Color = document.getElementById("num_box2");
|
||||
|
||||
|
||||
if (!potenc_gdpr.checked){
|
||||
box2_Color.style.backgroundColor="#ffffff";
|
||||
box2.classList.remove("checked");
|
||||
|
||||
for(var i=0; i < red_row.length; i++){
|
||||
@ -64,6 +74,7 @@ function test_function() {
|
||||
};
|
||||
}
|
||||
else{
|
||||
box2_Color.style.backgroundColor="rgba(20, 255, 0, 0.05)";
|
||||
box2.classList.add("checked");
|
||||
|
||||
for(var i=0; i < red_row.length; i++){
|
||||
|
@ -10048,11 +10048,23 @@ textarea:focus {
|
||||
}
|
||||
.box-container .checked {
|
||||
border: #1E88E5 solid 1px;
|
||||
background-color: #FFEFEF;
|
||||
}
|
||||
.box-container .num_box2 {
|
||||
margin: 0px 32px;
|
||||
}
|
||||
.box-container #num_box1 {
|
||||
background-color: rgba(20, 255, 0, 0.05);
|
||||
}
|
||||
.box-container #num_box2 {
|
||||
background-color: rgba(255, 0, 0, 0.05);
|
||||
}
|
||||
table.gdpr_surveys tr.green_row td {
|
||||
background-color: rgba(20, 255, 0, 0.05) !important;
|
||||
}
|
||||
|
||||
table.gdpr_surveys tr.red_row td {
|
||||
background-color: rgba(255, 0, 0, 0.05) !important;
|
||||
}
|
||||
|
||||
table {
|
||||
margin: 8px 0;
|
||||
@ -11119,10 +11131,10 @@ table.gdpr_surveys td {
|
||||
border: 1px solid #E5E5E5;
|
||||
}
|
||||
table.gdpr_surveys tr.red_row td {
|
||||
background-color: #FFEFEF !important;
|
||||
background-color: #FFEFEF;
|
||||
}
|
||||
table.gdpr_surveys tr.green_row td {
|
||||
background-color: #a8eea8 !important;
|
||||
background-color: #a8eea8;
|
||||
}
|
||||
table.gdpr_surveys.requests td div.gdpr_requests_wrap {
|
||||
max-width: 204px;
|
||||
|
@ -63,12 +63,29 @@
|
||||
|
||||
.checked {
|
||||
border: #1E88E5 solid 1px;
|
||||
background-color: #FFEFEF;
|
||||
|
||||
}
|
||||
|
||||
.num_box2{
|
||||
margin: 0px 32px ;
|
||||
}
|
||||
|
||||
#num_box1 {
|
||||
background-color: rgba(20, 255, 0, 0.05);
|
||||
}
|
||||
#num_box2{
|
||||
background-color: rgba(255, 0, 0, 0.05);
|
||||
}
|
||||
#num_box3{
|
||||
//
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
table.gdpr_surveys tr.green_row td {
|
||||
background-color: rgba(20, 255, 0, 0.05) !important;
|
||||
}
|
||||
table.gdpr_surveys tr.red_row td{
|
||||
// background-color: #FF0000 !important;
|
||||
background-color: rgba(255, 0, 0, 0.05) !important;
|
||||
}
|
@ -25,12 +25,12 @@ table {
|
||||
|
||||
tr.red_row {
|
||||
td {
|
||||
background-color: $light-red !important;
|
||||
background-color: $light-red ;
|
||||
}
|
||||
}
|
||||
tr.green_row {
|
||||
td {
|
||||
background-color: $light-green !important;
|
||||
background-color: $light-green ;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user