1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-30 14:31:42 -05:00
shimapan/app/public/css/panel.css

250 lines
4.0 KiB
CSS

@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono');
@import "sidebar.css";
*, *:before, *:after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font: 12px 'Roboto', sans-serif;
color: #eeeeee;
background: #020202;
}
.container {
display: grid;
grid-template-columns: 240px 100%;
grid-template-rows: 60px 100%;
width: 100vw;
height: 100vh;
}
.view {
grid-row-start: 2;
grid-column-start: 2;
background: #121212;
padding: 20px;
}
.inner {
display: flex;
flex-direction: column;
}
.keys {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.key {
background: #555;
border: 3px solid #2a9fd6;
border-radius: 5px;
box-shadow: 5px 5px 10px #000;
margin: 20px;
width: 300px;
height: 100px;
cursor: pointer;
display: flex;
justify-content: flex-start;
flex-direction: row;
transition: box-shadow 0.2s;
overflow: hidden;
}
.key:hover {
box-shadow: 0 0 10px #eee;
}
.key i {
font-size: 48px;
margin: auto 0 auto 20px;
}
.key span {
font-size: 16px;
vertical-align: center;
margin: auto;
-moz-user-select: none;
user-select: none;
}
.key-name {
color: #2a9fd6;
font-family: 'Roboto Mono', monospace;
}
pre {
overflow: auto;
line-height: 1.7em;
font-family: 'Roboto Mono', monospace;
border: 1px solid #666;
border-radius: 4px;
display: block;
padding: 10px;
font-size: 14px;
margin: 10px 0;
background: #222;
color: #2a9fd6;
}
.modal,
.modal-box {
z-index: 900;
}
.modal-sandbox {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
background: transparent;
}
.modal {
display: none;
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
background: rgb(0,0,0);
background: rgba(0,0,0,.8);
overflow: auto;
}
.modal-box {
position: relative;
width: 80%;
max-width: 700px;
margin: 60px auto;
animation-name: modalbox;
animation-duration: .3s;
animation-timing-function: ease;
}
#createKey {
max-width: 920px;
}
.modal-header {
border: 2px solid #2a9fd6;
border-radius: 8px 8px 0 0;
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 20px 40px;
background: #000;
color: #ffffff;
overflow: hidden;
}
.modal-body {
border: 2px solid #2a9fd6;
border-top: none;
background: #000;
padding: 30px;
}
.modal-footer {
display: flex;
justify-content: flex-end;
border: 2px solid #2a9fd6;
border-radius: 0 0 8px 8px;
border-top: none;
background: #000;
padding: 20px;
}
.close-modal {
text-align: right;
font-size: 24px;
cursor: pointer;
}
@keyframes modalbox {
0% {
top: -250px;
opacity: 0;
}
100% {
top: 0;
opacity: 1;
}
}
button {
margin-left: 20px;
color: #d3d3d3;
background: #000;
border: 2px solid #2a9fd6;
border-radius: 5px;
padding: 10px;
cursor: pointer;
transition: background-color 0.25s;
}
button:hover {
color: #fff;
background-color: #2a9fd6;
text-decoration: none;
outline: none;
}
::-moz-focus-inner {
outline: none;
}
.btn-del {
text-transform: uppercase;
border: 2px solid #ff6666;
color: #ccc;
}
.btn-del:hover {
background-color: #ff6666;
}
em {
text-transform: uppercase;
font-weight: bold;
}
#identifier {
font-size: 14px;
background: #222;
color: #d3d3d3;
border: 1px solid #666;
border-radius: 4px;
padding: 10px;
margin: 10px 0;
}
th {
text-transform: uppercase;
font-weight: bold;
padding: 10px;
}
td {
padding: 10px;
}
td input {
vertical-align: middle;
}
td label {
margin-bottom: 2px;
padding-left: 3px;
}