shrub/web/talk/main.css

256 lines
4.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
.grams {
2016-01-27 21:53:37 +03:00
list-style-type: none;
padding: 0; }
.grams .meta {
display: inline-block; }
2016-01-27 21:53:37 +03:00
2016-06-05 21:19:47 +03:00
.grams .meta {
max-height: 1.6rem;
2016-07-20 00:48:14 +03:00
overflow: hidden;
width: 100%; }
2016-06-05 21:19:47 +03:00
.grams .meta label {
margin-right: 0.9375rem;
height: 0.9375rem;
width: 0.9375rem;
text-align: center; }
.grams .meta label:before {
content: attr(data-glyph);
color: #fff;
font-family: 'scp';
font-size: .8rem;
font-weight: 500;
line-height: 1rem;
vertical-align: middle; }
.grams .meta label,
.grams .meta h2,
.grams .meta h3 {
2016-07-20 00:48:14 +03:00
display: inline-block;
vertical-align: top; }
2016-06-05 21:19:47 +03:00
.grams .meta h2,
.grams .meta h3 {
font-family: 'scp';
font-size: .8rem;
font-weight: 400;
margin-top: 0;
padding-top: 0; }
.grams .meta h3 {
margin-left: 2rem;
line-height: 1rem; }
.grams .meta .time {
2016-07-20 00:48:14 +03:00
padding-right: 2rem;
float: right; }
2016-01-27 21:53:37 +03:00
2016-07-20 00:48:14 +03:00
.grams .meta:hover {
overflow: visible; }
2016-06-07 21:45:49 +03:00
2016-08-08 23:40:37 +03:00
.gram:hover {
z-index: 2;
position: relative; }
div.gram.first:first-of-type {
2016-02-04 22:52:00 +03:00
margin-top: 0; }
2016-02-02 03:00:45 +03:00
div.gram.first {
margin-top: 1.875rem; }
2016-02-02 03:00:45 +03:00
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;
2016-07-20 00:48:14 +03:00
z-index: 0; }
div.gram.same:hover div.meta label, div.gram.same:hover div.meta h2, div.gram.same:hover div.meta h3 {
display: none; }
div.gram.same:hover div.meta h3.time {
display: block;
opacity: .6;
padding-right: 3.8rem; }
.speech {
2016-07-20 00:48:14 +03:00
position: absolute;
z-index: 1;
2016-06-20 23:49:01 +03:00
margin-left: 1.875rem; }
2018-01-18 17:37:18 +03:00
.speech .fat {
max-height: 0;
transition: max-height .1s ease-in-out;
overflow: hidden; }
.speech .fat pre {
color: #fff; }
.speech:hover .fat {
max-height: 16rem;
overflow: scroll;
background-color: #000;
color: #fff; }
2016-02-02 03:00:45 +03:00
.exp {
font-family: 'scp';
font-size: .9rem; }
.exp .speech {
max-width: 100%;
overflow-x: scroll; }
.exp .speech > span {
color: #fff;
background-color: #000;
padding: .3rem; }
.comment .speech a.btn {
background-color: transparent;
color: #B1B7BD;
font-size: .9rem;
border: 0;
border-bottom: 3px solid #b1b7bd;
text-transform: none;
text-decoration: none;
padding: 0;
line-height: 1rem;
margin: 1rem 0 2rem 0;
letter-spacing: 0; }
.gram pre {
background-color: transparent; }
div.gram label {
2016-07-20 00:48:14 +03:00
background-color: #000; }
2016-02-02 03:00:45 +03:00
div.gram.say .speech {
font-style: italic; }
div.gram.pending .speech {
color: #B1B7BD; }
.author,
.path {
cursor: pointer; }
2016-02-02 03:00:45 +03:00
input.action {
background-color: transparent;
border-color: transparent;
font-family: 'scp';
font-size: .8rem; }
input.action.valid-false {
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-06-05 21:19:47 +03:00
.menu {
2016-06-07 21:42:19 +03:00
max-height: 100%; }
.menu .planet,
.menu .room {
2016-06-05 21:19:47 +03:00
margin-bottom: .8rem; }
.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 {
display: none;
margin: 0;
float: none;
margin-left: .6rem;
font-weight: 600;
font-size: .8rem;
color: #FF0808; }
2016-06-05 21:19:47 +03:00
.menu .room:hover .close {
display: inline; }
.menu .room.disabled {
opacity: .6; }
.menu .name {
display: none;
min-width: 33.333%;
font-size: .9rem; }
.menu .planet {
min-width: 66.667%; }
2016-02-02 08:46:38 +03:00
2016-06-07 21:42:19 +03:00
.menu.depth-2 {
overflow: scroll; }
2016-01-27 21:53:37 +03:00
.input {
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; }
2016-06-05 21:19:47 +03:00
.input[contenteditable] {
border-bottom: 3px solid #000; }
.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;
font-family: 'scp';
font-size: .8rem; }
2016-01-27 21:53:37 +03:00
.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;
2016-08-08 23:40:37 +03:00
width: 120px;
margin-left: 2rem;
line-height: 2rem;
font-family: 'bau';
font-size: .7rem;
font-weight: 500;
letter-spacing: 1px; }