@nodesecure/cli
Version:
Node.js security CLI
177 lines (153 loc) • 3.23 kB
CSS
#settings--view {
flex-direction: column;
z-index: 10;
padding: 60px;
box-sizing: border-box;
height: 100%;
overflow-y: auto;
}
#settings--view>h1, #settings--view h2 {
height: 40px;
border-bottom: 2px solid var(--primary);
margin-bottom: 20px;
display: flex;
align-items: center;
color: var(--primary);
font-size: 24px;
font-family: 'mononoki';
}
#settings--view h2 {
margin-top: 30px;
}
#settings--view .icon-keyboard {
background: url("../../../img/keyboard-solid.svg");
background-position: 10% center;
background-repeat: no-repeat;
width: 34px;
height: 20px;
margin-right: 2px;
filter: invert(14%) sepia(80%) saturate(5663%) hue-rotate(252deg) brightness(69%) contrast(98%);
}
#settings--view>h1 i {
margin-right: 5px;
}
#settings--view>form {
display: flex;
flex-wrap: wrap;
}
#settings--view>form .line {
display: flex;
flex-basis: 340px;
flex-direction: column;
min-height: 30px;
margin-bottom: 30px;
padding-right: 30px;
box-sizing: border-box;
}
#settings--view>form .line p, #settings--view>form .line label {
font-size: 15px;
color: #4a5e68;
letter-spacing: 0.5px;
}
#settings--view>form .line>p, #settings--view>form .line>label {
margin-bottom: 6px;
font-weight: bold;
}
#settings--view .shortcuts div:nth-child(n+1) {
margin-top: 10px;
}
#settings--view .shortcuts .note {
border-left: 3px solid #01579B;
padding: 10px 15px;
background: #81d4fa59;
color: #283593;
font-weight: 400;
border-radius: 2px;
box-sizing: border-box;
margin-bottom: 20px;
}
#settings--view .shortcuts label {
color: #4a5e68;
margin-left: 10px;
font-weight: 500;
}
#settings--view .shortcuts input:read-only {
background: transparent;
border-color: rgb(168, 168, 168);
color: rgb(141, 140, 140);
border-style: solid;
}
#settings--view .shortcuts input {
width: 36px;
height: 36px;
border-radius: 6px;
text-align: center;
font-family: system-ui;
font-size: 20px;
font-weight: 500;
border-bottom-width: 4px;
}
#settings--view>form .line>div {
display: flex;
height: 22px;
color: #334148;
align-items: center;
margin-left: 10px;
}
#settings--view>form .line select {
margin-left: 10px;
}
#settings--view>form .line input[type="checkbox"] {
margin-left: 0;
}
#settings--view>form .line>div+div {
margin-top: 5px;
}
#settings--view>form .line>div>p {
margin-left: 5px;
}
input[type="checkbox"] {
width: 16px;
height: 16px;
cursor: pointer;
}
label {
color: #4a5e68;
}
button.save {
height: 30px;
width: 100px;
background: #27a845;
color: #FFF;
border-radius: 4px;
margin-top: 30px;
border: none;
outline: none;
font-family: "mononoki";
font-weight: bold;
letter-spacing: 0.5px;
text-shadow: 2px 2px 5px #00000061;
}
button.save.disabled {
background: #334148;
opacity: 0.35;
}
button.save:not(.disabled):hover {
background-color: var(--secondary-darker);
cursor: pointer;
}
select {
max-width: 200px;
border: 1px solid #B0BEC5;
height: 30px;
border-radius: 4px;
font-family: 'mononoki';
color: #0c5a9b;
}
.settings-line-title {
font-size: 15px;
color: #4a5e68;
letter-spacing: 0.5px;
margin: 30px 0 6px;
font-weight: bold;
}