mirror of
https://github.com/LucasDower/ObjToSchematic.git
synced 2024-12-15 02:59:55 +08:00
308 lines
5.5 KiB
CSS
308 lines
5.5 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400&display=swap');
|
|
|
|
:root {
|
|
--properties-width: max(400px, 20%);
|
|
--canvas-width: calc(100% - var(--properties-width));
|
|
--pill-radius: 6px;
|
|
--prim-color: hsl(190, 100%, 27%);
|
|
--prim-color-hover: hsl(190, 100%, 35%);
|
|
--prim-color-disabled: hsl(190, 100%, 15%);
|
|
--prop-bg-color: #1A1A1A;
|
|
}
|
|
|
|
body {
|
|
margin: 0px;
|
|
background-color: rgb(25, 25, 25);
|
|
font-family: 'Lexend', sans-serif;
|
|
overflow: hidden;
|
|
user-select: none;
|
|
}
|
|
|
|
.column-properties {
|
|
background-color: var(--prop-bg-color);
|
|
position: absolute;
|
|
width: var(--properties-width);
|
|
height: 100%;
|
|
border-right: 2px solid #252525;
|
|
overflow: auto;
|
|
}
|
|
|
|
.column-canvas {
|
|
position: absolute;
|
|
margin-left: var(--properties-width);
|
|
padding-left: 1.5px;
|
|
width: 80%;
|
|
height: 100%;
|
|
}
|
|
|
|
canvas {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: calc(100%);
|
|
background-color: #1A1A1A;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 10px;
|
|
border-radius: 10px;
|
|
/*background-color: #1A1A1A;*/
|
|
/*box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 24px;*/
|
|
/*border: 2px solid rgba(255, 255, 255, 0.075);*/
|
|
}
|
|
|
|
.item {
|
|
padding: 0px 0px;
|
|
color: white;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
color: #A8A8A8;
|
|
}
|
|
|
|
.item-header {
|
|
background-color: #2F2F2F;
|
|
color: #C6C6C6;
|
|
font-weight: 500;
|
|
padding: 10px 20px;
|
|
}
|
|
|
|
.sub-left {
|
|
align-self: center;
|
|
padding: 0px 10px;
|
|
width: 125px;
|
|
}
|
|
.sub-left-disabled {
|
|
color: #535353 !important;
|
|
}
|
|
|
|
.sub-left-alt {
|
|
align-self: center;
|
|
padding: 0px 0px 0px 0px;
|
|
color: #303030;
|
|
font-weight: 400;
|
|
font-size: 85%;
|
|
letter-spacing: 4px;
|
|
}
|
|
|
|
.sub-right {
|
|
flex-grow: 1;
|
|
padding: 0px 10px;
|
|
}
|
|
|
|
.item-body {
|
|
font-size: 85%;
|
|
margin: 0px 0px;
|
|
min-height: 30px;
|
|
padding: 5px 0px;
|
|
}
|
|
|
|
.item-body-sunken {
|
|
background-color: #141414;
|
|
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 10px 0px inset;
|
|
border-radius: 5px;
|
|
color: #8C8C8C80;
|
|
font-weight: 300;
|
|
font-size: 90%;
|
|
padding: 12px 18px;
|
|
line-height: 180%;
|
|
min-height: 22px;
|
|
border: 1.5px solid #141414;
|
|
transition-duration: 1s;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.round-top {
|
|
border-radius: 8.5px 8.5px 0px 0px;
|
|
}
|
|
|
|
.round-bottom {
|
|
border-radius: 0px 0px 10px 10px;
|
|
border-width: 0.5px 0px 0px 0px;
|
|
}
|
|
|
|
code {
|
|
border-radius: 3px;
|
|
padding: 0px 5px;
|
|
margin: 0px 5px;
|
|
background-color: rgb(15, 15, 15);
|
|
font-size: 110%;
|
|
}
|
|
|
|
select {
|
|
width: 100%;
|
|
height: 30px;
|
|
padding-left: 10px;
|
|
border-radius: 5px;
|
|
border: none;
|
|
font-family: 'Lexend', sans-serif;
|
|
font-weight: 300;
|
|
color: #A8A8A8;
|
|
background-color: #2F2F2F;
|
|
}
|
|
select:hover {
|
|
color: #C6C6C6;
|
|
background-color: #383838;
|
|
}
|
|
select:disabled {
|
|
background-color: #282828 !important;
|
|
color: #535353;
|
|
}
|
|
|
|
.file-input {
|
|
border-radius: 5px;
|
|
border: 1px solid rgb(255, 255, 255, 0);
|
|
font-family: 'Lexend', sans-serif;
|
|
font-weight: 300;
|
|
background-color: #2F2F2F;
|
|
padding: 0px 16px;
|
|
cursor: pointer;
|
|
height: 40px;
|
|
}
|
|
|
|
.file-input:hover {
|
|
border: 1px solid rgb(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.slider-value {
|
|
align-self: center;
|
|
font-weight: 300;
|
|
font-size: 85%;
|
|
margin-right: 8px;
|
|
color: #A8A8A8;
|
|
width: 20px;
|
|
text-align: center;
|
|
}
|
|
.slider-value-disabled {
|
|
color: #535353;
|
|
}
|
|
|
|
.new-slider {
|
|
border-radius: 5px;
|
|
font-family: 'Lexend', sans-serif;
|
|
font-weight: 300;
|
|
background-color: #2F2F2F;
|
|
cursor: ew-resize;
|
|
height: 30px;
|
|
font-size: 90%;
|
|
}
|
|
.new-slider-bar {
|
|
border-radius: 5px;
|
|
height: 28px;
|
|
background-color: var(--prim-color);
|
|
border: 1px solid rgb(255, 255, 255, 0.0);
|
|
}
|
|
.new-slider-bar:hover {
|
|
border: 1px solid rgb(255, 255, 255, 0.2);
|
|
background-color: var(--prim-color-hover);
|
|
}
|
|
.new-slider-disabled {
|
|
background-color: #242424;
|
|
cursor: default !important;
|
|
}
|
|
.new-slider-bar-disabled {
|
|
background-color: var(--prim-color-disabled) !important;
|
|
cursor: default !important;
|
|
border: 1px solid rgb(255, 255, 255, 0.0) !important;
|
|
}
|
|
|
|
.button {
|
|
background-color: var(--prim-color);
|
|
border-radius: 5px;
|
|
height: 25px;
|
|
color: white;
|
|
text-align: center;
|
|
padding: 5px 0px 0px 0px;
|
|
border: 1px solid rgb(255, 255, 255, 0);
|
|
cursor: pointer;
|
|
}
|
|
.button:hover {
|
|
border: 1px solid rgb(255, 255, 255, 0.2);
|
|
background-color: var(--prim-color-hover);
|
|
cursor: pointer;
|
|
}
|
|
.button-disabled {
|
|
cursor: default !important;
|
|
background-color: var(--prim-color-disabled) !important;
|
|
border: 1px solid rgb(255, 255, 255, 0) !important;
|
|
color: #808080 !important;
|
|
}
|
|
|
|
.input-text {
|
|
background-color: #2F2F2F;
|
|
border-radius: 5px;
|
|
height: 24px;
|
|
font-weight: 300;
|
|
padding: 6px 0px 0px 10px;
|
|
border: 1px solid rgb(255, 255, 255, 0);
|
|
}
|
|
.input-text:hover {
|
|
border: 1px solid rgb(255, 255, 255, 0.2);
|
|
background-color: #383838;
|
|
cursor: pointer;
|
|
}
|
|
.input-text-disabled {
|
|
background-color: rgb(156, 27, 27) !important;
|
|
}
|
|
|
|
.h-div {
|
|
height: 2px;
|
|
border-radius: 2px;
|
|
background-color: #252525;
|
|
}
|
|
|
|
.divider {
|
|
width: 2px;
|
|
border-radius: 1px;
|
|
background-color: #252525;
|
|
align-self: stretch;
|
|
}
|
|
|
|
.disabled {
|
|
opacity: 0.5;
|
|
cursor: default !important;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.border-warning {
|
|
border: 1.5px solid orange;
|
|
transition-duration: 1s;
|
|
color: orange;
|
|
}
|
|
|
|
.border-error {
|
|
border: 1.5px solid rgb(156, 27, 27);
|
|
transition-duration: 1s;
|
|
color: rgb(156, 27, 27);
|
|
} |