169 lines
2.8 KiB
SCSS
169 lines
2.8 KiB
SCSS
.page .page-center {
|
|
background-color: white;
|
|
width: 700px;
|
|
min-height: 50px;
|
|
margin-top: 4rem;
|
|
padding: 1rem;
|
|
box-sizing: border-box;
|
|
box-shadow: #0000001c 0 0px 5px;
|
|
|
|
.header {
|
|
text-align: center;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.setting-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.setting {
|
|
width: 100%;
|
|
height: 32px;
|
|
background-color: rgb(240, 240, 240);
|
|
padding: 0.1rem;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: row;
|
|
|
|
.title {
|
|
margin: auto auto auto 0;
|
|
}
|
|
|
|
.value {
|
|
margin: 0 0 0 auto;
|
|
display: flex;
|
|
|
|
input[type="text"] {
|
|
margin: auto;
|
|
font-size: 1rem;
|
|
text-align: center;
|
|
}
|
|
input[type="number"] {
|
|
margin: auto;
|
|
width: 4rem;
|
|
text-align: right;
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.largeset {
|
|
flex-direction: column;
|
|
height: fit-content;
|
|
.value {
|
|
width: 100%;
|
|
padding: 0.25rem;
|
|
box-sizing: border-box;
|
|
textarea {
|
|
width: 100%;
|
|
margin: auto;
|
|
font-size: initial;
|
|
resize: vertical;
|
|
min-height: 3rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.setting.fit-column {
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
|
|
.setting:nth-child(even) {
|
|
background-color: rgb(250, 250, 250);
|
|
}
|
|
}
|
|
}
|
|
|
|
.switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 50px;
|
|
height: 28px;
|
|
}
|
|
.switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
.slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #b8b8b8;
|
|
-webkit-transition: 0.4s;
|
|
transition: 0.4s;
|
|
}
|
|
.slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 20px;
|
|
width: 20px;
|
|
left: 4px;
|
|
bottom: 4px;
|
|
background-color: white;
|
|
-webkit-transition: 0.4s;
|
|
transition: 0.4s;
|
|
}
|
|
input:checked + .slider {
|
|
background-color: #2196f3;
|
|
}
|
|
input:focus + .slider {
|
|
box-shadow: 0 0 1px #2196f3;
|
|
}
|
|
input:checked + .slider:before {
|
|
-webkit-transform: translateX(20px);
|
|
-ms-transform: translateX(20px);
|
|
transform: translateX(20px);
|
|
}
|
|
.slider.round {
|
|
border-radius: 34px;
|
|
}
|
|
.slider.round:before {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
dialog {
|
|
border-radius: 5px;
|
|
border: 0;
|
|
min-width: 300px;
|
|
|
|
.title {
|
|
font-size: 1.1rem;
|
|
text-align: center;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.entry {
|
|
width: 100%;
|
|
margin-bottom: 0.5rem;
|
|
input {
|
|
width: 100%;
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
font-size: 1.1rem;
|
|
}
|
|
}
|
|
|
|
.status {
|
|
margin-bottom: 1rem;
|
|
color: red;
|
|
text-align: center;
|
|
}
|
|
|
|
.horizontal-button-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
* {
|
|
flex-grow: 1;
|
|
margin: 0 0.1rem;
|
|
}
|
|
}
|
|
}
|
|
dialog::backdrop {
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
}
|