autopeering/web/frontend/static/style.css

147 lines
2.1 KiB
CSS
Raw Normal View History

:root {
--bg-color: #aaa;
--other-background: #444;
2022-12-03 23:26:04 +01:00
--text-color: black;
--text-color-dark: white;
2022-11-17 06:43:43 +01:00
/* --accent-color: ; */
}
body {
margin: 0;
width: auto;
height: auto;
background-color: var(--bg-color);
}
header {
background-color: var(--other-background);
height: 50px;
}
2022-11-17 06:43:43 +01:00
a {
color: var(--text-color);
}
.content {
width: 100%;
height: calc(100% - 55px);
2022-11-17 06:43:43 +01:00
margin: auto;
padding-bottom: 50px;
2022-11-17 06:43:43 +01:00
}
2022-11-17 06:43:43 +01:00
.content>* {
padding: 5%;
}
.flex {
display: flex;
flex-direction: column;
}
2022-11-17 06:43:43 +01:00
.flex-row {
flex-direction: row;
}
.flex>* {
flex-flow: column;
/* width: 1fr;
height: 1fr; */
/* background-color: aquamarine; */
margin: auto;
}
footer {
position: fixed;
bottom: 0;
width: 100%;
height: 40px;
background: var(--other-background);
}
footer.flex {
flex-direction: row;
}
.example-config {
background-color: white;
padding: 1%;
}
.example-config>pre {
border-color: var(--other-background);
border-radius: 10px;
padding: 10px;
border-style: groove;
}
form>div>* {
margin: 10px;
}
.peering {
border-color: var(--other-background);
border-radius: 10px;
padding: 10px;
border-style: inset;
display: grid;
grid-auto-flow: column;
flex-direction: row;
width: 100%;
2022-12-03 13:31:47 +01:00
margin: 10px;
}
.peering>div {
display: flex;
flex-direction: column;
}
.peering>div>* {
padding: 10px;
}
button,
input[type=button] {
background-color: #00000020;
border-color: var(--text-color);
border-width: 5px;
padding: 10px;
}
button.button-selected,
input[type=button].button-selected {
2022-12-03 23:26:04 +01:00
background-color: var(--other-background);
color: var(--text-color-dark);
}
.peering>* {
width: auto;
align-items: center;
}
.button-blue {
border-color: lightblue;
}
.button-blue:hover {
background-color: #87cefaaa;
}
.button-red {
border-color: darkred;
}
.button-red:hover {
background-color: #ff0000aa;
}
.button-green {
border-color: lightgreen;
}
.button-green:hover {
background-color: greenyellow;
}
.default-border-color {
border-color: inherit;
}