Update grid elements

This commit is contained in:
2020-04-02 13:24:49 +02:00
parent 31abcf72aa
commit a97909fea7
3 changed files with 130 additions and 112 deletions

View File

@@ -127,7 +127,7 @@ tr:hover {
margin: auto; margin: auto;
} }
.center > :not(table) { .center > {
display: block; display: block;
} }
@@ -163,6 +163,7 @@ tr:hover {
} }
.textboxGrid * { .textboxGrid * {
display: auto;
size: 100%; size: 100%;
margin: 0px; margin: 0px;
padding: 30px 0px; padding: 30px 0px;
@@ -170,8 +171,15 @@ tr:hover {
background-color: #787878; background-color: #787878;
} }
.textboxGrid .linkGridElement { .textboxGrid .gridElement, .textboxGrid .linkGridElement {
border: 1px solid black; border: 1px solid black;
overflow-wrap: break-word;
}
.textboxGrid .gridElement *, .textboxGrid .linkGridElement * {
margin: 3px;
padding: 0px 30px;
background-color: transparent;
} }
.textboxGrid .linkGridElement:hover { .textboxGrid .linkGridElement:hover {
@@ -184,8 +192,6 @@ tr:hover {
color: #66D9EF; color: #66D9EF;
} }
.textboxGrid .linkGridElement * { .hoverable:hover {
margin: 0px; background-color: rgba(0, 0, 0, 0.2);
padding: 0px;
background-color: transparent;
} }

View File

@@ -9,7 +9,7 @@
* { margin: auto;} * { margin: auto;}
&>:not(table){ display: block;} &>:not(table, .textboxGrid){ display: block;}
canvas { canvas {
border: 5px solid black; border: 5px solid black;
@@ -40,6 +40,7 @@
} }
* { * {
display: auto;
size: 100%; size: 100%;
margin: 0px; margin: 0px;
@@ -50,8 +51,20 @@
} }
.linkGridElement { .gridElement {
border: 1px solid black; border: 1px solid black;
overflow-wrap: break-word;
* {
margin: 3px;
padding: 0px 30px;
background-color: transparent;
}
}
.linkGridElement {
@extend .gridElement;
&:hover { &:hover {
background-color: $grey3; background-color: $grey3;
@@ -62,12 +75,11 @@
text-decoration: underline; text-decoration: underline;
color: $linkStill; color: $linkStill;
} }
}
* { }
margin: 0px;
padding: 0px; .hoverable {
background-color: transparent; &:hover {
} background-color: rgba($color: #000000, $alpha: 0.2);
} }
} }