SandpointsEditPage/public/global.css

149 lines
1.9 KiB
CSS
Raw Normal View History

2021-03-25 23:16:41 +01:00
html, body {
position: relative;
width: 100%;
height: 100%;
}
body {
color: #333;
margin: 0;
padding: 8px;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
a {
color: rgb(0,100,200);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:visited {
color: rgb(0,80,160);
}
input, button, select, textarea {
font-family: inherit;
font-size: inherit;
-webkit-padding: 0.4em 0;
padding: 0.4em;
margin: 0 0 0.5em 0;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 2px;
}
input:disabled {
color: #ccc;
}
button {
color: #333;
background-color: #f4f4f4;
outline: none;
}
button:disabled {
color: #999;
}
button:not(:disabled):active {
background-color: #ddd;
}
button:focus {
border-color: #666;
}
2021-03-27 17:02:33 +01:00
/* custom part */
form {
display: grid;
grid-template-columns: auto 1fr;
grid-gap: 1rem;
}
#sandpoints {
width: 80%;
margin-left: 1rem;
margin-top: 1rem;
}
2021-06-02 02:02:20 +02:00
label, .filepath {
2021-03-27 17:02:33 +01:00
grid-column: 1/2;
text-transform: capitalize;
}
2021-06-02 02:02:20 +02:00
input, button, textarea, .selecttier, .relpath {
2021-03-27 17:02:33 +01:00
grid-column: 2/3;
}
textarea {
height: 10rem;
}
.hasinput {
line-height: 0.2rem;
border: 0px;
padding: 0px;
margin: 0px;
2021-04-24 10:56:34 +02:00
font-weight: bold;
}
2021-04-24 01:51:59 +02:00
2021-04-25 01:14:46 +02:00
.hasinput:focus {
outline: none;
}
2021-04-24 01:51:59 +02:00
.tierline {
display: flex;
2021-06-02 02:02:20 +02:00
align-items: baseline;
2021-04-24 01:51:59 +02:00
}
2021-04-24 10:56:34 +02:00
.tiertitle {
font-style: italic;
}
2021-04-24 01:51:59 +02:00
.buttons {
2021-04-24 10:56:34 +02:00
display: flex;
2021-04-24 01:51:59 +02:00
margin-left: auto;
2021-04-24 10:56:34 +02:00
padding-left: 0.2rem;
2021-04-24 01:51:59 +02:00
}
2021-06-02 02:02:20 +02:00
select {
align-self: start;
border: 0;
padding: 0.1rem;
}
.selecttier {
margin-top: 0.5rem;
}
.buttons button {
border: solid #999 1px;
padding: 0;
padding-left: 0.1rem;
padding-right: 0.1rem;
margin: 1px;
}
.filepath {
font-size: large;
font-style: italic;
margin-bottom: 1rem;
}
.relpath {
font-size: large;
font-weight: bold;
}
.tierbox, #selecthas {
margin-top: 0.5rem;
}