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

163 lines
2.2 KiB
CSS
Raw Normal View History

2011-11-18 22:23:23 +00:00
body {
background: #263238;
padding: 0 0 80px;
margin: 0;
font-family: sans-serif;
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: transparent;
border: 0px;
color: #fff;
padding: 0px;
width: 100%;
height: 100%;
font-family: monospace;
outline: none;
resize: none;
font-size: 13px;
margin-top: 0;
margin-bottom: 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;
position: absolute;
top: 20px;
left: 0px;
width: 30px; /* 30 to get 20 away from box */
font-size: 13px;
font-family: monospace;
text-align: right;
user-select: none;
}
/* code box when locked */
2011-11-28 14:56:06 +00:00
#box {
padding: 0px;
margin: 0px;
width: 100%;
border: 0px;
outline: none;
font-size: 13px;
overflow: inherit;
}
#box.hljs {
background: transparent;
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 {
position: fixed;
bottom: 0px;
left: 0;
right: 0px;
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: #263238;
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;
}
}