ObjToSchematic/styles.css

237 lines
3.7 KiB
CSS
Raw Normal View History

2021-09-20 03:23:43 +08:00
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400&display=swap');
2021-07-01 23:16:32 +08:00
canvas {
position: absolute;
width: 100%;
2021-07-11 03:20:17 +08:00
height: 100%;
2021-07-04 23:02:20 +08:00
}
2021-10-05 07:32:03 +08:00
body {
margin: 0px;
background-color: rgb(25, 25, 25);
background-size: 100%;
font-family: 'Lexend', sans-serif;
2021-07-07 06:18:24 +08:00
}
2021-10-05 07:32:03 +08:00
input {
font-family: 'Lexend', sans-serif;
font-size: medium;
2021-08-14 23:34:35 +08:00
}
2021-10-05 07:32:03 +08:00
input:enabled {
outline: none;
2021-08-14 23:34:35 +08:00
}
2021-10-05 07:32:03 +08:00
button {
font-family: 'Lexend', sans-serif;
font-size: medium;
}
2021-09-20 03:23:43 +08:00
2021-10-05 07:32:03 +08:00
button:hover:enabled {
cursor: pointer;
transition: 0.2s;
border-color: rgba(0, 0, 0, 0.3);
}
button:disabled {
cursor: default;
transition: 0.2s;
}
.toolbar-container {
2021-09-20 03:23:43 +08:00
display: flex;
2021-10-05 07:32:03 +08:00
flex-wrap: wrap;
justify-content: center;
padding: auto;
margin: auto;
2021-09-20 03:23:43 +08:00
}
2021-10-05 07:32:03 +08:00
.status-container {
position: fixed;
left: 50%;
bottom: 25px;
transform: translate(-50%, -50%);
margin: 0 auto;
2021-09-20 03:23:43 +08:00
}
2021-10-05 07:32:03 +08:00
.glass {
background-color: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(20px);
border: solid;
border-color: rgba(255, 255, 255, 0.1);
border-width: 1.5px;
margin-top: 25px;
}
.toast {
padding: 10px 50px !important;
font-weight: 300;
transition: 0.5s;
}
2021-09-20 03:23:43 +08:00
2021-10-05 07:32:03 +08:00
.hide {
opacity: 0;
transition: 0.5s;
2021-09-20 03:23:43 +08:00
}
2021-10-05 07:32:03 +08:00
.bg-success {
background-color: rgba(40, 167, 69, 0.5) !important;
2021-09-20 03:23:43 +08:00
color: white !important;
}
2021-10-05 07:32:03 +08:00
.bg-failure {
background-color: rgba(220, 53, 69, 0.5) !important;
2021-09-20 03:23:43 +08:00
color: white !important;
}
2021-10-05 07:32:03 +08:00
.transparent {
opacity: 0.5;
2021-09-20 03:23:43 +08:00
}
2021-10-05 07:32:03 +08:00
.toolbar-item {
padding: 10px;
cursor: default;
2021-09-20 03:23:43 +08:00
}
2021-10-05 07:32:03 +08:00
.input-group {
display: flex;
align-content: stretch;
2021-09-20 03:23:43 +08:00
}
2021-10-05 07:32:03 +08:00
.input-group-item {
background-color: #EFEFEF;
padding: 10px 14px;
border: solid;
border-color: rgba(0, 0, 0, 0.25);
border-width: 1.5px 0px;
}
.input-group-item-dominant {
flex-grow: 1;
}
.pill-left {
border-top-left-radius: 32px;
border-bottom-left-radius: 32px;
border-left-width: 1.5px;
border-right-width: 0px;
}
.pill-right {
border-top-right-radius: 32px;
border-bottom-right-radius: 32px;
border-right-width: 1.5px;
border-left-width: 0px;
2021-09-20 03:23:43 +08:00
}
.text-field {
background-color: white;
font-weight: 300;
2021-10-05 07:32:03 +08:00
cursor: text;
color: #808080;
2021-09-20 03:23:43 +08:00
}
2021-10-05 07:32:03 +08:00
.text-field:read-only {
cursor: pointer;
2021-09-20 03:23:43 +08:00
}
2021-10-05 07:32:03 +08:00
.text-field:disabled {
background-color: #EFEFEF;
cursor: default;
2021-09-20 03:23:43 +08:00
}
2021-10-05 07:32:03 +08:00
.bg-primary {
background-color: #007bff;
color: white;
2021-09-20 03:23:43 +08:00
}
2021-10-05 07:32:03 +08:00
.bg-secondary {
background-color: #dc3545;
color: white;
2021-09-20 03:23:43 +08:00
}
2021-10-05 07:32:03 +08:00
.bg-primary:disabled {
background-color: #5AAAFF;
}
.bg-secondary:disabled {
background-color: #E87C87;
}
.bg-primary:hover:enabled {
background-color: #0069D9;
}
.bg-secondary:hover:enabled {
background-color: #C82333;
}
@media (max-width: 1200px) {
.toolbar-container {
flex-direction: column;
align-content: center;
align-items: center;
}
.input-group-item-dominant {
flex-grow: 0;
}
.toolbar-item-1 {
border-top-right-radius: 200px;
border-bottom-right-radius: 200px;
border-right-width: 1.5px;
border-left-width: 0px;
}
.toolbar-item-2 {
border-top-left-radius: 200px;
border-bottom-left-radius: 200px;
border-top-right-radius: 200px;
border-bottom-right-radius: 200px;
border-right-width: 1.5px;
border-left-width: 1.5px;
}
.toolbar-item-3 {
border-top-left-radius: 200px;
border-bottom-left-radius: 200px;
border-right-width: 0px;
border-left-width: 1.5px;
}
}
.pill {
border-radius: 32px;
2021-09-20 03:23:43 +08:00
border-width: 1.5px;
border-style: solid;
2021-10-05 07:32:03 +08:00
border-color: rgba(0, 0, 0, 0.3);
}
.modal {
position: absolute;
padding: 40px;
margin: 0;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 400px;
}
div.content {
display: flex;
flex-direction: column;
}
.modalTop {
color: white;
flex: 1;
font-weight: 300;
}
.modalBottom {
flex: none;
padding-top: 50px;
}
.button {
padding: 8px 40px;
2021-07-01 23:16:32 +08:00
}