1
0
Fork 0
mirror of https://github.com/seejohnrun/haste-server.git synced 2024-11-25 14:01:21 +00:00
haste-server/static/application.css

159 lines
2.2 KiB
CSS
Raw Normal View History

html, body {
height: 100%;
width: 100%;
}
2011-11-18 22:23:23 +00:00
body {
background: #002B36;
margin: 0;
font-family: sans-serif;
overflow-x: hidden;
overflow-y: auto;
2011-11-18 22:23:23 +00:00
}
2011-11-18 23:17:49 +00:00
/* textarea */
2011-11-28 14:56:06 +00:00
textarea {
background: #002B36;
border: 0px;
color: #fff;
width: 100%;
height: 100%;
font-family: monospace;
outline: none;
resize: none;
font-size: 13px;
margin-top: 0;
margin-bottom: 0;
padding: 20px 20px 80px 0;
2011-11-18 22:23:23 +00:00
}
2011-11-18 23:17:49 +00:00
.logo a:hover svg path {
fill: #fff;
}
/* the line numbers */
#linenos {
color: #7d7d7d;
z-index: -1000;
font-size: 13px;
font-family: monospace;
text-align: right;
user-select: none;
padding: 20px 20px 80px 20px;
flex-shrink: 0;
}
/* code box when locked */
2011-11-28 14:56:06 +00:00
#box {
padding: 20px 20px 20px 0;
margin: 0px;
width: 100%;
border: 0px;
outline: none;
font-size: 13px;
overflow: auto;
2011-11-18 22:23:23 +00:00
}
2011-11-18 23:17:49 +00:00
#box code {
padding: 0px;
background: transparent !important; /* don't hide hastebox */
2011-11-18 23:17:49 +00:00
}
/* key */
2011-11-28 14:56:06 +00:00
#key {
z-index: +1000; /* watch out */
2011-11-23 16:31:50 +00:00
}
button {
font-size: 14px;
color: #929EA4;
background: transparent;
outline: none;
border: none;
padding: 4px 10px;
cursor: not-allowed;
2011-11-23 16:31:50 +00:00
}
button.enabled {
color: #FFF;
cursor: pointer;
2011-11-18 23:17:49 +00:00
}
.button-wrap .label {
display: none;
position: absolute;
top: -36px;
left: 50%;
margin-left: -46px;
text-align: center;
background: #15191b;
color: #fff;
padding: 8px;
border-radius: 3px;
font-size: 12px;
width: 76px;
2011-11-27 20:34:09 +00:00
}
.button-wrap .label.label--small {
margin-left: -30px;
width: 44px;
2011-11-18 22:23:23 +00:00
}
2011-11-23 16:31:50 +00:00
.button-wrap:hover .label {
display: block;
2011-11-28 14:39:31 +00:00
}
.menu {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: #002B36;
2011-11-23 16:31:50 +00:00
}
.menu-actions {
display: flex;
2011-11-23 16:31:50 +00:00
}
#messages {
position: fixed;
top: 0px;
right: 138px;
margin: 0;
padding: 0;
width: 400px;
2011-12-19 17:44:12 +00:00
}
#messages li {
background: rgba(23,62,72,0.8);
margin: 0 auto;
list-style: none;
2011-12-19 17:44:12 +00:00
}
#messages li.error {
background: rgba(102,8,0,0.8);
}
@media only screen and (max-width: 600px) {
.logo, .label {
display: none !important;
}
.menu {
padding: 24px 12px !important;
}
.menu-actions {
width: 100%;
}
.menu-actions button {
padding-left: 0;
padding-right: 0;
}
.menu-actions .button-wrap {
flex: auto;
text-align: center;
}
}