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

373 lines
6.2 KiB
CSS
Raw Normal View History

@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');
2017-10-14 15:16:58 -04:00
*, *:before, *:after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100vh;
}
body {
font: 600 14px 'Roboto', sans-serif;
color: #000000;
background: #000000;
overflow-x: hidden;
}
.container {
display: flex;
min-height: 100%;
}
.sidebar {
position: absolute;
width: 220px;
}
.content {
flex: 1;
padding: 30px;
background: #444444;
box-shadow: 0 0 5px rgba(0,0,0,1);
transform: translate3d(0,0,0);
transition: transform .3s;
color: #cccccc;
}
.content.isOpen {
transform: translate3d(220px,0,0);
}
.button {
2017-10-18 16:59:41 -04:00
position: relative;
width: 120px;
height: 40px;
2017-10-14 15:16:58 -04:00
cursor: pointer;
2017-10-18 16:59:41 -04:00
margin: 10px 0 40px 0;
padding: 15px;
transition-property: opacity, filter;
transition-duration: .15s;
text-transform: none;
}
.button-inner {
left: 0;
top: 50%;
display: inline-block;
margin-top: -2px;
}
.button-inner,
.button-inner::after,
.button-inner::before {
background-color: #fff;
position: absolute;
width: 40px;
height: 4px;
transition: transform 0.15s ease;
border-radius: 4px;
2017-10-14 15:16:58 -04:00
}
2017-10-18 16:59:41 -04:00
.button-inner::before,
.button-inner::after {
content: "";
display: block;
}
.button-inner::before {
top: -10px;
}
.button-inner::after {
bottom: -10px;
}
.button.isOpen .button-inner::before {
transform: translate3d(-8px, 0, 0) rotate(-45deg) scale(0.7, 1);
}
.button.isOpen .button-inner::after {
transform: translate3d(-8px, 0, 0) rotate(45deg) scale(0.7, 1);
}
.button-label {
position: absolute;
top: 6px;
left: 50px;
font-size: 24px;
color: #fff;
2017-10-14 15:16:58 -04:00
}
.sidebar-title {
color: #2a9fd6;
cursor: pointer;
2017-10-14 15:16:58 -04:00
font-size: 16px;
line-height: 50px;
text-align: center;
text-transform: uppercase;
letter-spacing: 7px;
border-bottom: 1px solid #222;
background: #2a2a2a;
}
2017-10-20 16:46:14 -04:00
.nav li {
cursor: pointer;
}
2017-10-14 15:16:58 -04:00
.nav li a {
2017-10-14 17:56:07 -04:00
outline: 0;
2017-10-14 15:16:58 -04:00
position: relative;
display: block;
padding: 20px 0 20px 50px;
font-size: 14px;
color: #eee;
background: #333333;
border-bottom: 1px solid #222;
text-decoration: none;
}
.nav li a:before {
font: 14px fontawesome;
position: absolute;
top: 19px;
left: 20px;
}
.nav li:nth-child(1) a:before { content: '\f00a'; }
.nav li:nth-child(2) a:before { content: '\f002'; }
.nav li:nth-child(3) a:before { content: '\f084'; }
.nav li:nth-child(4) a:before { content: '\f0e0'; }
.nav li:nth-child(5) a:before { content: '\f0c0'; }
.nav li:nth-child(6) a:before { content: '\f233'; }
.nav li:nth-child(7) a:before { content: '\f023'; left: 23px; }
.nav li a:hover {
background: #444;
}
2017-10-14 17:56:07 -04:00
::-moz-focus-inner {border: 0;}
2017-10-14 15:16:58 -04:00
.nav li a.active {
box-shadow: inset 5px 0 0 #2A9FD6, inset 6px 0 0 #222;
background: #444;
}
2017-10-18 13:31:08 -04:00
.inner {
display: flex;
flex-direction: column;
}
.keys {
display: flex;
flex-direction: row;
2017-10-18 16:59:41 -04:00
flex-wrap: wrap;
2017-10-18 13:31:08 -04:00
}
.key {
background: #555;
border: 3px solid #2a9fd6;
border-radius: 5px;
box-shadow: 5px 5px 10px #000;
2017-10-18 16:59:41 -04:00
margin: 20px;
2017-10-18 13:31:08 -04:00
width: 300px;
height: 100px;
cursor: pointer;
display: flex;
justify-content: flex-start;
flex-direction: row;
2017-10-18 16:59:41 -04:00
transition: box-shadow 0.2s;
2017-10-18 13:31:08 -04:00
}
2017-10-18 16:59:41 -04:00
.key:hover {
box-shadow: 0 0 10px #eee;
}
.key i {
2017-10-18 13:31:08 -04:00
font-size: 48px;
margin: auto 0 auto 20px;
}
2017-10-18 16:59:41 -04:00
.key span {
font-size: 16px;
2017-10-18 13:31:08 -04:00
vertical-align: center;
margin: auto;
-moz-user-select: none;
user-select: none;
}
2017-10-21 15:10:24 -04:00
.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;
2017-10-21 15:10:24 -04:00
padding: 10px;
font-size: 14px;
margin: 10px 0;
background: #222;
color: #2a9fd6;
}
.modal,
.modal-box {
z-index: 900;
}
.modal-sandbox {
position: fixed;
2017-10-21 15:10:24 -04:00
width: 100%;
height: 100%;
top: 0;
2017-10-21 15:10:24 -04:00
left: 0;
background: transparent;
}
.modal {
display: none;
position: fixed;
width: 100%;
height: 100%;
2017-10-21 15:10:24 -04:00
left: 0;
top: 0;
background: rgb(0,0,0);
background: rgba(0,0,0,.8);
overflow: auto;
}
2017-10-21 15:10:24 -04:00
.modal-box {
position: relative;
width: 80%;
2017-10-21 15:10:24 -04:00
max-width: 700px;
2017-10-21 17:47:55 -04:00
margin: 60px auto;
2017-10-21 15:10:24 -04:00
animation-name: modalbox;
animation-duration: .3s;
animation-timing-function: ease;
}
2017-10-21 17:47:55 -04:00
#createKey {
max-width: 920px;
}
2017-10-21 15:10:24 -04:00
.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;
}
.modal-body {
2017-10-21 15:10:24 -04:00
border: 2px solid #2a9fd6;
border-top: none;
background: #000;
padding: 30px;
}
.modal-footer {
2017-10-21 15:10:24 -04:00
display: flex;
justify-content: flex-end;
border: 2px solid #2a9fd6;
border-radius: 0 0 8px 8px;
border-top: none;
background: #000;
padding: 20px;
2017-10-21 15:10:24 -04:00
}
.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;
}
2017-10-21 17:47:55 -04:00
#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;
}