This repository has been archived on 2024-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
Files
IT2/resources/css/scss/_classes.scss

126 lines
1.7 KiB
SCSS

.center {
background-color: $grey3;
margin: auto;
margin-bottom: 5%;
width: 70%;
padding: 5%;
height: max-content;
border-radius: $radius;
* {
margin: auto;
display: block;
}
canvas {
border: 5px solid black;
}
}
.inline {
margin: $standardMargin 0px;
* {
display: inline-block;
vertical-align: middle;
}
}
.leftalign * {
margin: 15px;
text-align: left;
}
.textboxGrid {
display: grid;
justify-content: space-evenly;
align-content: space-evenly;
grid: {
column-gap: 20px;
row-gap: 20px;
template-columns: repeat(auto-fit, minmax(350px, 1fr));
}
* {
display: block;
margin: 0px;
padding: 30px 0px;
text-align: center;
background-color: $grey4;
}
.gridElement {
display: initial;
border: 1px solid black;
overflow-wrap: break-word;
* {
margin: auto;
padding: 0px 30px;
background-color: transparent;
}
}
.linkGridElement {
@extend .gridElement;
&:hover {
background-color: $grey3;
cursor: pointer;
}
a:hover {
text-decoration: underline;
color: $linkStill;
}
}
}
.hoverable {
&:hover {
background-color: rgba($color: #000000, $alpha: 0.2);
}
}
.inlineTable {
display: table;
margin: 20px 0px;
tbody {
display: table-row-group;
}
tr {
display: table-row;
th, td {
display: table-cell;
}
}
}
.error {
display: block;
border: 1px solid black;
border-radius: 5px;
background-color: $red;
width: 20%;
padding: 10px;
text-align: center;
margin: $standardMargin auto;
}
.chart {
margin: auto;
margin-bottom: 5%;
width: 70%;
border: 3px solid $green;
}