[Redizajn 1ka] Premik stylinga v datoteke za posamezne strani

This commit is contained in:
tejagerjovic 2021-12-28 16:15:33 +01:00
parent 5a441afd31
commit 1be6bbabfd
12 changed files with 1524 additions and 1489 deletions

File diff suppressed because it is too large Load Diff

View File

@ -127,22 +127,3 @@ div.button_holder {
margin-top: 24px;
}
}
//Trigger button za koledar
button.ui-datepicker-trigger {
cursor: pointer;
transition: 0.3s;
min-width: auto;
color: $blue;
&:hover {
color: darken($blue, 3%);
}
border: none;
background: none;
padding: 0;
&.disabled {
color: $very-dark-gray;
pointer-events: none;
}
}

View File

@ -17,6 +17,7 @@ fieldset{
text-transform: uppercase;
}
//Razmiki med besedilom
p{
&.bottom16 {
margin-bottom: 16px;
@ -30,11 +31,12 @@ fieldset{
margin-bottom: 8px;
}
&.top8 {
margin-top: 8px;
}
&.top8 {
margin-top: 8px;
}
}
//Wrapper za polja drug ob drugem horizontalno
.setting_horizontal_wrapper {
display: flex;
flex-direction: row;
@ -44,6 +46,7 @@ fieldset{
}
}
//Nepovezane nastavitve -16px razmaka
.setting_holder {
margin-bottom: 16px;
&.bottom8 {
@ -69,51 +72,23 @@ fieldset{
}
}
//Povezane nastavitve - 8px razmaka
.setting_item {
margin-top: 8px;
}
//Styling za omejitev znakov - width je page-specific
span.charalimit {
font-size: 12px;
line-height: 15px;
color: $very-dark-gray;
text-align: right;
&#anketa_polnoIme_chars{
width: 400px;
}
&#anketa_akronim_chars,
&#anketa_note_chars{
width: 800px;
}
}
//Zamaknjene nastavitve
&.indent {
margin-left: 27px;
}
&#alert_holder_delete_other_emails {
margin-left: 24px;
}
&.red {
label {
color: red;
}
input {
&[type="text"] {
border: 1px solid red;
}
}
}
}
label {
&.bottom4 {
margin-bottom: 4px;
}
}
ul {

View File

@ -26,12 +26,6 @@ input {
font-family: $font_family;
&#anketa_polnoIme{
width: 400px;
}
&#anketa_akronim{
width: 800px;
}
&.w200 {
width: 200px;
}

View File

@ -27,22 +27,4 @@ textarea {
border-color: transparent;
border-color: $blue;
}
&#anketa_note,
&#addusers,
&#addusers_note{
width: 800px;
height: 120px;
}
&#alert_delete_other_emails{
width: 538px;
height: 100px;
}
&.gdpr_requests_comment {
width: 200px;
height: 60px;
}
}

View File

@ -0,0 +1,17 @@
//Obvezna polja obarvana z rdečo
div.setting_holder.red {
label {
color: red;
}
input {
&[type="text"] {
border: 1px solid red;
}
}
}
//Polje za komentar avtorja v tabeli zahtevkov
textarea.gdpr_requests_comment {
width: 200px;
height: 60px;
}

View File

@ -10,3 +10,4 @@
@import "survey_edit/survey_edit";
@import "survey_data/survey_data";
@import "survey_analysis/survey_analysis";
@import "gdpr_pages/gdpr";

View File

@ -0,0 +1,18 @@
//Trigger button za koledar
button.ui-datepicker-trigger {
cursor: pointer;
transition: 0.3s;
min-width: auto;
color: $blue;
&:hover {
color: darken($blue, 3%);
}
border: none;
background: none;
padding: 0;
&.disabled {
color: $very-dark-gray;
pointer-events: none;
}
}

View File

@ -0,0 +1,8 @@
//Širina polja za dodajanje emailov in sporočilo
textarea {
&#addusers,
&#addusers_note{
width: 800px;
height: 120px;
}
}

View File

@ -1,5 +1,6 @@
fieldset{
//Layout za editor besedila in navodila za oblikovanje sporočil
#obvescanje_sidebyside_holder {
display:flex;
flex-direction: row;
@ -22,4 +23,18 @@ fieldset{
}
}
//Box z emaili za dodatne prejemnike - spremeniti v class, ko se redizajna ostale strani za obveščanje @TG
.setting_holder#alert_holder_delete_other_emails {
margin-left: 24px;
}
textarea#alert_delete_other_emails{
width: 538px;
height: 100px;
}
//Label nad editorjem besedila
label.bottom4 {
margin-bottom: 4px;
}
}

View File

@ -0,0 +1,33 @@
fieldset {
//Alignment polj za omejitev znakov za ime ankete, interno ime in opombo
span.charalimit {
&#anketa_polnoIme_chars{
width: 400px;
}
&#anketa_akronim_chars,
&#anketa_note_chars{
width: 800px;
}
}
//Širina polj za imena ankete in opombo
input {
&[type="text"] {
&#anketa_polnoIme{
width: 400px;
}
&#anketa_akronim{
width: 800px;
}
}
}
textarea#anketa_note{
width: 800px;
height: 120px;
}
}

View File

@ -1 +1,4 @@
@import "obvescanje";
@import "aktivnost";
@import "osnovne_nastavitve";
@import "dostop_uredniki";