2017-03-31 02:34:39 +00:00
|
|
|
/*
|
|
|
|
Organization:
|
|
|
|
{
|
2018-09-23 22:08:39 +00:00
|
|
|
own grid area name
|
|
|
|
display, flexing, gridding
|
2017-12-16 22:13:02 +00:00
|
|
|
positioning and alignment
|
2017-03-31 02:34:39 +00:00
|
|
|
bounding box (width, margin, overflow, ...)
|
|
|
|
borders and shadows
|
|
|
|
backgrounds
|
|
|
|
foregrounds
|
|
|
|
misc
|
|
|
|
}
|
|
|
|
*/
|
2017-12-16 22:13:02 +00:00
|
|
|
:root
|
|
|
|
{
|
|
|
|
--color_site_theme: #00d8f4;
|
2018-09-22 08:14:50 +00:00
|
|
|
--color_site_secondary: #ffffd4;
|
2018-09-22 23:01:34 +00:00
|
|
|
--color_site_transparency: rgba(0, 0, 0, 0.1);
|
|
|
|
--color_site_dropshadow: rgba(0, 0, 0, 0.25);
|
2018-10-22 01:46:27 +00:00
|
|
|
--color_text_normal: black;
|
|
|
|
--color_text_link: blue;
|
|
|
|
--color_text_placeholder: gray;
|
2017-12-16 22:13:02 +00:00
|
|
|
--color_3d_shadow: rgba(0, 0, 0, 0.5);
|
|
|
|
--color_3d_highlight: rgba(255, 255, 255, 0.5);
|
|
|
|
}
|
2018-09-23 22:08:39 +00:00
|
|
|
|
2018-10-22 01:46:27 +00:00
|
|
|
html
|
|
|
|
{
|
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
body
|
|
|
|
{
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
* { color: var(--color_text_normal); }
|
|
|
|
a { color: var(--color_text_link); }
|
|
|
|
|
|
|
|
input::placeholder
|
|
|
|
{
|
|
|
|
color: var(--color_text_placeholder);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-09-18 08:33:46 +00:00
|
|
|
body
|
|
|
|
{
|
2018-09-23 22:08:39 +00:00
|
|
|
display: grid;
|
|
|
|
grid-template:
|
|
|
|
"header" auto
|
|
|
|
"content_body" 1fr
|
|
|
|
/1fr;
|
2017-03-31 02:34:39 +00:00
|
|
|
|
2017-12-16 22:13:02 +00:00
|
|
|
background-color: var(--color_site_theme);
|
2016-09-18 08:33:46 +00:00
|
|
|
}
|
2018-10-22 01:46:27 +00:00
|
|
|
|
2016-09-18 08:33:46 +00:00
|
|
|
#header
|
|
|
|
{
|
2018-09-23 22:08:39 +00:00
|
|
|
grid-area: header;
|
2017-08-02 01:37:25 +00:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr 1fr 1fr auto;
|
|
|
|
grid-template-rows: auto;
|
2017-03-31 02:34:39 +00:00
|
|
|
|
2018-10-22 01:46:27 +00:00
|
|
|
margin: 8px;
|
2018-09-23 22:08:39 +00:00
|
|
|
|
|
|
|
background-color: var(--color_site_transparency);
|
|
|
|
}
|
|
|
|
#content_body
|
|
|
|
{
|
|
|
|
grid-area: content_body;
|
|
|
|
display: grid;
|
2018-10-22 01:46:27 +00:00
|
|
|
grid-auto-rows: min-content;
|
|
|
|
|
|
|
|
margin: 8px;
|
|
|
|
margin-top: 0;
|
2016-09-18 08:33:46 +00:00
|
|
|
}
|
2018-08-18 05:23:40 +00:00
|
|
|
#header button
|
|
|
|
{
|
|
|
|
border: 0;
|
|
|
|
cursor: pointer;
|
2018-10-22 01:46:27 +00:00
|
|
|
background-color: transparent;
|
2018-08-18 05:23:40 +00:00
|
|
|
}
|
2016-09-18 08:33:46 +00:00
|
|
|
.header_element
|
|
|
|
{
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
2017-03-31 02:34:39 +00:00
|
|
|
justify-content: center;
|
2016-09-18 08:33:46 +00:00
|
|
|
}
|
|
|
|
.header_element:hover
|
|
|
|
{
|
2018-09-22 08:14:50 +00:00
|
|
|
background-color: var(--color_site_secondary);
|
2016-09-18 08:33:46 +00:00
|
|
|
}
|
2018-08-18 05:23:40 +00:00
|
|
|
|
2018-09-23 22:08:39 +00:00
|
|
|
pre
|
|
|
|
{
|
|
|
|
white-space: pre-line;
|
|
|
|
}
|
|
|
|
|
2017-08-02 01:37:25 +00:00
|
|
|
.editor_input
|
|
|
|
{
|
|
|
|
width: 100%;
|
|
|
|
max-width: 800px;
|
|
|
|
}
|
2018-09-23 22:08:39 +00:00
|
|
|
|
2017-06-15 04:44:18 +00:00
|
|
|
.hidden
|
|
|
|
{
|
|
|
|
display: none !important;
|
|
|
|
}
|
2017-12-16 22:13:02 +00:00
|
|
|
|
2018-10-22 01:46:27 +00:00
|
|
|
button,
|
|
|
|
button *
|
|
|
|
{
|
|
|
|
color: black;
|
|
|
|
}
|
2018-07-29 03:18:10 +00:00
|
|
|
.gray_button
|
|
|
|
{
|
|
|
|
background-color: #cccccc;
|
|
|
|
}
|
2017-04-23 04:21:44 +00:00
|
|
|
.green_button
|
2016-09-18 08:33:46 +00:00
|
|
|
{
|
|
|
|
background-color: #6df16f;
|
|
|
|
}
|
2017-04-23 04:21:44 +00:00
|
|
|
.red_button
|
|
|
|
{
|
|
|
|
background-color: #ff4949;
|
|
|
|
}
|
2017-12-16 22:13:02 +00:00
|
|
|
.yellow_button
|
2017-04-23 04:21:44 +00:00
|
|
|
{
|
2017-12-16 22:13:02 +00:00
|
|
|
background-color: #ffea57;
|
|
|
|
}
|
|
|
|
|
2018-07-28 23:04:57 +00:00
|
|
|
button
|
2017-12-16 22:13:02 +00:00
|
|
|
{
|
|
|
|
border-top: 2px solid var(--color_3d_highlight);
|
|
|
|
border-left: 2px solid var(--color_3d_highlight);
|
|
|
|
border-right: 2px solid var(--color_3d_shadow);
|
|
|
|
border-bottom: 2px solid var(--color_3d_shadow);
|
|
|
|
}
|
2018-07-28 23:04:57 +00:00
|
|
|
button:active
|
2017-12-16 22:13:02 +00:00
|
|
|
{
|
|
|
|
border-top: 2px solid var(--color_3d_shadow);
|
|
|
|
border-left: 2px solid var(--color_3d_shadow);
|
|
|
|
border-right: 2px solid var(--color_3d_highlight);
|
|
|
|
border-bottom: 2px solid var(--color_3d_highlight);
|
2017-04-23 04:21:44 +00:00
|
|
|
}
|
|
|
|
|
2016-09-18 08:33:46 +00:00
|
|
|
.remove_tag_button,
|
|
|
|
.remove_tag_button_perm
|
|
|
|
{
|
2017-03-04 06:30:57 +00:00
|
|
|
/*position: absolute;*/
|
2016-09-18 08:33:46 +00:00
|
|
|
top: 3px;
|
2017-03-31 02:34:39 +00:00
|
|
|
vertical-align: middle;
|
2018-07-29 03:25:25 +00:00
|
|
|
font-size: 7pt;
|
2017-03-31 02:34:39 +00:00
|
|
|
|
2018-07-29 03:25:25 +00:00
|
|
|
min-width: 18px;
|
|
|
|
min-height: 14px;
|
|
|
|
/*padding: 0;*/
|
2017-03-31 02:34:39 +00:00
|
|
|
|
2016-09-18 08:33:46 +00:00
|
|
|
}
|
2017-04-23 04:21:44 +00:00
|
|
|
/*
|
|
|
|
The Remove button will be display:none by default, but is shown when the tag
|
|
|
|
is hovered over.
|
|
|
|
*/
|
2016-09-18 08:33:46 +00:00
|
|
|
.remove_tag_button
|
|
|
|
{
|
|
|
|
display: none;
|
|
|
|
}
|
2018-07-29 03:25:25 +00:00
|
|
|
.tag_object:hover + * .remove_tag_button,
|
2016-09-18 08:33:46 +00:00
|
|
|
.tag_object:hover + .remove_tag_button,
|
|
|
|
.remove_tag_button:hover,
|
|
|
|
.remove_tag_button_perm:hover
|
|
|
|
{
|
|
|
|
display:inline;
|
|
|
|
}
|
2017-04-23 04:21:44 +00:00
|
|
|
|
2016-09-18 08:33:46 +00:00
|
|
|
.tag_object
|
|
|
|
{
|
|
|
|
border-radius: 2px;
|
2018-10-22 01:46:27 +00:00
|
|
|
padding-left: 1px;
|
|
|
|
padding-right: 1px;
|
2017-03-31 02:34:39 +00:00
|
|
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
2018-10-22 01:46:27 +00:00
|
|
|
color: blue;
|
2017-03-31 02:34:39 +00:00
|
|
|
font-size: 0.9em;
|
2016-09-18 08:33:46 +00:00
|
|
|
text-decoration: none;
|
|
|
|
font-family: monospace;
|
|
|
|
line-height: 1.3;
|
|
|
|
}
|
2016-12-21 09:11:50 +00:00
|
|
|
#message_area
|
|
|
|
{
|
|
|
|
display: flex;
|
2017-03-31 02:34:39 +00:00
|
|
|
flex: 2;
|
2016-12-21 09:11:50 +00:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2017-03-31 02:34:39 +00:00
|
|
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
2018-09-22 23:01:34 +00:00
|
|
|
background-color: var(--color_site_transparency);
|
2016-12-21 09:11:50 +00:00
|
|
|
}
|
2017-03-04 06:30:57 +00:00
|
|
|
.message_bubble
|
2016-09-18 08:33:46 +00:00
|
|
|
{
|
|
|
|
width: 80%;
|
|
|
|
margin: 4px;
|
2017-03-31 02:34:39 +00:00
|
|
|
|
2017-03-04 06:30:57 +00:00
|
|
|
word-wrap: break-word;
|
2016-09-18 08:33:46 +00:00
|
|
|
}
|
2016-12-21 09:11:50 +00:00
|
|
|
.message_positive
|
2016-09-18 08:33:46 +00:00
|
|
|
{
|
|
|
|
background-color: #afa;
|
|
|
|
}
|
2016-12-21 09:11:50 +00:00
|
|
|
.message_negative
|
2016-09-18 08:33:46 +00:00
|
|
|
{
|
|
|
|
background-color: #faa;
|
2016-11-07 02:00:30 +00:00
|
|
|
}
|