diff --git a/html/test_13.02.20/test_13.02.20_V2.zip b/html/test_13.02.20/test_13.02.20_V2.zip deleted file mode 100644 index 3891234..0000000 Binary files a/html/test_13.02.20/test_13.02.20_V2.zip and /dev/null differ diff --git a/resources/css/main.css b/resources/css/main.css index a42baf4..8d7d0c6 100644 --- a/resources/css/main.css +++ b/resources/css/main.css @@ -1,3 +1,5 @@ +/* Colors */ +/* General styling */ body { background-color: #282828; color: white; @@ -7,26 +9,12 @@ body { margin-left: 8%; margin-top: 5%; font-family: museo-sans-rounded, sans-serif; + font-size: 14pt; font-weight: 300; font-style: normal; } -button { - background-color: #787878; - padding: 15px; - display: inline-block; - border: 2px solid white; - border-radius: 15px; - color: white; - font-size: 16pt; -} -button:hover { - background-color: #505050; -} -button:focus { - outline: 0; -} - +/* Text elements */ h1 { color: #2883d0; text-align: center; @@ -48,12 +36,41 @@ a:hover { color: #A6E22E; } +/* Special elements */ +button, input[type=submit] { + background-color: #787878; + border: 2px solid white; + color: white; + padding: 4px 12px; + margin: 2px 12px; + font-size: 14pt; +} +button:hover, input[type=submit]:hover { + background-color: #505050; +} +button:focus, input[type=submit]:focus { + outline: 0; +} +button.big, input.big[type=submit] { + padding: 15px; + border-radius: 15px; + font-size: 18pt; +} + +/* Inputs */ +input { + padding: 4px 12px; + margin: 2px 12px; + font-size: 14pt; +} + input[type=color] { width: 4em; height: 2em; background-color: #787878; } +/* Table elements */ table { width: 100%; } @@ -75,6 +92,7 @@ tr:hover { background-color: rgba(255, 255, 255, 0.281); } +/* Import */ .center { background-color: #505050; margin: auto; @@ -116,18 +134,18 @@ tr:hover { text-align: center; background-color: #787878; } -.textboxGrid .linkElement { +.textboxGrid .linkGridElement { border: 1px solid black; } -.textboxGrid .linkElement:hover { +.textboxGrid .linkGridElement:hover { background-color: #505050; cursor: pointer; } -.textboxGrid .linkElement a:hover { +.textboxGrid .linkGridElement a:hover { text-decoration: underline; color: #66D9EF; } -.textboxGrid .linkElement * { +.textboxGrid .linkGridElement * { margin: 0px; padding: 0px; background-color: transparent; diff --git a/resources/css/scss/_classes.scss b/resources/css/scss/_classes.scss index c71ce54..dafc305 100644 --- a/resources/css/scss/_classes.scss +++ b/resources/css/scss/_classes.scss @@ -19,7 +19,7 @@ } .leftalign * { - margin: $standardMargin; + margin: 15px; text-align: left; } @@ -47,7 +47,7 @@ } - .linkElement { + .linkGridElement { border: 1px solid black; &:hover { diff --git a/resources/css/scss/main.scss b/resources/css/scss/main.scss index 244350f..f6789dc 100644 --- a/resources/css/scss/main.scss +++ b/resources/css/scss/main.scss @@ -1,9 +1,15 @@ +//sass --no-source-map --charset main.scss ../main.css + +/* Colors */ @import "colors"; + +/* General styling */ + body { background-color: $grey1; color: white; - + margin: 0px; padding: 0px; @@ -12,27 +18,18 @@ body { left: 8%; top: 5%; } - + font: { family: museo-sans-rounded, sans-serif; + size: 14pt; weight: 300; style: normal; } } -button { - background-color: $grey4; - padding: 15px; - display: inline-block; - border: 2px solid $border-color; - border-radius: $radius; - color: white; - font-size: 16pt; - - &:hover {background-color: $grey3;} - &:focus {outline:0;} -} - + +/* Text elements */ + h1 { color: $blue; text-align: center; @@ -42,22 +39,59 @@ h1 { margin-right: 10%; border-radius: $radius; } - + h2 { color: $green; } - + a { color: $linkStill; &:hover {color: $linkHover;} } + +/* Special elements */ + +button { + background-color: $grey4; + border: 2px solid $border-color; + color: white; + padding: 4px 12px; + margin: 2px 12px; + font-size: 14pt; + + &:hover {background-color: $grey3;} + &:focus {outline:0;} + + &.big { + padding: 15px; + border-radius: $radius; + font-size: 18pt; + } +} + + +/* Inputs */ + +input { + padding: 4px 12px; + margin: 2px 12px; + font-size: 14pt; +} + input[type=color] { width: 4em; height: 2em; background-color: $grey4; } +input[type=submit] { + @extend button; +} + + +/* Table elements */ + table { width: 100%; } @@ -77,4 +111,7 @@ tr { &:hover { background-color: rgba(255, 255, 255, 0.281);} } + +/* Import */ + @import "classes"; \ No newline at end of file diff --git a/test-template-generator/resources/js/linkConnector.js b/test-template-generator/resources/js/linkConnector.js index 293a5a5..8451fdd 100644 --- a/test-template-generator/resources/js/linkConnector.js +++ b/test-template-generator/resources/js/linkConnector.js @@ -3,11 +3,11 @@ const grid = document.getElementsByClassName("textboxGrid")[0]; for (i=0; i