chore(cas_eleves): Remove unused files

This commit is contained in:
Tom Hubrecht 2024-07-03 16:10:47 +02:00
parent a2b2a38fe7
commit 05ad9099b3
8 changed files with 0 additions and 2140 deletions

View file

View file

@ -1,10 +0,0 @@
OUTDIR=../static/css/
STYLES=style.scss
IMPORTS=_params.scss _forms.scss _mixins.scss
SASS=sassc
all: $(addprefix $(OUTDIR)/,$(STYLES:.scss=.css))
$(OUTDIR)/%.css: %.scss $(IMPORTS)
$(SASS) "$<" "$@"

View file

@ -1,94 +0,0 @@
form {
display: flex;
align-items: stretch;
flex-direction: column;
.errorlist {
list-style-type: none;
margin: 0;
padding: 0;
font-size: 0.7em;
li {
@include error_box;
margin-bottom: 10px;
}
}
p {
margin: 5px 0;
width: 100%;
}
}
.helptext {
font-size: 0.7em;
color: $help_text_color;
}
input {
display: block;
width: 100%;
font: inherit;
font-size: 0.9em;
color: black;
}
input[type="text"],
input[type="email"],
input[type="password"], {
background-color: white;
border: solid 1px $help_text_color;
padding: 5px 10px;
border-radius: 3px;
box-shadow: none;
&:optional {
border-color: fade-out($help_text_color, .25);
}
&:focus {
border-color: $secondary_color;
box-shadow: 0 0 1.5px 1px $secondary_color;
}
&:-moz-ui-invalid {
border-color: $error_box_border_color;
box-shadow: 0 0 1.5px 1px $error_box_border_color;
}
}
input[type="checkbox"],
input[type="radio"] {
width: auto;
margin: 5px 10px;
}
input[type="submit"] {
@include button;
}
.formfield {
padding: 5px;
margin: 10px 0;
}
.error_field {
border-radius: 10px;
background-color: rgba($error_box_color, .4);
}
.checkbox_input {
display: flex;
justify-content: space-evenly;
align-items: center;
.label_line {
order: 1;
flex: 1 1 500px;
}
input {
flex: 0 1 50px;
}
}
.fieldgroup {
margin: 15px 0;
}

View file

@ -1,36 +0,0 @@
@mixin box($bg_color: white, $border_color: black) {
border-radius: 10px;
padding: 10px;
border: 1px solid $border_color;
background-color: $bg_color;
color: $page_text_color;
}
@mixin error_box {
@include box($error_box_color, $error_box_border_color);
}
@mixin info_box {
@include box($info_box_color, $info_box_border_color);
}
@mixin success_box {
@include box($success_box_color, $success_box_border_color);
}
@mixin warning_box {
@include box($warning_box_color, $warning_box_border_color);
}
@mixin button {
display: block;
text-decoration: none;
text-align: center;
font-size: 100%;
@include box($button_color, $secondary_border_color);
&:hover {
background-color: darken($button_color, 10%);
}
&:focus {
background-color: darken($button_color, 20%);
box-shadow: 0 0 1.5px 1px $secondary_color;
}
}

View file

@ -1,37 +0,0 @@
$page_bg_color: #f5f1f4;
$page_main_color: #ffffff;
$page_text_color: #000000dd;
$secondary_color: #3c173d;
$secondary_border_color: #3c173d;
$page_link_color: $secondary_border_color;
$page_width: 700px;
$page_mid_width: 450px;
$main_border_color: $secondary_border_color;
$main_border_radius: 20px;
$button_color: #d2bed3;
$button_text_color: white;
$help_text_color: rgba($page_text_color, .65);
$font_size: 16pt;
$font_family: "Open Sans";
$mid_font_size: 12pt;
$small_font_size: 11pt;
$logo_height: 100px;
$logo_maxwidth: 300px;
$responsive_mid_threshold: 750px;
$responsive_small_threshold: 500px;
$info_box_color: #c9c8ff;
$info_box_border_color: darken($info_box_color, 20%);
$error_box_color: #ffdfdf;
$error_box_border_color: darken($error_box_color, 20%);
$success_box_color: #bafb95;
$success_box_border_color: darken($success_box_color, 20%);
$warning_box_color: #ffd36c;
$warning_box_border_color: darken($warning_box_color, 20%);

View file

@ -1,30 +0,0 @@
$page_bg_color: #f3f0ff;
$page_main_color: #e9e4ff;
$page_text_color: #000000dd;
$page_link_color: #c6491add;
$page_width: 700px;
$secondary_color: #9188ff;
$secondary_border_color: #25228a;
$main_border_color: $secondary_border_color;
$main_border_radius: 20px;
$help_text_color: rgba($page_text_color, .65);
$font_size: 16pt;
$font_family: "Open Sans";
$small_screen_font_size: 12pt;
$header_height: 100px;
$header_logo_maxwidth: 300px;
$info_box_color: #c9c8ff;
$info_box_border_color: darken($info_box_color, 20%);
$error_box_color: #ffdfdf;
$error_box_border_color: darken($error_box_color, 20%);
$success_box_color: #bafb95;
$success_box_border_color: darken($success_box_color, 20%);
$warning_box_color: #ffd36c;
$warning_box_border_color: darken($warning_box_color, 20%);

View file

@ -1,153 +0,0 @@
@charset "utf-8";
@import "fonts.css";
@import "_mixins";
@import "_params";
@import "_forms";
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
background-color: $page_bg_color;
font-size: $font_size;
font-family: $font_family;
color: $page_text_color;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
@media (max-width: $responsive_mid_threshold) {
font-size: $mid_font_size;
}
@media (max-width: $responsive_small_threshold) {
font-size: $small_font_size;
display: flex;
align-items: center;
justify-content: space-evenly;
}
}
header {
display: flex;
justify-content: space-between;
align-items: stretch;
margin: 0;
margin-bottom: 50px;
padding: 20px 30px;
padding-bottom: 0;
width: $page_width;
@media (max-width: $responsive_mid_threshold) {
width: $page_mid_width;
}
@media (max-width: $responsive_small_threshold) {
display: none;
}
#headtext {
display: flex;
flex-direction: column;
align-items: end;
justify-content: space-evenly;
font-size: 1.2em;
color: $secondary_color;
font-weight: bold;
}
}
.logo {
height: $logo_height;
max-width: $logo_maxwidth;
}
#ens_logo_foot {
display: none;
@media (max-width: $responsive_small_threshold) {
display: block;
margin: 30px;
}
}
main {
background-color: $page_main_color;
border: 3px solid $main_border_color;
border-radius: $main_border_radius;
padding: 15px;
width: $page_width;
@media (max-width: $responsive_mid_threshold) {
width: $page_mid_width;
}
@media (max-width: $responsive_small_threshold) {
width: 90%;
}
h2 {
font-size: 1.2em;
@media (max-width: $responsive_small_threshold) {
font-size: 1.1em;
}
text-align: center;
color: $secondary_color;
}
}
a {
text-decoration: underline;
color: $page_link_color;
border-radius: 3px;
&:hover {
color: darken($page_link_color, 20%);
}
}
:focus {
outline: none;
box-shadow: 0 0 1.5px 1px $page_link_color;
}
::-moz-focus-inner {
border: none;
}
button, .btn_row a {
@include button;
margin: 10px 5px;
p {
margin: 0;
}
}
.messages {
list-style-type: none;
margin: 10px 0;
padding: 0;
font-size: 0.8em;
li {
margin: 8px 0;
}
}
.error { @include error_box; }
.info { @include info_box; }
.warning { @include warning_box; }
.success { @include success_box; }
.antispam {
unicode-bidi: bidi-override;
direction: rtl;
}

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 439 KiB