mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-19 22:24:11 +00:00
refactor: clearer relationship on rundown elements
This commit is contained in:
@@ -7,7 +7,6 @@
|
|||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding-right: 4px; // size of scrollbar
|
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
@@ -16,6 +15,7 @@
|
|||||||
overflow-x: clip;
|
overflow-x: clip;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
padding-inline: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.empty {
|
.empty {
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
.list {
|
.list {
|
||||||
@include editor.panel;
|
@include editor.panel;
|
||||||
height: inherit;
|
height: inherit;
|
||||||
padding-left: 0;
|
padding-inline: 0;
|
||||||
box-shadow: $box-shadow-right;
|
box-shadow: $box-shadow-right;
|
||||||
|
|
||||||
flex: 1 2 auto; /* flex-grow: 1, flex-shrink: 2, flex-basis: auto */
|
flex: 1 2 auto; /* flex-grow: 1, flex-shrink: 2, flex-basis: auto */
|
||||||
|
|||||||
@@ -21,18 +21,12 @@ $block-cursor-color: $orange-400;
|
|||||||
border: 1px solid $white-7;
|
border: 1px solid $white-7;
|
||||||
border-radius: $block-border-radius;
|
border-radius: $block-border-radius;
|
||||||
margin-block: 0.25rem;
|
margin-block: 0.25rem;
|
||||||
margin-right: 0.125rem;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
color: $block-text-color;
|
color: $block-text-color;
|
||||||
|
|
||||||
min-width: $block-width;
|
min-width: $block-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin block-spacing() {
|
|
||||||
padding-right: 0.5rem;
|
|
||||||
gap: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@mixin drag-style() {
|
@mixin drag-style() {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
justify-self: center;
|
justify-self: center;
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
@use '../blockMixins' as *;
|
@use '../blockMixins' as *;
|
||||||
|
|
||||||
.block {
|
.block {
|
||||||
@include block-spacing;
|
|
||||||
@include block-styling;
|
@include block-styling;
|
||||||
margin-left: 0.5rem;
|
|
||||||
|
|
||||||
background-color: $block-bg2;
|
background-color: $block-bg2;
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
@use '../blockMixins' as *;
|
@use '../blockMixins' as *;
|
||||||
|
|
||||||
.delay {
|
.delay {
|
||||||
@include block-spacing;
|
|
||||||
@include block-styling;
|
@include block-styling;
|
||||||
margin-left: 0.5rem;
|
|
||||||
|
|
||||||
background-color: $block-bg2;
|
background-color: $block-bg2;
|
||||||
|
padding-right: 0.5rem;
|
||||||
|
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 2rem 1fr auto;
|
grid-template-columns: 2rem 1fr auto;
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
margin: 0.25rem 0;
|
margin: 0.25rem 0;
|
||||||
font-size: calc(1rem - 3px);
|
font-size: calc(1rem - 3px);
|
||||||
padding-inline: calc(2em + 0.5rem) 0.75rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.quickBtn {
|
.quickBtn {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
.header {
|
.header {
|
||||||
padding-inline: calc(2rem - 6px + 0.5rem) calc(1rem + 2px);
|
padding-inline: 1rem 2rem;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user