Compare commits

..

No commits in common. "5062a1c1fafed4a7aaa885de113f4184c96a87c2" and "e9cf432e8729a2d1cb2dd21fc58128ff33c59c60" have entirely different histories.

2 changed files with 359 additions and 284 deletions

View File

@ -1,134 +1,130 @@
:root { :root {
--main-background: #d3d3d3; --main-background: #d3d3d3;
--main-text: #000000; --main-text: #000000;
--subtitle: #525252; --subtitle: #525252;
--main-nav: dodgerblue; --main-nav: dodgerblue;
--acc-nav: #f3dca9; --acc-nav: #f3dca9;
--acc-nav-separator: 2px solid #000000; --acc-nav-separator: 2px solid #000000;
--context-menu: #d0d0d0; --context-menu: #d0d0d0;
--context-menu-border: 2px outset #a4a4a4; --context-menu-border: 2px outset #a4a4a4;
--context-menu-hover: #bfbfbf; --context-menu-hover: #bfbfbf;
--primary-container-background: #d9d4c9; --primary-container-background: #d9d4c9;
--primary-container-border: 2px outset #e5e2d1; --primary-container-border: 2px outset #e5e2d1;
--secondary-container-background: #cacaca; --secondary-container-background: #cacaca;
--secondary-container-border: 2px outset #c1c1c1; --secondary-container-border: 2px outset #c1c1c1;
--header-bg: #ffffff; --header-bg: #ffffff;
--header-text: #000000; --header-text: #000000;
--header-line: 2px solid #000000; --header-line: 2px solid #000000;
--code-bg: #ffffff63; --code-bg: #ffffff63;
--code-text: #000000; --code-text: #000000;
--comments-bgcolor: #ffffff; --comments-bgcolor: #ffffff;
--border-line: #000000; --border-line: #000000;
--border-header: #ffffff; --border-header: #ffffff;
--inactive: #6e6e6e; --inactive: #6e6e6e;
--alert: #ce0000; --alert: #ce0000;
--currency: #89541A; --currency: #89541A;
--staff: #d500d1; --staff: #d500d1;
--tab-border: 2px outset #d9e2d7; --tab-border: 2px outset #d9e2d7;
--tab-inactive: #a8a8a8; --tab-inactive: #a8a8a8;
--tab-selected: #c8cbce; --tab-selected: #c8cbce;
--tab-gradient: #dedede; --tab-gradient: #dedede;
--popup-title-bg: #b3b3b3; --popup-title-bg: #b3b3b3;
--popup-title-border: 2px outset #868686; --popup-title-border: 2px outset #868686;
--dialog-title: linear-gradient(180deg, #ffffff 0%, #f3dca9 8px); --dialog-bg: #fbebcc;
--dialog-title-border: 1px outset #a48e65; --dialog-button-hover: #f9f7dd;
--dialog-bg: #b3b3b3; --dialog-button-active: #fffeee;
--dialog-border: 1px outset #636363;
--dialog-button: #fbebcc;
--dialog-button-hover: #f9f7dd;
--dialog-button-active: #fffeee;
--listing-unknown: #dd8fe8; --listing-unknown: #dd8fe8;
--listing-missing: #d57f6b; --listing-missing: #d57f6b;
--listing-found: #8cb9fd; --listing-found: #8cb9fd;
--listing-archived: #5dc668; --listing-archived: #5dc668;
--status-success: #458e1c; --status-success: #458e1c;
--status-error: #ff0000; --status-error: #ff0000;
--error: #c85151; --error: #c85151;
--warn: #d5c58e; --warn: #d5c58e;
--info: #8d9dce; --info: #8d9dce;
--success: #95ce8d; --success: #95ce8d;
--mail-subject-bg: #b7b7b7; --mail-subject-bg: #b7b7b7;
--mail-subject-border: 2px outset #8a8a8a; --mail-subject-border: 2px outset #8a8a8a;
--mail-sub-bg: #cecece; --mail-sub-bg: #cecece;
--mail-sub-border: 2px outset #a8a8a8; --mail-sub-border: 2px outset #a8a8a8;
--mail-content-bg: #dbdbdb; --mail-content-bg: #dbdbdb;
--mail-content-border: 2px outset #959595; --mail-content-border: 2px outset #959595;
--mail-buttonbar: #cacaca; --mail-buttonbar: #cacaca;
--forum-header: linear-gradient(180deg, #ffffff 0%, #f3dca9 8px, #f3dca9 100%); --forum-header: linear-gradient(180deg, #ffffff 0%, #f3dca9 8px, #f3dca9 100%);
--forum-header-border: 1px outset #a89b7f; --forum-header-border: 1px outset #a89b7f;
--forum-content: #d9d4c9; --forum-content: #d9d4c9;
--forum-content-border: 2px outset #a29c8d; --forum-content-border: 2px outset #a29c8d;
--forum-sub: #d7ccb6; --forum-sub: #d7ccb6;
--forum-sub-border: 1px outset #99907b; --forum-sub-border: 1px outset #99907b;
--post: #d9d9d9; --post: #d9d9d9;
--post-border: 1px outset #bfb9a9; --post-border: 1px outset #bfb9a9;
--post-bottombar: #d2d2d2; --post-bottombar: #d2d2d2;
--post-author: #b4b6b7; --post-author: #b4b6b7;
--post-author-border: 1px outset #84775a; --post-author-border: 1px outset #84775a;
--quote-bg: #cacaca; --quote-bg: #cacaca;
--quote-border: 1px outset #9b9481; --quote-border: 1px outset #9b9481;
--spoiler-bg: #b0b0b0; --spoiler-bg: #b0b0b0;
--spoiler-header-bg: #1c1c1c; --spoiler-header-bg: #1c1c1c;
--spoiler-header-text: #E8E8E8; --spoiler-header-text: #E8E8E8;
--spoiler-border: 1px inset #1c1c1c; --spoiler-border: 1px inset #1c1c1c;
--bar-bgcolor: #ffffff; --bar-bgcolor: #ffffff;
--input-bg: #ffffff; --input-bg: #ffffff;
--input-text: #000000; --input-text: #000000;
--direct: #ffffff; --direct: #ffffff;
--background-image: url('//assets.worlio.com/style/background'); --background-image: url('//assets.worlio.com/style/background');
/* DEPRECATED /* DEPRECATED
--button-large: url('//assets.worlio.com/style/button-large'); --button-large: url('//assets.worlio.com/style/button-large');
--button-wide: url('//assets.worlio.com/style/button-wide'); --button-wide: url('//assets.worlio.com/style/button-wide');
--button-long: url('//assets.worlio.com/style/button-long'); --button-long: url('//assets.worlio.com/style/button-long');
--button-med: url('//assets.worlio.com/style/button-med'); --button-med: url('//assets.worlio.com/style/button-med');
--button-small: url('//assets.worlio.com/style/button-small'); --button-small: url('//assets.worlio.com/style/button-small');
*/ */
--default-button-background: #d4d4d4; --default-button-background: #d4d4d4;
--default-button-border: 2px outset #dfdfdf; --default-button-border: 2px outset #dfdfdf;
--hover-button-background: #99d4ab; --hover-button-background: #99d4ab;
--hover-button-border: 2px outset #b6e0c3; --hover-button-border: 2px outset #b6e0c3;
--active-button-background: #9e9e9e; --active-button-background: #9e9e9e;
--active-button-border: 2px inset #bfbfbf; --active-button-border: 2px inset #bfbfbf;
--disabled-button-background: #808080; --disabled-button-background: #808080;
--disabled-button-border: 2px solid #808080; --disabled-button-border: 2px solid #808080;
--navbar-left: url('//assets.worlio.com/style/navbar-left'); --navbar-left: url('//assets.worlio.com/style/navbar-left');
--navbar-right: url('//assets.worlio.com/style/navbar-right'); --navbar-right: url('//assets.worlio.com/style/navbar-right');
--navbar-top: url('//assets.worlio.com/style/navbar-top'); --navbar-top: url('//assets.worlio.com/style/navbar-top');
--navbar-bottom: url('//assets.worlio.com/style/navbar-bottom'); --navbar-bottom: url('//assets.worlio.com/style/navbar-bottom');
--nav-db: url('//assets.worlio.com/style/navbar-db'); --nav-db: url('//assets.worlio.com/style/navbar-db');
--navbar-bg: url('//assets.worlio.com/style/navbar-bg'); --navbar-bg: url('//assets.worlio.com/style/navbar-bg');
--navbar-gradient: url('//assets.worlio.com/style/navbar-gradient'); --navbar-gradient: url('//assets.worlio.com/style/navbar-gradient');
--primary-font: Pixio; --primary-font: Pixio;
--secondary-font: TypeWriter; --secondary-font: TypeWriter;
} }

383
style.css
View File

@ -89,156 +89,6 @@ hr.arrow.right { background-position: 100% 0; }
hr.arrow.up { background-position: 0 100%; } hr.arrow.up { background-position: 0 100%; }
hr.arrow.down { background-position: 100% 100%; } hr.arrow.down { background-position: 100% 100%; }
/* = OVERLAY DIALOGS */
body > div.overlay {
position: fixed;
top: 0px; bottom: 0px; left: 0px; right: 0px;
z-index: 20;
background-color: #0006;
width: 100%;
height: 100%;
}
body > div.overlay .dialog {
background: linear-gradient(180deg, #ffffff 0%, #f3dca9 8px);
border: 1px outset #a48e65;
max-height: 80%;
max-width: 400px;
margin: 16px auto;
}
body > div.overlay .dialog table {
width: 100%;
max-width: unset;
margin: 0px;
}
body > div.overlay .dialog table th, body > div.overlay .dialog table td { padding: 4px; }
body > div.overlay .dialog table.titlebox { font-family: var(--primary-font); }
body > div.overlay .dialog table.titlebox img.close-button {
cursor: pointer;
user-select: none;
}
body > div.overlay .dialog table tr th:nth-of-type(1) {
text-align: left;
}
body > div.overlay .dialog table:not(.titlebox) {
background: #b3b3b3;
border: 1px outset #636363;
display: block;
height: 400px;
overflow: auto;
}
/* = TABBED CONTAINERS */
.tabbed-container {
display: flex;
flex-direction: column;
}
.tabbed-container .tablist {
position: relative;
bottom: -2px;
display: flex;
flex-direction: row;
flex-shrink: 0;
overflow-x: auto;
overflow-y: hidden;
}
.tabbed-container .tablist .tab,
.tabbed-container .tablist .faketab {
cursor: pointer;
}
.tablist a,
.tablist a:link, .tablist a:visited {
color: var(--main-text);
text-decoration: none;
}
.tabbed-container .tablist .tab,
.tabbed-container .tablist .faketab {
background-color: var(--tab-inactive);
border: var(--tab-border);
display: inline-block;
padding: 8px;
position: relative;
margin: auto 2px 0px 2px;
bottom: -2px;
text-align: center;
font-family: var(--primary-font);
}
.tabbed-container .tablist .tab *:not(.userlink) img,
.tabbed-container .tablist .faketab img {
vertical-align: middle;
}
.tabbed-container .tablist .tab.selected,
.tabbed-container .tablist .faketab.selected {
background: var(--tab-selected, #d3d3d3);
background: -moz-linear-gradient(0deg, var(--tab-selected) 50%, var(--tab-gradient) 100%);
background: -webkit-linear-gradient(0deg, var(--tab-selected) 50%, var(--tab-gradient) 100%);
background: linear-gradient(0deg, var(--tab-selected) 50%, var(--tab-gradient) 100%);
bottom: -2px;
/*border-bottom: none;*/
}
.tabbed-container .box,
.tabbed-container .dropdown {
background-color: var(--tab-selected);
border: var(--tab-border);
padding: 4px;
display: block;
flex: auto;
}
/* JS should handle positions and shit */
.tabbed-container .dropdown {
position: absolute;
border-top: none;
}
@media only screen and (orientation: landscape) {
.tabbed-container.vertical {
flex-direction: row;
}
.tabbed-container.vertical > .tablist {
position: relative;
right: -1px;
bottom: 0px;
display: flex;
flex-direction: column;
overflow-x: hidden;
overflow-y: auto;
flex-shrink: 0;
}
.tabbed-container.vertical > .tablist .tab,
.tabbed-container.vertical > .tablist .faketab {
margin: 2px 0px;
right: -1px;
bottom: 0px;
}
.tabbed-container.vertical > .tablist .tab.selected,
.tabbed-container.vertical > .tablist .faketab.selected {
background: var(--tab-selected, #d3d3d3);
background: -moz-linear-gradient(-90deg, var(--tab-selected) 25%, var(--tab-gradient) 100%);
background: -webkit-linear-gradient(-90deg, var(--tab-selected) 25%, var(--tab-gradient) 100%);
background: linear-gradient(-90deg, var(--tab-selected) 25%, var(--tab-gradient) 100%);
border: var(--tab-border);
}
}
/* == MAIN BODY */ /* == MAIN BODY */
body { body {
@ -1434,7 +1284,6 @@ body.forum.new table.board-display tr.title-row input {
} }
heading .button { heading .button {
display: inline-block !important; display: inline-block !important;
} }
@ -1587,6 +1436,10 @@ textarea {
vertical-align: top; vertical-align: top;
} }
table {
max-width: calc(100% - 8px);
}
.mail-count { .mail-count {
color: var(--alert); color: var(--alert);
position: relative; position: relative;
@ -1601,12 +1454,77 @@ textarea {
margin: 4px; margin: 4px;
} }
.tabbed-container .tablist .tab,
.tabbed-container .tablist .faketab {
cursor: pointer;
}
.mailbox a, .mailbox a,
.mailbox a:link, .mailbox a:visited { .mailbox a:link, .mailbox a:visited,
.tablist a,
.tablist a:link, .tablist a:visited {
color: var(--main-text); color: var(--main-text);
text-decoration: none; text-decoration: none;
} }
.tabbed-container {
display: flex;
flex-direction: column;
}
.tabbed-container .tablist {
position: relative;
bottom: -2px;
display: flex;
flex-direction: row;
flex-shrink: 0;
overflow-x: auto;
overflow-y: hidden;
}
.tabbed-container .tablist .tab,
.tabbed-container .tablist .faketab {
background-color: var(--tab-inactive);
border: var(--tab-border);
display: inline-block;
padding: 8px;
position: relative;
margin: auto 2px 0px 2px;
bottom: -2px;
text-align: center;
font-family: var(--primary-font);
}
.tabbed-container .tablist .tab *:not(.userlink) img,
.tabbed-container .tablist .faketab img {
vertical-align: middle;
}
.tabbed-container .tablist .tab.selected,
.tabbed-container .tablist .faketab.selected {
background: var(--tab-selected, #d3d3d3);
background: -moz-linear-gradient(0deg, var(--tab-selected) 50%, var(--tab-gradient) 100%);
background: -webkit-linear-gradient(0deg, var(--tab-selected) 50%, var(--tab-gradient) 100%);
background: linear-gradient(0deg, var(--tab-selected) 50%, var(--tab-gradient) 100%);
bottom: -2px;
/*border-bottom: none;*/
}
.tabbed-container .box,
.tabbed-container .dropdown {
background-color: var(--tab-selected);
border: var(--tab-border);
padding: 4px;
display: block;
flex: auto;
}
/* JS should handle positions and shit */
.tabbed-container .dropdown {
position: absolute;
border-top: none;
}
.mailbox .message, .mailbox .message,
.userbox .member { .userbox .member {
background-color: var(--primary-container-background); background-color: var(--primary-container-background);
@ -1622,6 +1540,167 @@ textarea {
image-rendering: pixelated; image-rendering: pixelated;
} }
.overlay {
position: fixed;
top: 0px; bottom: 0px; left: 0px; right: 0px;
z-index: 20;
background-color: #000a;
width: 100%;
height: 100%;
display: flex;
align-items: center;
}
.overlay .box,
.overlay .attachment {
background: var(--main-background);
border: 2px inset gray;
padding: 8px;
margin-left: auto; margin-right: auto;
}
.overlay .box {
position: fixed;
left: 0; right: 0;
}
.overlay .popup {
min-width: 128px;
/*height: 80px;*/
overflow: auto;
}
.overlay .popup.box .embedder .embed-item {
display: inline-block;
padding: 4px;
cursor: pointer;
border: 1px solid transparent;
height: 30px;
font-family: var(--primary-font);
}
.overlay .popup.box .embedder .embed-item img {
padding: 2px;
margin: 2px;
vertical-align: middle;
}
.overlay .popup.box .embedder .embed-item:hover {
border: var(--primary-container-border);
background: var(--primary-container-background);
}
.overlay .popup.box .embedder .embed-item.selected {
border: 1px outset #65aad2;
background: #b6dfe6;
}
.dragbox {
position: absolute;
z-index: 10;
background: var(--main-background);
border: var(--primary-container-border);
padding: 8px;
box-shadow: #0005 5px 5px 4px;
max-width: 100%;
}
.dragbox textarea {
resize: both;
}
.overlay .popup .titlebar,
.overlay .attachment .titlebar,
.dragbox .titlebar {
display: flex;
position: sticky;
top: -8px;
margin: -8px;
margin-bottom: 8px;
padding: 4px;
background: var(--popup-title-bg);
border-bottom: var(--popup-title-border);
font-family: var(--primary-font);
}
.overlay .popup .titlebar .title,
.overlay .attachment .titlebar .title,
.dragbox .titlebar .title {
flex-grow: 1;
}
.overlay .popup .titlebar .closebtn,
.overlay .attachment .titlebar .closebtn,
.dragbox .titlebar .closebtn {
cursor: pointer;
}
.dragbox .button-row {
display: flex;
border-top: var(--primary-container-border);
margin: -8px; margin-top: 0px;
padding: 4px;
}
.dragbox .content {display: flex;}
.dragbox#rename .content,
.dragbox#new-folder .content {
flex-direction: column;
}
@media only screen and (orientation: portrait) {
.overlay .box {
left: 4px;
right: 4px;
}
.overlay .box, .overlay .attachment {
max-width: 100%;
}
.overlay .popup, .overlay .attachment {
max-height: 90%;
}
}
@media only screen and (orientation: landscape) {
.overlay .popup {
max-width: 512px;
max-height:90%;
}
.tabbed-container.vertical {
flex-direction: row;
}
.tabbed-container.vertical > .tablist {
position: relative;
right: -1px;
bottom: 0px;
display: flex;
flex-direction: column;
overflow-x: hidden;
overflow-y: auto;
flex-shrink: 0;
}
.tabbed-container.vertical > .tablist .tab,
.tabbed-container.vertical > .tablist .faketab {
margin: 2px 0px;
right: -1px;
bottom: 0px;
}
.tabbed-container.vertical > .tablist .tab.selected,
.tabbed-container.vertical > .tablist .faketab.selected {
background: var(--tab-selected, #d3d3d3);
background: -moz-linear-gradient(-90deg, var(--tab-selected) 25%, var(--tab-gradient) 100%);
background: -webkit-linear-gradient(-90deg, var(--tab-selected) 25%, var(--tab-gradient) 100%);
background: linear-gradient(-90deg, var(--tab-selected) 25%, var(--tab-gradient) 100%);
border: var(--tab-border);
}
}
.close { .close {
position: absolute; position: absolute;
background-image: url('//assets.worlio.com/style/icons/deny'); background-image: url('//assets.worlio.com/style/icons/deny');