shrub/web/talk/main.css

213 lines
3.8 KiB
CSS
Raw Normal View History

2016-01-27 21:53:37 +03:00
.planet,
.room {
font-family: 'scp'; }
2016-02-02 08:46:38 +03:00
div.input.valid-false {
color: #FF0808;
border-color: #FF0808; }
2016-02-02 03:00:45 +03:00
2016-01-27 21:53:37 +03:00
div.meta {
display: inline-block; }
2016-01-30 05:18:51 +03:00
div.grams {
2016-01-27 21:53:37 +03:00
list-style-type: none;
padding: 0; }
div.meta label {
background-color: #B1B7BD;
2016-02-04 22:52:00 +03:00
margin-right: 0.9375rem;
height: 0.9375rem;
width: 0.9375rem;
2016-01-27 21:53:37 +03:00
text-align: center; }
2016-02-02 03:00:45 +03:00
div.meta label:before {
content: attr(data-glyph);
2016-01-27 21:53:37 +03:00
color: #fff;
font-family: 'scp';
font-size: .8rem;
2015-05-07 04:01:36 +03:00
font-weight: 500;
line-height: 1rem;
2016-01-27 21:53:37 +03:00
vertical-align: middle; }
2016-02-02 03:00:45 +03:00
div.meta label,
div.meta h2,
div.meta h3 {
2016-01-27 21:53:37 +03:00
display: inline-block; }
2016-02-02 03:00:45 +03:00
div.meta h2,
div.meta h3 {
2016-01-27 21:53:37 +03:00
font-family: 'scp';
font-size: .8rem;
2015-05-17 23:27:59 +03:00
font-weight: 400;
margin-top: 0;
padding-top: 0; }
2016-02-02 03:00:45 +03:00
div.meta h3 {
2016-02-02 08:46:38 +03:00
margin-left: 2rem;
line-height: 1rem; }
2016-02-02 03:00:45 +03:00
div.meta .time {
padding-right: 2rem; }
2016-01-27 21:53:37 +03:00
2016-02-04 22:52:00 +03:00
div.grams:first-of-type .gram {
margin-top: 0; }
2016-02-02 03:00:45 +03:00
div.gram.first {
margin-top: 1rem; }
2016-01-30 05:18:51 +03:00
div.gram.same div.meta {
2016-01-27 21:53:37 +03:00
display: none; }
2016-01-30 05:18:51 +03:00
div.gram.same:hover div.meta {
display: block;
position: absolute;
background-color: #fff;
margin-top: -2.5rem;
padding-top: 1rem; }
.speech {
2016-02-04 22:52:00 +03:00
margin-left: 1.875rem; }
2016-02-02 03:00:45 +03:00
div.gram label[data-glyph=">"],
div.gram label[data-glyph="="],
div.gram label[data-glyph="+"],
div.gram label[data-glyph="-"],
div.gram label[data-glyph="}"] {
2016-02-02 08:46:38 +03:00
background-color: #FF0808; }
2016-02-02 03:00:45 +03:00
div.gram label[data-glyph=")"],
div.gram label[data-glyph=","],
div.gram label[data-glyph="."],
div.gram label[data-glyph='"'],
div.gram label[data-glyph="'"] {
2016-02-02 08:46:38 +03:00
background-color: #61E000; }
2016-02-02 03:00:45 +03:00
div.gram label[data-glyph="*"],
div.gram label[data-glyph="`"],
div.gram label[data-glyph="^"],
div.gram label[data-glyph="$"],
div.gram label[data-glyph="%"],
div.gram label[data-glyph="&"],
div.gram label[data-glyph="@"] {
background-color: #0500F0; }
input.action {
background-color: transparent;
border-color: transparent;
font-family: 'scp';
font-size: .8rem; }
input.action.valid-false {
2016-02-02 08:46:38 +03:00
color: #FF0808; }
2016-02-02 03:00:45 +03:00
input.action::-webkit-input-placeholder {
color: #000;
font-family: 'bau';
font-size: 1rem; }
input.action:-moz-placeholder {
color: #000;
font-family: 'bau';
font-size: 1rem; }
input.action::-moz-placeholder {
color: #000;
font-family: 'bau';
font-size: 1rem; }
input.action:-ms-input-placeholder {
color: #000;
font-family: 'bau';
font-size: 1rem; }
input.action:focus::-webkit-input-placeholder {
color: transparent; }
input.action:focus:-moz-placeholder {
color: transparent; }
input.action:focus::-moz-placeholder {
color: transparent; }
input.action:focus:-ms-input-placeholder {
color: transparent; }
2016-02-02 08:46:38 +03:00
.menu .name,
.menu .planet {
display: inline-block; }
.menu .name,
.menu .planet,
.menu .room {
font-size: .8rem; }
.menu .room > div {
display: inline;
cursor: pointer; }
.menu .room > div.selected {
font-weight: 500; }
.menu .room .close {
2016-02-02 03:00:45 +03:00
display: none;
margin: 0;
float: none;
margin-left: .6rem;
font-weight: 600;
font-size: .8rem;
2016-02-02 08:46:38 +03:00
color: #FF0808; }
2016-02-02 03:00:45 +03:00
2016-02-02 08:46:38 +03:00
.menu .room:hover .close {
2016-02-02 03:00:45 +03:00
display: inline; }
2016-02-02 08:46:38 +03:00
.menu .room.disabled {
2016-02-02 03:00:45 +03:00
opacity: .6; }
2016-02-02 08:46:38 +03:00
.menu .name {
display: none;
min-width: 33.333%;
font-size: .9rem; }
.menu .planet {
min-width: 66.667%; }
2016-01-27 21:53:37 +03:00
.input {
border-bottom: 3px solid #000;
2015-03-06 06:58:23 +03:00
display: inline-block;
2015-10-28 22:56:32 +03:00
line-height: 2rem;
2016-01-27 21:53:37 +03:00
font-size: 1rem;
padding: 0 .2rem;
2015-05-17 23:27:59 +03:00
min-width: 1rem;
min-height: 1rem;
outline: none; }
.audience,
.message {
2016-02-04 22:52:00 +03:00
margin-left: 1.875rem; }
2016-01-27 21:53:37 +03:00
.audience {
2016-02-02 03:00:45 +03:00
margin-bottom: 1rem; }
2016-01-27 21:53:37 +03:00
.audience .input {
border-color: #B1B7BD;
2016-01-27 21:53:37 +03:00
font-family: 'scp'; }
.message {
display: inline-block; }
2016-01-27 21:53:37 +03:00
.message .input {
border-color: #373a3c;
2016-01-27 21:53:37 +03:00
font-family: 'bau'; }
2016-02-02 03:00:45 +03:00
.writing {
margin-top: 2rem; }
.length {
display: inline-block;
margin-left: 2rem;
line-height: 2rem;
font-family: 'bau';
font-size: .7rem;
font-weight: 500;
letter-spacing: 1px; }