gamja/style.css

227 lines
3.2 KiB
CSS
Raw Normal View History

2020-04-24 13:01:02 -04:00
html, body {
height: 100%;
padding: 0;
margin: 0;
overflow: hidden;
}
body {
display: grid;
grid-template-rows: auto 1fr max-content;
grid-template-columns: max-content 1fr max-content;
2020-04-24 13:01:02 -04:00
font-family: monospace;
}
2020-06-26 09:16:07 -04:00
#buffer-list, #buffer, #connect, #member-list {
2020-06-05 17:35:33 -04:00
width: 100%;
2020-04-24 13:01:02 -04:00
height: 100%;
overflow: auto;
}
2020-06-26 09:16:07 -04:00
#buffer-list {
2020-04-24 13:01:02 -04:00
background-color: #e3e3e3;
grid-column: 1;
grid-row: 1 / 4;
2020-06-29 04:12:46 -04:00
display: flex;
flex-direction: column;
2020-04-24 13:01:02 -04:00
}
2020-06-26 09:16:07 -04:00
#buffer-list ul {
2020-04-24 13:01:02 -04:00
list-style-type: none;
margin: 0;
2020-06-25 06:41:31 -04:00
padding: 0;
2020-06-29 04:12:46 -04:00
flex: 1 0 auto;
2020-06-25 06:41:31 -04:00
}
2020-06-26 09:16:07 -04:00
#buffer-list li a {
2020-04-24 13:01:02 -04:00
display: inline-block;
width: 100%;
2020-06-25 08:26:33 -04:00
padding: 2px 10px;
box-sizing: border-box;
2020-04-24 13:01:02 -04:00
}
2020-06-26 09:16:07 -04:00
#buffer-list li.active a {
2020-06-25 06:41:31 -04:00
color: white;
2020-06-25 08:26:33 -04:00
background-color: #4a4a4a;
2020-06-25 06:41:31 -04:00
}
2020-06-26 09:16:07 -04:00
#buffer-list li.unread-message a {
2020-06-25 06:41:31 -04:00
color: #b37400;
}
2020-06-29 04:12:46 -04:00
#buffer-list .actions {
flex-shrink: 0;
text-align: center;
}
#buffer-list .actions a {
display: block;
padding: 10px;
}
2020-04-24 13:01:02 -04:00
2020-06-26 09:16:07 -04:00
#buffer-header, #member-list-header {
box-sizing: border-box;
padding: 5px 10px;
border-bottom: 1px solid #e3e3e3;
}
2020-06-26 09:16:07 -04:00
#buffer-header {
2020-06-26 08:32:56 -04:00
grid-row: 1;
grid-column: 2;
}
2020-06-26 09:16:07 -04:00
#buffer-header .status-here {
2020-06-26 06:45:27 -04:00
color: green;
}
2020-06-26 09:16:07 -04:00
#buffer-header .status-gone {
2020-06-26 06:45:27 -04:00
color: orange;
}
2020-06-26 09:16:07 -04:00
#buffer-header .actions {
float: right;
}
#buffer {
grid-row: 2;
grid-column: 2;
}
2020-06-26 08:32:56 -04:00
#member-list-header {
grid-row: 1;
grid-column: 3;
border-left: 1px solid #e3e3e3;
}
#member-list {
grid-row: 2;
grid-column: 3;
border-left: 1px solid #e3e3e3;
}
#member-list ul {
list-style-type: none;
margin: 0;
padding: 0;
}
#member-list li a {
display: inline-block;
width: 100%;
padding: 2px 10px;
box-sizing: border-box;
}
2020-04-24 13:01:02 -04:00
#composer {
grid-row: 3;
2020-06-26 08:32:56 -04:00
grid-column: 2 / 4;
2020-04-24 13:01:02 -04:00
border-top: 1px solid #e3e3e3;
}
#composer input {
display: block;
2020-04-25 14:10:11 -04:00
height: 35px;
2020-04-24 13:01:02 -04:00
width: 100%;
box-sizing: border-box;
padding: 10px;
2020-06-29 04:16:47 -04:00
}
#composer input, #composer input:focus {
2020-04-24 13:01:02 -04:00
border: none;
background: none;
2020-06-29 04:16:47 -04:00
outline: none;
2020-04-24 13:01:02 -04:00
}
#composer.read-only {
display: none;
}
2020-06-05 17:35:33 -04:00
#connect {
position: absolute;
top: 0;
left: 0;
height: 100%;
background: white;
}
#connect form {
margin: 0 auto;
max-width: 300px;
}
#connect input[type="text"],
#connect input[type="username"],
#connect input[type="password"],
#connect input[type="url"] {
2020-06-05 17:35:33 -04:00
box-sizing: border-box;
width: 100%;
}
2020-04-24 13:01:02 -04:00
a {
color: green;
}
2020-06-29 04:12:46 -04:00
#buffer-list li a, a.timestamp, a.nick {
2020-04-24 13:01:02 -04:00
color: #4a4a4a;
text-decoration: none;
}
2020-06-29 04:12:46 -04:00
#buffer-list li a:hover, #buffer-list li a:active,
2020-04-24 13:01:02 -04:00
a.timestamp:hover, a.timestamp:active,
a.nick:hover, a.nick:active {
text-decoration: underline;
}
details summary {
cursor: default;
}
2020-04-25 06:51:35 -04:00
#buffer {
2020-04-25 04:28:23 -04:00
box-sizing: border-box;
color: #4a4a4a;
2020-06-24 14:44:45 -04:00
word-wrap: break-word;
2020-04-25 04:28:23 -04:00
}
2020-06-25 08:26:33 -04:00
#buffer .logline-list {
padding: 10px;
}
2020-04-25 06:51:35 -04:00
#buffer .talk {
2020-04-25 04:28:23 -04:00
color: black;
}
2020-04-25 06:51:35 -04:00
#buffer .me-tell {
2020-04-25 04:28:23 -04:00
color: #b37400;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-1 {
2020-04-24 13:01:02 -04:00
color: #f25e0d;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-2 {
2020-04-25 04:28:23 -04:00
color: #e43611;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-3 {
2020-04-25 04:28:23 -04:00
color: #f98a11;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-4 {
2020-04-25 04:28:23 -04:00
color: #b4a700;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-5 {
2020-04-25 04:28:23 -04:00
color: #89bd3b;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-6 {
2020-04-25 04:28:23 -04:00
color: #4ea847;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-7 {
2020-04-25 04:28:23 -04:00
color: #287e52;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-8 {
2020-04-25 04:28:23 -04:00
color: #117873;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-9 {
2020-04-25 04:28:23 -04:00
color: #0083a7;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-10 {
2020-04-25 04:28:23 -04:00
color: #2a6596;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-11 {
2020-04-25 04:28:23 -04:00
color: #385189;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-12 {
2020-04-25 04:28:23 -04:00
color: #434078;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-13 {
2020-04-25 04:28:23 -04:00
color: #5e4279;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-14 {
2020-04-25 04:28:23 -04:00
color: #7a447a;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-15 {
2020-04-25 04:28:23 -04:00
color: #e92980;
}
2020-04-25 06:51:35 -04:00
#buffer .nick-16 {
2020-04-25 04:28:23 -04:00
color: #ec273e;
}