mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-20 22:49:18 +00:00
style: gap support
obs does not seem to handle css gap
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
|
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;800&display=swap');
|
||||||
|
|
||||||
.entries {
|
.entries {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 1.5vh;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navItem,
|
.navItem,
|
||||||
@@ -20,5 +21,47 @@
|
|||||||
align-self: center;
|
align-self: center;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1vw;
|
margin-bottom: 2.5vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav > div {
|
||||||
|
margin-left: 0.5vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.entryStart,
|
||||||
|
.entryEnd {
|
||||||
|
font-family: 'Open Sans', sans-serif;
|
||||||
|
min-width: 5vw;
|
||||||
|
opacity: 0.9;
|
||||||
|
}
|
||||||
|
|
||||||
|
.entryTitle {
|
||||||
|
align-self: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.entryPast,
|
||||||
|
.entryNow,
|
||||||
|
.entryFuture {
|
||||||
|
background-color: rgba(255, 255, 255, 0.03);
|
||||||
|
display: flex;
|
||||||
|
font-size: 1.3vw;
|
||||||
|
padding: 0.2vh 1vw;
|
||||||
|
margin-bottom: 1.5vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.entryPast {
|
||||||
|
color: #aaa;
|
||||||
|
font-size: 1.2vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.entryFuture {
|
||||||
|
color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.entryNow {
|
||||||
|
color: #fff;
|
||||||
|
line-height: 5vh;
|
||||||
|
background-color: rgba(255, 255, 255, 0.09);
|
||||||
|
border-bottom: 0.5vh solid #ff7597aa;
|
||||||
|
margin-left: -0.5vw;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
/* =================== TITLES ===================*/
|
/* =================== TITLES ===================*/
|
||||||
|
|
||||||
.infoContainer > div {
|
.infoContainer > div {
|
||||||
overflow:hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nextContainer > div,
|
.nextContainer > div,
|
||||||
@@ -164,44 +164,6 @@
|
|||||||
height: 95%;
|
height: 95%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.entryStart,
|
|
||||||
.entryEnd {
|
|
||||||
font-size: 1.5vw;
|
|
||||||
min-width: 3.5vw;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.entryTitle {
|
|
||||||
align-self: center;
|
|
||||||
}
|
|
||||||
.entryPast,
|
|
||||||
.entryNow,
|
|
||||||
.entryFuture {
|
|
||||||
background-color: rgba(255, 255, 255, 0.03);
|
|
||||||
display: flex;
|
|
||||||
gap: 1.5vw;
|
|
||||||
font-size: 1.3vw;
|
|
||||||
padding: 0.2vh 1vw;
|
|
||||||
}
|
|
||||||
|
|
||||||
.entryPast {
|
|
||||||
color: #aaa;
|
|
||||||
font-size: 1.2vw;
|
|
||||||
}
|
|
||||||
|
|
||||||
.entryFuture {
|
|
||||||
color: #ddd;
|
|
||||||
}
|
|
||||||
.entryNow {
|
|
||||||
font-size: 1.3vw;
|
|
||||||
color: #fff;
|
|
||||||
line-height: 4vh;
|
|
||||||
background-color: rgba(255, 255, 255, 0.09);
|
|
||||||
border-bottom: 0.5vh solid #ff7597aa;
|
|
||||||
margin-left: -0.5vw;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* =================== OVERLAY ===================*/
|
/* =================== OVERLAY ===================*/
|
||||||
|
|
||||||
.message {
|
.message {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { stringFromMillis } from '../../../common/dateConfig';
|
import { stringFromMillis } from '../../../common/dateConfig';
|
||||||
import style from './StageManager.module.css';
|
import style from './Paginator.module.css';
|
||||||
export default function TodayItem(props) {
|
export default function TodayItem(props) {
|
||||||
const { selected, timeStart, timeEnd, title } = props;
|
const { selected, timeStart, timeEnd, title } = props;
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 45vw;
|
width: 45vw;
|
||||||
gap: 3vh;
|
|
||||||
border-radius: 0 1vh 1vh 0;
|
border-radius: 0 1vh 1vh 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -42,6 +41,7 @@
|
|||||||
|
|
||||||
.titleContainer,
|
.titleContainer,
|
||||||
.subtitleContainer {
|
.subtitleContainer {
|
||||||
|
margin-bottom: 1vh;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|||||||
Reference in New Issue
Block a user