From 7ef492df123ef039754611c70ca047f706ce9504 Mon Sep 17 00:00:00 2001 From: Wirlaburla Date: Fri, 21 Apr 2023 19:39:19 -0500 Subject: [PATCH] Update button handling --- css/theme.css | 9 + style.css | 2280 +++++++++++++++++++++++++++++-------------------- 2 files changed, 1350 insertions(+), 939 deletions(-) diff --git a/css/theme.css b/css/theme.css index 9b3ac50..5dbd86c 100755 --- a/css/theme.css +++ b/css/theme.css @@ -109,11 +109,20 @@ --direct: #ffffff; --background-image: url('//assets.worlio.com/style/background'); + + /* DEPRECATED --button-large: url('//assets.worlio.com/style/button-large'); --button-wide: url('//assets.worlio.com/style/button-wide'); --button-long: url('//assets.worlio.com/style/button-long'); --button-med: url('//assets.worlio.com/style/button-med'); --button-small: url('//assets.worlio.com/style/button-small'); + */ + --default-button-background: #d4d4d4; + --default-button-border: 2px outset #dfdfdf; + --hover-button-background: #99d4ab; + --hover-button-border: 2px outset #b6e0c3; + --active-button-background: #9e9e9e; + --active-button-border: 2px inset #bfbfbf; --navbar-left: url('//assets.worlio.com/style/navbar-left'); --navbar-right: url('//assets.worlio.com/style/navbar-right'); diff --git a/style.css b/style.css index d359642..a2db2c6 100644 --- a/style.css +++ b/style.css @@ -1,12 +1,12 @@ /* - * | | | - * | | | {} - * | | ___ .__ | ___ __ ___ . . - * | /\ | / \ | \ | || / \ / \ / \ |\ /| - * | / \ | || || | | || || || || || || | \/ | - * |/ \| \___/ | | || \___/ () \__/ \___/ | | - * GLOBAL SITE STYLESHEET - * 07/20/2022 + * | | | + * | | | {} + * | | ___ .__ | ___ __ ___ . . + * | /\ | / \ | \ | || / \ / \ / \ |\ /| + * | / \ | || || | | || || || || || || | \/ | + * |/ \| \___/ | | || \___/ () \__/ \___/ | | + * GLOBAL SITE STYLESHEET + * 07/20/2022 */ @import url('//assets.worlio.com/style/css/theme.css'); @@ -18,8 +18,8 @@ } .no-scroll, nav, nav.top { - scrollbar-width: none; - -ms-overflow-style: none; + scrollbar-width: none; + -ms-overflow-style: none; } .no-scroll::-webkit-scrollbar, @@ -31,114 +31,193 @@ nav.top::-webkit-scrollbar { body.home .home-container {} body.home .home-container img.logo { max-height: 256px; max-width: 100%; } body.home .home-container .slogan { - font-family: var(--spfont1); - font-weight: bold; - font-size: 24px; - text-align: center; + font-family: var(--spfont1); + font-weight: bold; + font-size: 24px; + text-align: center; } body.home .home-container .link-contents { - display: flex; + display: flex; } body.home .home-container .link-contents .link-item { - margin: 8px; + margin: 8px; } body.home .home-container .link-contents .link-item img { - margin: 2px; - vertical-align: middle; + margin: 2px; + vertical-align: middle; } div.grower { flex-grow: 1; } body.home .home-container .footer { - max-width: 512px; - margin: auto; - text-align: right; + max-width: 512px; + margin: auto; + text-align: right; } body.home .home-container .blog-contents { - max-width: 512px; - margin: auto; - border-bottom: 1px solid black; + max-width: 512px; + margin: auto; + border-bottom: 1px solid black; } body.home .home-container .blog-contents .title { - border-bottom: 1px solid black; - font-family: var(--spfont1); - font-weight: bold; - font-size: 16px; - padding: 2px; + border-bottom: 1px solid black; + font-family: var(--spfont1); + font-weight: bold; + font-size: 16px; + padding: 2px; } body.home .home-container .blog-contents .blog-item { - background: var(--menu-bg); - border: var(--menu-border); - margin: 2px; - padding: 4px; + background: var(--menu-bg); + border: var(--menu-border); + margin: 2px; + padding: 4px; } body.home .home-container .blog-contents .blog-item i { text-align: right; } nav.top { - background-image: var(--navbar-top, url('//assets.worlio.com/style/navbar-top')); - background-position: 0px 100%; - background-color: var(--acc-nav, #f3dca9); - background-repeat: repeat-x; - background-size: auto 64px; - position: fixed; - height: 36px; - padding: 0px; - z-index: 10; - white-space: nowrap; + background-image: var(--navbar-top, url('//assets.worlio.com/style/navbar-top')); + background-position: 0px 100%; + background-color: var(--acc-nav, #f3dca9); + background-repeat: repeat-x; + background-size: auto 64px; + position: fixed; + height: 36px; + padding: 0px; + z-index: 10; + white-space: nowrap; } - + nav.top div.left { - position: relative; - width: 132px; - height: 32px; - z-index: 3; - float: left; - margin: 2px 4px; + position: relative; + width: 132px; + height: 32px; + z-index: 3; + float: left; + margin: 2px 4px; + transition-duration: 0.05s; } +nav.top div.left:not(.active) { + cursor: pointer; +} + +nav.top div.left.active { + width: 264px; +} + +nav.top div.left .upbutton { + width: 32px; + height: 16px; + margin: 0 auto; + background: var(--navbar-bg), rgb(196, 187, 166); + border: 1px outset black; + display: none; + opacity: 0; + transition-duration: 0.05s; +} + +nav.top div.left.active .upbutton { + display: block; + opacity: 1; +} + +nav.top div.left .upbutton img { margin: 4px 8px; } + nav.top div.left .dropdown { - font-family: var(--spfont1, Pixio); - background-image: var(--navbar-bg, url('//assets.worlio.com/style/navbar-bg')), var(--navbar-gradient); - background-position: 0 0, 0px 100%; - background-color: var(--acc-nav, #f3dca9); - background-repeat: repeat, repeat-x; - background-size: auto auto, auto 64px; - border-right: var(--acc-nav-separator, 2px solid #000000); - overflow: hidden; - width: 132px; - height: 34px; - position: relative; - z-index: 2; - margin: -2px -4px; - padding: 1px 4px; - white-space: nowrap; - transition-duration: 0.05s; + font-family: var(--spfont1, Pixio); + background: var(--navbar-bg), linear-gradient(0deg, rgba(162,147,112,1) 0%, rgba(243,220,169,1) 8px); + background-position: 0 0, 0px 100%; + background-color: var(--acc-nav, #f3dca9); + background-repeat: repeat, repeat-x; + background-size: auto auto, auto 64px; + border-right: var(--acc-nav-separator, 2px solid #000000); + border-bottom: var(--acc-nav-separator, 2px solid #000000); + overflow: hidden; + width: 100%; + height: 32px; + position: relative; + z-index: 2; + margin: -2px -4px; + padding: 1px 4px; + white-space: nowrap; + transition-duration: 0.05s; } -nav.top div.left:hover .dropdown { - width: 264px; +nav.top div.left:not(.active):hover .dropdown { + background: var(--navbar-bg), linear-gradient(0deg, rgba(243,220,169,1) 0%, rgba(210,190,143,1) 8px); } -nav.top div.left .dropdown .flag { - float: right; - height: 16px; - margin: -2px -4px; +nav.top div.left.active .dropdown { + height: 412px; +} + +nav.top.guest div.left.active .dropdown { + height: 112px; +} + +nav.top div.left .dropdown .right { + pointer-events: none; + display: none; + opacity: 0; + float: right; + transition-duration: 1s; +} + +nav.top div.left.active .dropdown .right { + pointer-events: unset; + display: block; + opacity: 1; +} + +nav.top div.left .dropdown .alerts { + border: 2px inset var(--acc-nav); + background: #2221; + margin: 2px; + height: 300px; + overflow-y: auto; + overflow-x: hidden; + width: 256px; + white-space: break-spaces; + white-space: pre-wrap; +} + +nav.top div.left .dropdown .alerts .alert { + margin: 4px; + font-family: var(--spfont1); + background-color: var(--menu-bg); + border: var(--menu-border); + padding: 4px; +} + +nav.top div.left .dropdown .alerts .alert.unread { + background-color: #d0dadf; + outline: 1px solid #0088ff; +} + +nav.top div.left .dropdown .alerts .alert a { + text-decoration: underline; +} + +nav.top div.left .dropdown .alerts .alert .info { + display: flex; + color: var(--subtitle); + font-size: 12px; } nav.top div.left .dropdown .flag img { - float: right; - width: 16px; + float: right; + width: 16px; } nav.top div.left .dropdown .flag a { - opacity: 0; - transition-duration: 0.1s; - height: 16px; + opacity: 0; + transition-duration: 0.1s; + height: 16px; } -nav.top div.left:hover .dropdown .flag a { - opacity: 1; - display: inline; +nav.top div.left.active .dropdown .flag a { + opacity: 1; + display: inline; } nav.top div.left .dropdown .flag[role="0"] a { color: var(--rankflag0); } @@ -151,69 +230,71 @@ nav.top div.left .dropdown .flag[role="50"] a { color: var(--rankflag6); } nav.top div.left .dropdown .flag[role="100"] a { color: var(--rankflag7); } nav.top div.left .username { - height: 38px; - margin: -1px; + display: block; + width: 132px; + height: 38px; + margin: -1px; } nav.top div.left .dropdown .username .counters { - display: flex; + display: flex; } nav.top div.left .dropdown .username .counter { - flex-grow: 1; - height: 16px; + flex-grow: 1; + height: 16px; } nav.top div.left .dropdown .username .counter a { - color: var(--inactive, #6e6e6e); - vertical-align: top; - font-size: 14px; + color: var(--inactive, #6e6e6e); + vertical-align: top; + font-size: 14px; } nav.top div.left .dropdown .username .counter img { - height: 100%; - margin: 0px 1px; - padding: 0px 2px; + height: 100%; + margin: 0px 1px; + padding: 0px 2px; } nav.top div.left .dropdown .username .counter.alert a { - color: var(--alert, #ce0000); + color: var(--alert, #ce0000); } nav.top div.left .dropdown .username .counter.currency a { - color: var(--currency, #89541A); + color: var(--currency, #89541A); } nav.top div.left .dropdown .username .userlink { - margin: 0px; + margin: 0px; } nav.top div.left .username .arrow { - position: relative; - opacity: 0.3; - float: right; - margin: 2px auto !important; - width: 16px !important; - height: 16px !important; + position: relative; + opacity: 0.3; + float: right; + margin: 2px auto !important; + width: 16px !important; + height: 16px !important; } nav.top div.left .username .user-icon { - vertical-align: top; + vertical-align: top; } nav.acc > div:nth-of-type(2) { - display: block; - overflow-y: visible; - overflow-x: auto; - height: 100%; - scrollbar-width: none; - -ms-overflow-style: none; - margin: 0px 4px; + display: block; + overflow-y: visible; + overflow-x: auto; + height: 100%; + scrollbar-width: none; + -ms-overflow-style: none; + margin: 0px 4px; } -nav.acc .dropdown:hover .currency a[type="short"] { display: none; } +nav.acc .left.active .dropdown .currency a[type="short"] { display: none; } nav.acc .dropdown .currency a[type="extended"] { display: none; } -nav.acc .dropdown:hover .currency a[type="extended"] { display: unset; } +nav.acc .left.active .dropdown .currency a[type="extended"] { display: unset; } nav.top p { margin: 0px; @@ -221,333 +302,351 @@ nav.top p { } nav.top.alert { - background-color: var(--dialog-bg, #fbebcc); - height: unset; - min-height: 28px; - max-height: 64px; - padding: 2px; - overflow: auto; - z-index: 5; + background-color: var(--dialog-bg, #fbebcc); + height: unset; + min-height: 28px; + max-height: 64px; + padding: 2px; + overflow: auto; + z-index: 5; } nav.top.alert .close { - background-image: url('//style.worlio.com/icons/close'); - background-size: 100%; - width: 16px; - height: 16px; - padding: 4px; - cursor: pointer; - margin-right: 8px; - float: left; + background-image: url('//style.worlio.com/icons/close'); + background-size: 100%; + width: 16px; + height: 16px; + padding: 4px; + cursor: pointer; + margin-right: 8px; + float: left; } nav.top.alert p { - text-align: unset; - white-space: pre-line; + text-align: unset; + white-space: pre-line; } nav { - background-color: var(--main-nav, dodgerblue); + background-color: var(--main-nav, dodgerblue); position: fixed; top: 0px; left: 0px; z-index: 10; - font-size: 14px; + font-size: 14px; } body > div.navgap { - height: 34px; + height: 34px; } nav .logo { - width: 48px; - height: 48px; - padding: 0px; + width: 48px; + height: 48px; + padding: 0px; margin: 2px; } .button, nav { - font-family: var(--spfont1, Pixio); + font-family: var(--spfont1, Pixio); } .button { - background-size: auto 300% !important; - background-image: var(--button-large, url('//assets.worlio.com/style/button-large')); - border: none; - width: 48px; - height: 48px; - font-size: 14px; - flex-shrink: 0; + background: var(--default-button-background); + border: var(--default-button-border); + width: 44px; + height: 44px; + font-size: 14px; + flex-shrink: 0; } .button:hover > a > img:nth-of-type(1) { - filter: contrast(50%); + filter: contrast(50%); } .button:active > a > img:nth-of-type(1) { - filter: brightness(50%) saturate(0%); + filter: brightness(50%) saturate(0%); } .button a { - display: block; - width: 144px; - height: 48px; + display: block; + width: 144px; + height: 48px; } .button > a > img:nth-of-type(1) { - display: inline; - width: 48px; - height: 48px; - flex-shrink: 0; + display: inline; + width: 48px; + height: 48px; + margin: -2px; + margin-right: 2px; + flex-shrink: 0; } .popbutton { - background-image: var(--button-large, url('//assets.worlio.com/style/button-large')); - width: 48px; - text-overflow: clip; - overflow: hidden; + width: 44px; + text-overflow: clip; + overflow: hidden; } .longbutton, .smallbutton { - display: inline-block !important; - padding: 2px; - height: 24px; + display: inline-block !important; + padding: 2px; + height: 20px; } .longbutton { - background-image: var(--button-long, url('//assets.worlio.com/style/button-long')); - width: 120px; - margin: 2px 4px !important; + width: 116px; + margin: 2px 4px !important; } .smallbutton { - background-image: var(--button-small, url('//assets.worlio.com/style/button-small')); - width: 24px; - margin: 2px !important; + width: 20px; + margin: 2px !important; } .longbutton a, .smallbutton a { - display: flex; - align-items: center; - height: 100% !important; - width: 100% !important; + display: flex; + align-items: center; + height: 100% !important; + width: 100% !important; } .longbutton.txt a { - display: inline-block !important; - width: 100%; height: 100%; - font-family: var(--spfont1, Pixio); - text-decoration: none; - text-align: center; - color: var(--main-text, #000000); - vertical-align: middle; + display: inline-block !important; + width: 100%; height: 100%; + font-family: var(--spfont1, Pixio); + text-decoration: none; + text-align: center; + color: var(--main-text, #000000); + vertical-align: middle; } .longbutton > a > img, .smallbutton > a > img { - width: 24px !important; - height: 24px !important; + width: 24px !important; + height: 24px !important; } .longbutton > a, .smallbutton > a { - color: var(--main-text, #000000); - text-decoration: none; - display: flex !important; - align-items: center; - height: 24px; - width: 120px; + color: var(--main-text, #000000); + text-decoration: none; + display: flex !important; + align-items: center; + height: 24px; + width: 120px; } - + .longbutton > a img, .smallbutton > a img { - margin-right: 4px; + margin-right: 4px; } .oddbutton { - position: absolute; + position: absolute; } .fakebutton { - display: inline-block !important; - cursor: pointer; + display: inline-block !important; + cursor: pointer; } body { - margin: 8px; - position: absolute; - right: 0px; - bottom: 0px; + margin: 8px; + position: absolute; + right: 0px; + bottom: 0px; } -body > .header-title { - border: var(--menu-border, 1px solid #bdbdbd); - border-top: none; - display: inline-block; - background-color: var(--menu-bg, #d0d0d0); - position: relative; - padding: 8px; - font-family: var(--spfont1, Pixio); +.header { + display: flex; + margin-bottom: 8px; +} + +.header > .gap { flex-grow: 1;} + +.header > .title { + border: var(--menu-border, 1px solid #bdbdbd); + border-top: none; + flex-shrink: 0; flex-grow: 0; + background-color: var(--menu-bg, #d0d0d0); + padding: 8px; + font-family: var(--spfont1, Pixio); + font-weight: bold; + margin: -8px 4px 8px 4px; +} + +.tabbed-container > .header { + margin-bottom: 0; + margin-top: -8px; + padding-top: 8px; } @media only screen and (orientation: landscape) { - :target::before { - content: ""; - display: block; - height: 64px; - margin: -64px 0 0; - } + :target::before { + content: ""; + display: block; + height: 64px; + margin: -64px 0 0; + } - body { - top: 0px; - left: 64px; - } + body { + top: 0px; + left: 64px; + } - .heading { - width: calc(100% + 8px); - padding: 2px 4px; - left: 64px; - } + .heading { + width: calc(100% + 8px); + padding: 2px 4px; + left: 64px; + } - .heading.main, - .heading.sub { - top: 0px; - } + .heading.main, + .heading.sub { + top: 0px; + } - .heading.main { margin: -8px; margin-bottom: 8px; } - .heading.sub { margin: -8px; margin-bottom: 8px; } - .heading.section { margin: 4px -8px; } - - nav { - width: 60px; + .heading.main { margin: -8px; margin-bottom: 8px; } + .heading.sub { margin: -8px; margin-bottom: 8px; } + .heading.section { margin: 4px -8px; } + + nav { + width: 60px; padding: 0px 2px; background-image: var(--navbar-left, url('//assets.worlio.com/style/navbar-left')); background-repeat: repeat-y; background-size: 100%; height: 100%; - } - - nav hr { + } + + nav hr { width: 100%; border: 1px solid black; } - - nav .logo { - display: block; - } - - nav.top { - width: calc(100% - 64px); - top: 0px; - left: 64px; + + nav .logo { + display: block; + } + + nav.top { + width: calc(100% - 64px); + top: 0px; + left: 64px; } nav.top > .navRight .dropdown h3 { - width: 128px; - } - - nav.top > .navRight .dropdown:hover h3 { - text-decoration: underline; - } - - nav.top.alert { - top: 36px; - } + width: 128px; + } + + nav.top > .navRight .dropdown:hover h3 { + text-decoration: underline; + } + + nav.top.alert { + top: 36px; + } .button { - display: block; - margin: 4px; - } - - .button a { - display: block; - width: 48px; - height: 48px; - } - - .popbutton { - font-size: 1.5em; - } + display: block; + margin: 4px; + } + + .button a { + display: block; + width: 48px; + height: 48px; + } + + .popbutton { + font-size: 16px; + } .popbutton:hover { - width: 144px; - } - - .popbutton > a { - color: var(--main-text, #000000); - text-decoration: none; - display: flex; - align-items: center; - height: 48px; - width: 144px; - } - - .popbutton > a img { - margin-right: 4px; - } - - .oddbutton { - top: 8px; - left: calc(64px + 8px); - } - - body > .header-title { - top: -8px; - margin-bottom: -8px; - } - - .forum .thread .post, .forum .thread .reply, .forum .errors { - margin: 8px 32px; - } + width: 140px; + } + + .popbutton > a { + color: var(--main-text, #000000); + text-decoration: none; + display: flex; + align-items: center; + height: 48px; + width: 144px; + } + + .popbutton > a img { + margin-right: 4px; + } + + .oddbutton { + top: 8px; + left: calc(64px + 8px); + } + + body > .header-title { + top: -8px; + margin-bottom: -8px; + } + + .forum .thread .reply, .forum .errors { + margin: 8px 32px; + } + + .forum .thread .post { + display: flex; + } } +.forum .thread .post { margin: 8px; } + @media only screen and (orientation: portrait) { - :target::before { - content: ""; - display: block; - height: 128px; - margin: -128px 0 0; - } + :target::before { + content: ""; + display: block; + height: 128px; + margin: -128px 0 0; + } - body { - top: 68px; - left: 0px; - } + body { + top: 64px; + left: 0px; + } - .heading { - margin: -8px; - margin-top: -16px; - margin-bottom: 8px; - padding: 2px 0px; - width: 100%; - left: 0px; - } + .heading { + margin: -8px; + margin-top: -16px; + margin-bottom: 8px; + padding: 2px 0px; + width: 100%; + left: 0px; + } - .heading.main { - top: 64px; - } + .heading.main { + top: 64px; + } - .heading.sub { - top: 128px; - } - - nav { - background-image: var(--navbar-top, url('//assets.worlio.com/style/navbar-top')); - background-repeat: repeat-x; - background-size: 64px; - width: 100%; - height: 60px; - padding: 2px 0px; - overflow-y: hidden; - overflow-x: auto; - scrollbar-width: none; - -ms-overflow-style: none; - white-space: nowrap; - } - - nav.top { - overflow-y: unset; - overflow-x: unset; - } - - nav hr { + .heading.sub { + top: 128px; + } + + nav { + background-image: var(--navbar-top, url('//assets.worlio.com/style/navbar-top')); + background-repeat: repeat-x; + background-size: 64px; + width: 100%; + height: 60px; + padding: 2px 0px; + overflow-y: hidden; + overflow-x: auto; + scrollbar-width: none; + -ms-overflow-style: none; + white-space: nowrap; + } + + nav.top { + overflow-y: unset; + overflow-x: unset; + } + + nav hr { margin: 0px 2px; border: none; border: 1px solid black; @@ -555,87 +654,86 @@ body > .header-title { display: inline-block; height: 48px; } - - nav .logo { - display: inline-block; - } - - nav > a { - transform: rotate(-90deg); - display: inline-block; - vertical-align: top; - height: 100%; - } - - nav.top { + + nav .logo { + display: inline-block; + } + + nav > a { + transform: rotate(-90deg); + display: inline-block; + vertical-align: top; + height: 100%; + } + + nav.top { width: 100%; - top: 64px; - left: 0px; + top: 64px; + left: 0px; } nav.top > .dropdown h3 { - width: 36px; - } - - nav.top.alert { - top: 100px; - } + width: 36px; + } + + nav.top.alert { + top: 100px; + } .button { - display: inline-block; - margin: 2px 4px; - } + display: inline-block; + margin: 2px 4px; + } .popbutton:hover { - width: 48px; - } - - .popbutton a:nth-of-type(2) { - display: none; - } - - .oddbutton { - top: calc(64px + 8px); - left: 8px; - } - - .longbutton.collapse { - background-image: var(--button-small, url('//assets.worlio.com/style/button-small')); - width: 24px; - margin: 2px !important; - font-size: 0px; - } - - body > .header-title { - top: -16px; - margin-bottom: -16px; - } - - .forum .thread .post, .forum .thread .reply, .errors { - margin: 8px; - } - - .forum .thread .threadsub { - flex-direction: column; - } - - .forum .thread .threadsub .buttons { - text-align: right; - } - - .forum .thread .post .bottombar { - flex-direction: column; - } - - .forum .thread .post .bottombar .buttons { - flex-direction: row; - } + width: 44px; + } + + .popbutton a:nth-of-type(2) { + display: none; + } + + .oddbutton { + top: calc(64px + 8px); + left: 8px; + } + + .longbutton.collapse { + width: 20px; + margin: 2px !important; + font-size: 0px; + } + + body > .header-title { + top: -16px; + margin-bottom: -16px; + } + + .forum .thread .post, .forum .thread .reply, .errors { + margin: 8px; + } + + .forum .thread .threadsub { + flex-direction: column; + } + + .forum .thread .threadsub .buttons { + text-align: right; + } + + .forum .thread .post .bottombar { + flex-direction: column; + } + + .forum .thread .post .bottombar .buttons { + flex-direction: row; + } } body { background-color: var(--main-background, #d3d3d3); background-image: var(--background-image, url('//assets.worlio.com/style/background')); - color: var(--main-text, #000000); + color: var(--main-text, #000000); } nav, @@ -643,13 +741,13 @@ nav.top, .button, .centerdiv, .heading { - scrollbar-width: none; - -ms-overflow-style: none; + scrollbar-width: none; + -ms-overflow-style: none; } p img, body > img { - max-width: 100%; + max-width: 100%; } .logo { @@ -665,36 +763,36 @@ h2 img { } table { - border-collapse: collapse; + border-collapse: collapse; width: 100%; - margin-right: 8px; + margin-right: 8px; } .heading { - z-index: 10; - display: block; + z-index: 10; + display: block; background-repeat: repeat-x; overflow-y: hidden; overflow-x: auto; white-space: nowrap; - border: none; - font-family: var(--spfont1, Pixio); + border: none; + font-family: var(--spfont1, Pixio); } .heading.main { - position: sticky; + position: sticky; background-size: 64px; height: 60px; } .heading { - background-color: var(--header-bg, #ffffff);; + background-color: var(--header-bg, #ffffff);; background-image: var(--navbar-top, url('//assets.worlio.com/style/navbar-top')); } .heading.sub, .heading.section { - height: 28px; + height: 28px; } .heading.sub { @@ -718,7 +816,7 @@ table { } .heading > a { - margin: 0px 0px 0px 4px; + margin: 0px 0px 0px 4px; display: inline-block; font-weight: bold; height: 100%; @@ -734,7 +832,7 @@ table { } .heading > img { - filter: drop-shadow(0px 0px 2px black); + filter: drop-shadow(0px 0px 2px black); } .heading.main i { @@ -753,12 +851,12 @@ table { } hr.arrow { - border: none; border-left: none; - background-image: url('//style.worlio.com/icons/arrow/arrows'); - background-size: 200% 200%; - height: 24px; - width: 24px; - margin: 22px 2px 2px 2px; + border: none; border-left: none; + background-image: url('//style.worlio.com/icons/arrow/arrows'); + background-size: 200% 200%; + height: 24px; + width: 24px; + margin: 22px 2px 2px 2px; } hr.arrow.left { background-position: 0 0; } @@ -768,13 +866,13 @@ hr.arrow.down { background-position: 100% 100%; } c, code, .codeblock:not(.title) { background-color: var(--code-bg, #ffffff63); - color: var(--code-text, #000000); - display: inline-block; - max-width: calc(100% - 4px); - /*white-space: pre-wrap;*/ - word-wrap: anywhere; + color: var(--code-text, #000000); + display: inline-block; + max-width: calc(100% - 4px); + /*white-space: pre-wrap;*/ + word-wrap: anywhere; font-family: Courier New; - padding: 2px; + padding: 2px; } code p { @@ -782,31 +880,31 @@ code p { } .centerdiv { - padding: 8px; - text-align: center; - margin: auto; - max-width: 50%; - width: 50%; + padding: 8px; + text-align: center; + margin: auto; + max-width: 50%; + width: 50%; } .centerdiv img { - width: 100%; + width: 100%; } .lib { - background-color: transparent; - border: none; + background-color: transparent; + border: none; } .lib.large { - max-width: 256px; - text-align: center; + max-width: 256px; + text-align: center; } .lib a { margin: 4px 8px; display: inline-block; - + } .lib a:hover { @@ -814,9 +912,9 @@ code p { } .lib a > img { - margin: auto; - filter: brightness(90%); - transition-duration: 0.1s; + margin: auto; + filter: brightness(90%); + transition-duration: 0.1s; } .lib a:hover > img { @@ -824,14 +922,14 @@ code p { } .lib.main a img { - max-height: 64px; - min-width: 64px; - max-width: 192px; + max-height: 64px; + min-width: 64px; + max-width: 192px; } .lib.small, .lib.tiny { - display: block; + display: block; } .lib.small > a, @@ -841,46 +939,46 @@ code p { .lib.small > a img, .lib.tiny > a img { - max-height: 16px; - min-width: 16px; - max-width: 48px; + max-height: 16px; + min-width: 16px; + max-width: 48px; } .lib.small > a { - width: 368px; + width: 368px; } .lib.tiny > a { - min-width: 64px; + min-width: 64px; } .comments { max-width: 100%; overflow: auto; margin: unset; - border-collapse: unset; - border: none; + border-collapse: unset; + border: none; } .love { - display: inline-block; - transform: none; - height: unset; - color: #FF0000; - opacity: 0.1; - text-decoration: none; - z-index: 15; - width: 48px; + display: inline-block; + transform: none; + height: unset; + color: #FF0000; + opacity: 0.1; + text-decoration: none; + z-index: 15; + width: 48px; } .link { - text-decoration: underline; - color: blue; - cursor: pointer; + text-decoration: underline; + color: blue; + cursor: pointer; } .link:hover { - color: blueviolet; + color: blueviolet; } input[type="button"], @@ -904,21 +1002,21 @@ input[type="time"], input[type="url"], input[type="week"], textarea { - background-color: var(--input-bg, #ffffff); - color: var(--input-text, #000); + background-color: var(--input-bg, #ffffff); + color: var(--input-text, #000); } input[type="file"] { - color: var(--input-text, #000); + color: var(--input-text, #000); } .styled-table > tbody > tr { - border-bottom: 1px dashed var(--border-line, #000000); + border-bottom: 1px dashed var(--border-line, #000000); } .styled-table > tbody > tr th { - background-color: rgba(255,255,255,0.4); - border-bottom: 1px solid var(--border-header, #ffffff); + background-color: rgba(255,255,255,0.4); + border-bottom: 1px solid var(--border-header, #ffffff); } .styled-table > tbody > tr td { border: 1px dotted var(--border-line, #000000); } @@ -927,173 +1025,173 @@ input[type="file"] { .status.error, .output .error {color: var(--status-error, #ff0000);} heading .button { - display: inline-block !important; + display: inline-block !important; } .file-table { - width: calc(100% - 8px); - border: 1px dotted var(--border-line, #000000); + width: calc(100% - 8px); + border: 1px dotted var(--border-line, #000000); } .file-table tr { - border-bottom: 1px dotted var(--border-line, #000000); + border-bottom: 1px dotted var(--border-line, #000000); } .userlink { - display: inline-block; - margin: 4px 0px; + display: inline-block; + margin: 4px 0px; } .userlink a { - color: var(--main-text, #000000); - text-decoration: none; + color: var(--main-text, #000000); + text-decoration: none; } .userlink img { - vertical-align: bottom; - margin-right: 4px; + vertical-align: bottom; + margin-right: 4px; } .message-container { - background-color: var(--main-background, #d3d3d3); - border: var(--menu-border, 1px solid #bdbdbd); - display: block; - padding: 4px; - margin-right: 8px; + background-color: var(--main-background, #d3d3d3); + border: var(--menu-border, 1px solid #bdbdbd); + display: block; + padding: 4px; + margin-right: 8px; } .message-container > div { - display: block; + display: block; } .message-container .subject a { - font-size: 18px; - font-weight: bold; - vertical-align: top; + font-size: 18px; + font-weight: bold; + vertical-align: top; } .message-container .body { - background-color: var(--menu-bg, #d0d0d0); - border: var(--menu-border, 1px solid #bdbdbd); - padding: 8px; - margin: 4px; + background-color: var(--menu-bg, #d0d0d0); + border: var(--menu-border, 1px solid #bdbdbd); + padding: 8px; + margin: 4px; } .message-container .date { - text-align: right; + text-align: right; } .live-preview { - vertical-align: top; - overflow: auto; + vertical-align: top; + overflow: auto; } .wrapper { - display: block; - padding: 8px; + display: block; + padding: 8px; } .formbutton button { - background: none; - color: var(--main-text, #000000); - text-decoration: none; - display: flex; - align-items: center; - width: 100%; - height: 100%; - font-family: var(--spfont1, Pixio); - border: none; - box-sizing: content-box; - padding: 0px; - cursor: pointer; + background: none; + color: var(--main-text, #000000); + text-decoration: none; + display: flex; + align-items: center; + width: 100%; + height: 100%; + font-family: var(--spfont1, Pixio); + border: none; + box-sizing: content-box; + padding: 0px; + cursor: pointer; } textarea { - resize: vertical; - width: calc(100% - 8px); + resize: vertical; + width: calc(100% - 8px); } .wrapper table input { - width: calc(100% - 20px); + width: calc(100% - 20px); } .account-name { - vertical-align: top; + vertical-align: top; } .account-name img { - vertical-align: middle !important; - width: 32px; - display: inline-block; + vertical-align: middle !important; + width: 32px; + display: inline-block; } .dropdown:hover .menu, .dropdown:active .menu { - display: block; + display: block; } - + .button.dropdown > a { - cursor: pointer; + cursor: pointer; } .dropdown .menu { - background-image: var(--background-image, url('//assets.worlio.com/style/background')); - display: none; - position: relative; - background-color: var(--menu-bg, #d0d0d0); - border: var(--menu-border, 1px solid #bdbdbd); - padding: 4px; - right: 152px; - width: 140px; - top: -28px; + background-image: var(--background-image, url('//assets.worlio.com/style/background')); + display: none; + position: relative; + background-color: var(--menu-bg, #d0d0d0); + border: var(--menu-border, 1px solid #bdbdbd); + padding: 4px; + right: 152px; + width: 140px; + top: -28px; } - + .dropdown:hover { - background-position-y: 100%; + background-position-y: 100%; } .dropdown .menu.below { - right: 124px; - top: 2px; + right: 124px; + top: 2px; } .upload-table { - width: 512px; - max-width: calc(100% - 32px); - margin: 0px auto; + width: 512px; + max-width: calc(100% - 32px); + margin: 0px auto; } .message-table { - width: 768px; - max-width: calc(100% - 32px); - margin: 0px auto; + width: 768px; + max-width: calc(100% - 32px); + margin: 0px auto; } .message-table input, .message-table textarea { - width: 100%; + width: 100%; } .double-column-table tr td:nth-of-type(1), .double-column-table tr th:nth-of-type(1) { - text-align: right; - vertical-align: top; + text-align: right; + vertical-align: top; } table { - max-width: calc(100% - 8px); + max-width: calc(100% - 8px); } .mail-count { - color: var(--alert); - position: relative; - top: -6px; - right: 28px; + color: var(--alert); + position: relative; + top: -6px; + right: 28px; } .form-container { - background-color: var(--menu-bg, #d0d0d0); - border: var(--menu-border, 1px solid #bdbdbd); - padding: 8px; - margin: 4px; + background-color: var(--menu-bg, #d0d0d0); + border: var(--menu-border, 1px solid #bdbdbd); + padding: 8px; + margin: 4px; } .tabbed-container { @@ -1101,254 +1199,302 @@ table { .tabbed-container .tablist .tab, .tabbed-container .tablist .faketab { - cursor: pointer; + cursor: pointer; } .mailbox a, .mailbox a:link, .mailbox a:visited, .tablist a, .tablist a:link, .tablist a:visited { - color: var(--main-text, #000000); - text-decoration: none; + color: var(--main-text, #000000); + text-decoration: none; } .tabbed-container { - display: flex; - flex-direction: column; + display: flex; + flex-direction: column; } .tabbed-container .tablist { - position: relative; - bottom: -1px; - display: flex; - flex-direction: row; - flex-shrink: 0; - overflow-x: auto; - overflow-y: hidden; + position: relative; + bottom: -1px; + 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, #bdbdbd); - border: var(--menu-border, 1px solid #bdbdbd); - display: inline-block; - padding: 8px; - position: relative; - margin: 0px 2px; - bottom: -1px; - text-align: center; - font-family: var(--spfont1, Pixio); + background-color: var(--tab-inactive, #bdbdbd); + border: var(--menu-border, 1px solid #bdbdbd); + display: inline-block; + padding: 8px; + position: relative; + margin: 0px 2px; + bottom: -1px; + text-align: center; + font-family: var(--spfont1, Pixio); } -.tabbed-container .tablist .tab img, +.tabbed-container .tablist .tab *:not(.userlink) img, .tabbed-container .tablist .faketab img { - vertical-align: middle; + 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, #d3d3d3) 50%, var(--tab-gradient, #dedede) 100%); - background: -webkit-linear-gradient(0deg, var(--tab-selected, #d3d3d3) 50%, var(--tab-gradient, #dedede) 100%); - background: linear-gradient(0deg, var(--tab-selected, #d3d3d3) 50%, var(--tab-gradient, #dedede) 100%); - bottom: -2px; - /*border-bottom: none;*/ + background: var(--tab-selected, #d3d3d3); + background: -moz-linear-gradient(0deg, var(--tab-selected, #d3d3d3) 50%, var(--tab-gradient, #dedede) 100%); + background: -webkit-linear-gradient(0deg, var(--tab-selected, #d3d3d3) 50%, var(--tab-gradient, #dedede) 100%); + background: linear-gradient(0deg, var(--tab-selected, #d3d3d3) 50%, var(--tab-gradient, #dedede) 100%); + bottom: -2px; + /*border-bottom: none;*/ } .tabbed-container .box, .tabbed-container .dropdown { - background-color: var(--tab-selected, #d3d3d3); - border: var(--menu-border, 1px solid #bdbdbd); - padding: 4px; - display: block; - flex: auto; + background-color: var(--tab-selected, #d3d3d3); + border: var(--menu-border, 1px solid #bdbdbd); + padding: 4px; + display: block; + flex: auto; } /* JS should handle positions and shit */ .tabbed-container .dropdown { - position: absolute; - border-top: none; + position: absolute; + border-top: none; } .mailbox .message, .userbox .member { - background-color: var(--menu-bg, #d0d0d0); - border: var(--menu-border, 1px solid #bdbdbd); - margin: 4px; - padding: 8px; + background-color: var(--menu-bg, #d0d0d0); + border: var(--menu-border, 1px solid #bdbdbd); + margin: 4px; + padding: 8px; } .emote { - image-rendering: crisp-edges; + image-rendering: crisp-edges; image-rendering: -moz-crisp-edges; image-rendering: -webkit-optimize-contrast; 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; + 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, #d3d3d3); + border: 2px inset gray; + padding: 8px; + + margin-left: auto; margin-right: auto; +} .overlay .box { - position: fixed; - background: var(--main-background, #d3d3d3); - border: 2px inset gray; - padding: 8px; - left: 0; right: 0; - margin-left: auto; margin-right: auto; + position: fixed; + left: 0; right: 0; } .overlay .popup { - min-width: 128px; - /*height: 80px;*/ - overflow: auto; + 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(--spfont1); +} + +.overlay .popup.box .embedder .embed-item img { + padding: 2px; + margin: 2px; + vertical-align: middle; +} + +.overlay .popup.box .embedder .embed-item:hover { + border: var(--menu-border, 1px solid #bdbdbd); + background: var(--menu-bg, #d0d0d0); +} + +.overlay .popup.box .embedder .embed-item.selected { + border: 1px outset #65aad2; + background: #b6dfe6; } .dragbox { - position: absolute; - z-index: 10; - background: var(--main-background, #d3d3d3); - border: var(--menu-border); - padding: 8px; - box-shadow: #0005 5px 5px 4px; - max-width: 100%; + position: absolute; + z-index: 10; + background: var(--main-background, #d3d3d3); + border: var(--menu-border); + padding: 8px; + box-shadow: #0005 5px 5px 4px; + max-width: 100%; } .dragbox textarea { - resize: both; + 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(--spfont1, Pixio); + 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(--spfont1, Pixio); } .overlay .popup .titlebar .title, +.overlay .attachment .titlebar .title, .dragbox .titlebar .title { - flex-grow: 1; + flex-grow: 1; } .overlay .popup .titlebar .closebtn, +.overlay .attachment .titlebar .closebtn, .dragbox .titlebar .closebtn { - cursor: pointer; + cursor: pointer; } .dragbox .button-row { - display: flex; - border-top: var(--menu-border); - margin: -8px; margin-top: 0px; - padding: 4px; + display: flex; + border-top: var(--menu-border); + margin: -8px; margin-top: 0px; + padding: 4px; } .dragbox .content {display: flex;} .dragbox#rename .content, .dragbox#new-folder .content { - flex-direction: column; + flex-direction: column; } @media only screen and (orientation: portrait) { - .overlay .box { - left: 4px; - right: 4px; - } - - .overlay .box { - max-width: 100%; - } - - .overlay .popup { - max-height: 90%; - } - - .forum .thread .threadsub { - top: 72px; - } + .overlay .box { + left: 4px; + right: 4px; + } + + .overlay .box, .overlay .attachment { + max-width: 100%; + } + + .overlay .popup, .overlay .attachment { + max-height: 90%; + } + + .forum .thread .threadsub { + top: 100px; + } + + .forum .thread .post .authorbar .user-stat {flex-direction: row;} + .forum .thread .post .authorbar .user-stat b {flex-grow: 1;} + .forum .thread .post .authorbar .avatar { width: 64px; height: 64px;} + .forum .thread .post-anchor { top: -10px; } } @media only screen and (orientation: landscape) { - .overlay .popup { - max-width: 512px; - max-height:90%; - } - - .tabbed-container.vertical { - flex-direction: row; - } + .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 { + 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, + .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, #d3d3d3) 25%, var(--tab-gradient, #dedede) 100%); - background: -webkit-linear-gradient(-90deg, var(--tab-selected, #d3d3d3) 25%, var(--tab-gradient, #dedede) 100%); - background: linear-gradient(-90deg, var(--tab-selected, #d3d3d3) 25%, var(--tab-gradient, #dedede) 100%); - border: var(--menu-border, 1px solid #bdbdbd); - } - - .forum .thread .threadsub { - top: 34px; - } + .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, #d3d3d3) 25%, var(--tab-gradient, #dedede) 100%); + background: -webkit-linear-gradient(-90deg, var(--tab-selected, #d3d3d3) 25%, var(--tab-gradient, #dedede) 100%); + background: linear-gradient(-90deg, var(--tab-selected, #d3d3d3) 25%, var(--tab-gradient, #dedede) 100%); + border: var(--menu-border, 1px solid #bdbdbd); + } + + .forum .thread .threadsub { + top: 35px; + } + + .forum .thread .post .authorbar { + width: 150px; + flex-shrink: 0; + text-align: center; + flex-direction: column; + } + + .forum .thread .post .authorbar .user-stat {flex-direction: column;} + .forum .thread .post .authorbar .avatar { width: 128px; height: 128px;} + .forum .thread .post-anchor { top: -74px; } } .close { - position: absolute; - background-image: url('//assets.worlio.com/style/icons/close'); - background-size: 100%; - width: 32px; - height: 32px; - cursor: pointer; - top: 8px; - right: 8px; + position: absolute; + background-image: url('//assets.worlio.com/style/icons/deny'); + background-size: 100%; + width: 48px; + height: 48px; + cursor: pointer; + top: 8px; + right: 8px; } .verinfo { - display: inline; - position: fixed; - bottom: 4px; - right: 4px; - opacity: 0.3; - pointer-events: none; + display: inline; + position: fixed; + bottom: 4px; + right: 4px; + opacity: 0.3; + pointer-events: none; } /* FORUM */ table.board { font-family: var(--spfont1, Pixio); } table.board th { - text-align: left; - padding: 4px; - background-color: var(--forum-header, #f3dca9); + text-align: left; + padding: 4px; + background-color: var(--forum-header, #f3dca9); } body.forum_board table.board tr:nth-child(0) { border: var(--forum-header-border, 1px solid #a89b7f); } @@ -1360,15 +1506,15 @@ body.forum table.board td:nth-child(3) * { vertical-align: middle; } body.forum table.board th { cursor: pointer; - user-select: none; - border: var(--forum-header-border, 1px solid #a89b7f); + user-select: none; + border: var(--forum-header-border, 1px solid #a89b7f); } table.board tr { - text-align: left; - padding: 4px; - background-color: var(--forum-content, #d9d4c9); - border: var(--forum-content-border, 1px solid #a29c8d); + text-align: left; + padding: 4px; + background-color: var(--forum-content, #d9d4c9); + border: var(--forum-content-border, 1px solid #a29c8d); } body.forum_board table.board th { @@ -1379,9 +1525,11 @@ body.forum table.board.collapsed td { display: none; } @media only screen and (max-width: 1024px) { body.forum table.board td:nth-child(4), - body.forum table.board col:nth-child(4) { display: none; } - body.forum_board table.board td:nth-child(4), - body.forum_board table.board col:nth-child(4) { display: none; } + body.forum table.board col:nth-child(4) { display: none; } + body.forum_board table.board td:nth-child(4), + body.forum_board table.board col:nth-child(4), + body.forum_watched table.board td:nth-child(4), + body.forum_watched table.board col:nth-child(4) { display: none; } table.board td:nth-child(3) { border-right: var(--forum-content-border, 1px solid #a29c8d); } } @@ -1393,343 +1541,399 @@ table.board .status { } .forum .category { - font-family: var(--spfont1, Pixio); + font-family: var(--spfont1, Pixio); } .forum > .category, .forum > .board, .forum > .thread { - margin-top: 8px; + margin-top: 8px; } .forum .category.collapsed .board { - display: none; + display: none; } .forum .category.collapsed name { - opacity: 0.5; + opacity: 0.5; } .forum .board name, .forum .category name, .forum .thread name { - display: flex; - background-color: var(--forum-header, #f3dca9); - border: var(--forum-header-border, 1px solid #a89b7f); - font-family: var(--spfont1, Pixio); - padding: 4px; + display: flex; + background-color: var(--forum-header, #f3dca9); + border: var(--forum-header-border, 1px solid #a89b7f); + font-family: var(--spfont1, Pixio); + padding: 4px; } .forum .category name { - cursor: pointer; - user-select: none; - margin-bottom: -1px; + cursor: pointer; + user-select: none; + margin-bottom: -1px; } .forum .board name .info, .forum .category name .info, .forum .thread name .info { - flex-grow: 1; + flex-grow: 1; } .forum .board name .info i, .forum .category name .info i, .forum .thread name .info i { - font-size: 12px; - color: var(--subtitle, #525252); + font-size: 12px; + color: var(--subtitle, #525252); } .forum .board name .buttons, .forum .category name .buttons, .forum .thread name .buttons { - flex-grow: 0; - padding: 2px; + flex-grow: 0; + padding: 2px; +} + +.forum .thread name .infobox { + flex-grow:1; +} + +.forum .thread name .infobox .author { + color: var(--subtitle); } .forum .category .board.sub { - margin-left: 16px; + margin-left: 16px; } .forum .category .board { - display: flex; - background-color: var(--forum-content, #d9d4c9); - border: var(--forum-content-border, 1px solid #a29c8d); - padding: 8px; - margin-left: 8px; - margin-bottom: -1px; + display: flex; + background-color: var(--forum-content, #d9d4c9); + border: var(--forum-content-border, 1px solid #a29c8d); + padding: 8px; + margin-left: 8px; + margin-bottom: -1px; } .forum .category .board .details1 { - flex-grow: 1; + flex-grow: 1; } .forum .category .board .details2 { - flex-grow: 0; - text-align: center; - padding: 0px 4px; + flex-grow: 0; + text-align: center; + padding: 0px 4px; } .forum .category .board .desc { - font-size: 12px; + font-size: 12px; } .forum .board .thread { - display: flex; - background-color: var(--forum-content, #d9d4c9); - border: var(--forum-content-border, 1px solid #a29c8d); - border-top: none; - margin-left: 8px; - margin-right: 8px; - padding: 8px; - font-family: var(--spfont1, Pixio); + display: flex; + background-color: var(--forum-content, #d9d4c9); + border: var(--forum-content-border, 1px solid #a29c8d); + border-top: none; + margin-left: 8px; + margin-right: 8px; + padding: 8px; + font-family: var(--spfont1, Pixio); } .forum .board .thread .userlink { - margin: unset; + margin: unset; } .forum .board .thread .details1 { - flex-grow: 1; + flex-grow: 1; } .forum .board .thread .details1 .post-count { - color: var(--subtitle, #525252); + color: var(--subtitle, #525252); } .forum .board .thread .details2 { - flex-grow: 0; - text-align: right; + flex-grow: 0; + text-align: right; } .forum .board .thread .author { - display: inline-block; - height: 16px; - padding-top: 4px; + display: inline-block; + height: 16px; + padding-top: 4px; } .forum .board .thread .time { - color: var(--subtitle, #525252); + color: var(--subtitle, #525252); } -.forum .thread .post, +.forum .thread .post .post-content, .forum .thread .reply, .forum .errors { - background-color: var(--post, #d9d9d9); - border: var(--post-border, 1px solid #bfb9a9); - padding: 4px; + background-color: var(--post, #d9d9d9); + border: var(--post-border, 1px solid #bfb9a9); + padding: 4px; +} + +.forum .thread .post .post-sig { + margin: 0px -4px; + margin-top: 8px; + padding: 4px; + max-height: 128px; + overflow-y: hidden; } .forum .thread .reply .submit { - display: flex; + display: flex; } -.forum .thread .post .topbar, .forum .thread .reply .title, .forum .errors .title { - display: flex; - font-family: var(--spfont1, Pixio); - padding: 4px; - margin: -8px; - margin-bottom: 8px; + display: flex; + font-family: var(--spfont1, Pixio); + padding: 4px; + margin: -8px; + margin-bottom: 8px; } .forum .thread .reply .title { - display: flex; + display: flex; } .forum .thread .reply .title input { - flex-grow: 1; + flex-grow: 1; } -.forum .thread .post .topbar { - background-color: var(--post-author, #b4b6b7); - border: var(--post-author-border, 1px solid #84775a); - display: flex; +.forum .thread .post .authorbar { + background-color: var(--post-author, #b4b6b7); + border: var(--post-author-border, 1px solid #84775a); + display: flex; + min-height: 64px; + padding: 2px; } -.forum .thread .post .topbar .userlink { - flex-grow: 1; +.forum .thread .post .authorbar .author { + display: flex; + flex-grow:1; + flex-direction: column; } -.forum .thread .post .topbar .idtag { - color: var(--subtitle, #525252); +/*.forum .thread .post .authorbar .userlink { text-align: center: }*/ + +.forum .thread .post .authorbar .user-stat { + font-family: var(--spfont1); + color: var(--subtitle); + display: flex; +} + +.forum .thread .post .authorbar img.avatar { + margin: 10px; + border: var(--menu-border); } .forum .thread .reply .title, .forum .errors .title { - background-color: var(--forum-sub, #d7ccb6); - border: var(--forum-sub-border, 1px solid #99907b) + background-color: var(--forum-sub, #d7ccb6); + border: var(--forum-sub-border, 1px solid #99907b); } .forum .thread .threadsub { - background-color: var(--forum-sub, #d7ccb6); - position: sticky; - border: var(--forum-sub-border, 1px solid #99907b); - border-top: none; - display: flex; - padding: 2px; - margin: 0px 16px; - font-family: var(--spfont1, Pixio); + background-color: var(--forum-sub, #d7ccb6); + position: sticky; + border: var(--forum-sub-border, 1px solid #99907b); + border-top: none; + display: flex; + padding: 2px; + margin: 0px 16px; + font-family: var(--spfont1, Pixio); + z-index: 5; } .forum .thread .threadsub .author { - flex-grow: 1; + flex-grow: 1; } .forum .thread .post img, .forum .thread .post video, .forum .thread .post audio, .forum .thread .post iframe { - max-width: 100%; + max-width: 100%; } -.forum .thread .post .bottombar { - border-top: var(--post-border, 1px solid #bfb9a9); - background-color: var(--post-bottombar, #d2d2d2); - padding: 4px; - display: flex; - margin: 8px -4px -4px -4px; - font-family: var(--spfont1, Pixio); +.forum .thread .post .topbar { + /*border: var(--post-border, 1px solid #bfb9a9);*/ + border-bottom: none; + background-color: var(--post-bottombar, #d2d2d2); + padding: 4px; + display: flex; + font-family: var(--spfont1, Pixio); + margin: -4px; margin-bottom: 4px; } -.forum .thread .post .bottombar .timestamp { - color: var(--subtitle, #525252); - flex-grow: 1; +.forum .thread .post .topbar .timestamp { + color: var(--subtitle, #525252); + flex-grow: 1; } -.forum .thread .post .bottombar .buttons { - display: flex; +.forum .thread .post .topbar .idtag { + color: var(--subtitle, #525252); } -.forum .thread .post .bottombar .buttons a { - padding: 2px 4px; +.forum .thread .post .post-content { + display: flex; + flex-direction: column; + flex-grow: 1; +} + +.forum .thread .post-anchor { + pointer-events: none; + position: relatve; +} + +.forum .thread .post .post-content .post-body { flex-grow: 1; } + +.forum .thread .post .buttonbar { + background-color: var(--post-bottombar, #d2d2d2); + display: flex; + margin: -4px; margin-top: 8px; + font-family: var(--spfont1, Pixio); +} + +.forum .thread .post .buttonbar a { + padding: 2px 4px; } .forum .thread .options .option .name { - font-family: var(--spfont1, Pixio); + font-family: var(--spfont1, Pixio); } .forum .thread name .thricon { - margin: 0px 4px; + margin: 0px 4px; } .thricon { - height: 16px; + height: 16px; } div.page-buttons { - display: inline-flex; - flex-grow: 0; - flex-shrink: 0; + display: inline-flex; + flex-grow: 0; + flex-shrink: 0; } div.page-buttons .button#first-page, div.page-buttons .button#page-selector, div.page-buttons .button#last-page { - cursor: pointer; + cursor: pointer; } div.page-buttons .button#first-page div, div.page-buttons .button#page-selector div, div.page-buttons .button#last-page div { - display: inline-block; - width: 100%; - margin: 4px 0px; + display: inline-block; + width: 100%; + margin: 4px 0px; } div.page-buttons .button#first-page div a, div.page-buttons .button#page-selector div a, div.page-buttons .button#last-page div a { - color: var(--alert); - display: inline-block !important; - text-align: center; + color: var(--alert); + display: inline-block !important; + text-align: center; } .errors .error { - color: var(--error); - display: block; + color: var(--error); + display: block; } .userlink { font-family: var(--spfont1, Pixio); } .posteditor .editor-buttons .button a > input, .posteditor .editor-buttons .button a > select { - background: none; - border: none; - height: 100%; - width: 100%; - font-family: var(--spfont1, Pixio); + background: none; + border: none; + height: 100%; + width: 100%; + font-family: var(--spfont1, Pixio); } +.posteditor .editbox { + display: flex; +} + +.posteditor .editbox textarea#editor { flex-grow: 1; } + canvas#snow { - position: fixed; - top: 0px; - bottom: 0px; - left: 0px; - right: 0px; - pointer-events: none; - z-index: 100; + position: fixed; + top: 0px; + bottom: 0px; + left: 0px; + right: 0px; + pointer-events: none; + z-index: 100; } div.emotebox { - width: 100%; - margin: auto; + width: 256px; + overflow-y: auto; } div.emotebox .emote-container { - padding: 2px; - cursor: pointer; - border: 1px solid transparent; + padding: 2px; + cursor: pointer; + border: 1px solid transparent; } div.emotebox .emote-container:hover { - border: var(--menu-border, 1px solid #bdbdbd); - background: var(--menu-bg, #d0d0d0); + border: var(--menu-border, 1px solid #bdbdbd); + background: var(--menu-bg, #d0d0d0); } .mailcontainer { } .mailcontainer .subject { - font-family: var(--spfont1, Pixio); - margin: 2px 2px 0px 2px; - background: var(--mail-subject-bg, #b7b7b7); - border: var(--mail-subject-border, 1px solid #8a8a8a); - padding: 2px; + font-family: var(--spfont1, Pixio); + margin: 2px 2px 0px 2px; + background: var(--mail-subject-bg, #b7b7b7); + border: var(--mail-subject-border, 1px solid #8a8a8a); + padding: 2px; } .mailcontainer .subject img, -.mailcontainer .sub img { - vertical-align: middle; +.mailcontainer .trade-icon { + vertical-align: middle; } .mailcontainer .sub { - margin: 0px 8px; - background: var(--mail-sub-bg, #cecece); - border: var(--mail-sub-border, 1px solid #a8a8a8); - border-top: none; - padding: 2px 8px; + margin: 0px 8px; + background: var(--mail-sub-bg, #cecece); + border: var(--mail-sub-border, 1px solid #a8a8a8); + border-top: none; + padding: 2px 8px; } .mailcontainer .content { - background: var(--mail-content-bg, #dbdbdb); - border: var(--mail-content-border, 1px solid #959595); - border-top: none; - margin: 0px 16px; - padding: 8px 4px 4px 4px; + background: var(--mail-content-bg, #dbdbdb); + border: var(--mail-content-border, 1px solid #959595); + border-top: none; + margin: 0px 16px; + padding: 8px 4px 4px 4px; } .mailcontainer .buttonbar { - display: flex; - border-top: var(--mail-content-border, 1px solid #959595); - background: var(--mail-buttonbar, #cacaca); - margin: 4px -4px -4px -4px; + display: flex; + border-top: var(--mail-content-border, 1px solid #959595); + background: var(--mail-buttonbar, #cacaca); + margin: 4px -4px -4px -4px; } .mailcontainer .buttonbar .date { - flex-grow: 1; - font-family: var(--spfont1, Pixio); - padding: 4px; - color: var(--subtitle, #525252); + flex-grow: 1; + font-family: var(--spfont1, Pixio); + padding: 4px; + color: var(--subtitle, #525252); } .rating .star-container .stars { @@ -1739,10 +1943,10 @@ div.emotebox .emote-container:hover { max-width: 100%; } .rating .star-container { - background-image: url('//assets.worlio.com/style/icons/ratings/unstar'); - background-size: 20% 100%; - height: 100%; - cursor: pointer; + background-image: url('//assets.worlio.com/style/icons/ratings/unstar'); + background-size: 20% 100%; + height: 100%; + cursor: pointer; } .rating.large { @@ -1750,7 +1954,7 @@ div.emotebox .emote-container:hover { display: inline-block; } .rating.large .star-container { - width: 240px; + width: 240px; } .rating.medium { @@ -1758,7 +1962,7 @@ div.emotebox .emote-container:hover { display: inline-block; } .rating.medium .star-container { - width: 120px; + width: 120px; } .rating.small { @@ -1766,122 +1970,320 @@ div.emotebox .emote-container:hover { display: inline-block; } .rating.small .star-container { - width: 60px; + width: 60px; } .tabbed-container > .tablist > .tab > .tab-close { - display: inline-block; - width: 16px; height: 16px; - margin-left: 4px; - background-image: url('//assets.worlio.com/style/icons/close'); - background-size: 100%; - cursor: pointer; + display: inline-block; + width: 16px; height: 16px; + margin-left: 4px; + background-image: url('//assets.worlio.com/style/icons/close'); + background-size: 100%; + cursor: pointer; } body.forum .main { display: flex; margin: 4px; gap: 4px; } @media only screen and (orientation: portrait) { - body.forum .main { flex-direction: column; } + body.forum .main { flex-direction: column; } } @media only screen and (orientation: landscape) { - body.forum .sidebar { - width: 512px; - } + body.forum .sidebar { + width: 512px; + } } body.forum .main .forum { - flex-grow: 1; + flex-grow: 1; } body.forum .sidebar { - display: flex; - flex-direction: column; - margin: 4px; - gap: 4px; - margin-top: 8px; + display: flex; + flex-direction: column; + margin: 4px; + gap: 4px; + margin-top: 8px; } body.forum .sidebar .box { - display: flex; - flex-direction: column; + display: flex; + flex-direction: column; } body.forum .sidebar .box .content { - background: var(--menu-bg); - border: var(--menu-border); - padding: 4px; - border-top: 0; + background: var(--menu-bg); + border: var(--menu-border); + padding: 4px; + border-top: 0; } body.forum .sidebar .box .content .subject {font-family: var(--spfont1);} body.forum .sidebar .box name { - background: var(--post-author); - border: var(--post-author-border); - font-family: var(--spfont1); - font-weight: bold; - padding: 4px; + background: var(--post-author); + border: var(--post-author-border); + font-family: var(--spfont1); + font-weight: bold; + padding: 4px; } body.forum .sidebar .box .thread .info {font-family: var(--spfont1);} body.forum .sidebar .box .thread .info .loc {font-size: 12px;} body.forum .sidebar .box .thread .info .timestamp {color: var(--subtitle);} - -.button { - background-position: 0 0; -} - .button:hover, .button.selected { - background-position: 0 100%; + background: var(--hover-button-background); + border: var(--hover-button-border); } .button:active { - background-position: 0 200%; + background: var(--active-button-background); + border: var(--active-button-border); } .button.disabled, .longbutton.disabled, .smallbutton.disabled { - background: #808080; -} - -.popbutton { - background-position: 0 0; -} - -.longbutton { - background-position: 0 0; + background: #808080; } +.popbutton, +.longbutton, .smallbutton { - background-position: 0 0; -} - -.longbutton:hover, .smallbutton:hover { - background-position: 0 100%; -} - -.longbutton:active, .smallbutton:active { - background-position: 0 200%; + background: var(--default-button-background); + border: var(--default-button-border); } +.longbutton:hover, +.smallbutton:hover, .dark-switch:hover { - background-position: 0 100%; + background: var(--hover-button-background); + border: var(--hover-button-border); } +.longbutton:active, +.smallbutton:active, .dark-switch:actice { - background-position: 0 200%; + background: var(--active-button-background); + border: var(--active-button-border); +} + +/* DASHBOARD / HOME */ +@media (orientation: portrait) { + body.dashboard .dash-container { + flex-direction: column-reverse; + } } @media (orientation: landscape) { - .popbutton:hover { - background: var(--button-wide) 0 100%; - } - - .popbutton:active, .popbutton.disabled { - background: var(--button-wide) 0 200%; - } + body.dashboard .dash-container { + flex-direction: row; + } + + body.dashboard .sidebar { + width: 400px; + flex-shrink: 0; + } +} + +body.dashboard .dash-container { + display: flex; + gap: 8px; + max-width: 1000px; + margin: auto; +} + +body.dashboard .dash-container .mainbox { + background: var(--menu-bg); + border: var(--menu-border); + padding: 2px; +} + +body.dashboard .profile-tag { + font-family: var(--spfont1); + display: flex; +} + +body.dashboard .profile-tag img { + padding: 4px; +} + +body.dashboard .sidebar { + display: flex; + flex-direction: column; + gap: 8px; +} + +body.dashboard .primary { + flex-grow: 1; +} + +body.dashboard .dash-title { + border: var(--menu-border); + border-bottom: none; + background: var(--menu-bg); + display: inline-block; + padding: 8px; + font-weight: bold; + font-family: var(--spfont1); + margin-bottom: -1px; +} + +body.dashboard .dash-title.currency-mark { position: relative; float: right; top: 24px; } + +body.dashboard .dash-title.rlink { float: right; } + +body.dashboard .profile-text { + display: flex; + flex-direction: column; + gap: 2px; +} + +body.dashboard .profile-role { + font-size: 0.8em; +} + +body.dashboard .dash-container .sidebar .userlink.online a { + color: green; +} + +body.dashboard .dash-container .sidebar .userlink.invisible { + opacity: 0.3; +} + +body.dashboard .stats { + font-family: var(--spfont1); + font-size: 20px; +} + +body.dashboard .stats .currency { color: var(--currency); } +body.dashboard .stats .unread { color: var(--alert); } + +.userlink img.plan-icon { + position: relative; + margin: 0px 0px 0px -4px; + top: -2px; +} + +.dash-container .primary .mainbox .alert { + padding: 4px; + margin: 4px; + background: var(--quote-bg); + border: var(--quote-border); +} + +.dash-container .primary .mainbox .alert.unread .content { + font-weight: bold; +} + +.dash-container .primary .mainbox .alert .info { + text-align: right; + color: var(--subtitle); + font-family: var(--spfont1); +} + +.dash-container .blogpost { + padding: 4px; +} + +.dash-container .blogpost .info { + color: var(--subtitle); + font-family: var(--spfont1); +} + +.dash-container .sidebar .container div.filespace meter { flex-grow: 1; margin: 0px 4px;} +.dash-container .sidebar .container div.filespace b { margin-right: 4px;} +.dash-container .sidebar .container div.filespace { display: flex; } +.dash-container .sidebar .container div.filespace a { font-family: var(--spfont1); margin: 0px 2px; } + +/* USER PROFILE PAGE */ +body.user-profile .user-infobox { + width: 180px; + background: var(--menu-bg); + margin: 2px; + border: var(--menu-border); +} + +body.user-profile iframe.box { + padding: 0px; + margin: -34px -8px auto -8px; + height: calc(100% - 36px); + flex-grow: 1; +} + +body.user-profile .tabbed-container .tablist { + margin: -7px -4px auto -8px; + white-space: nowrap; } @media (orientation: portrait) { - .popbutton:hover { - background-position: 0 100%; - } - - .popbutton:active, .popbutton.disabled { - background-position: 0 200%; - } -} \ No newline at end of file + body.user-profile iframe.box { margin-top: -46px; } + body.user-profile .tabbed-container .tablist { margin: -12px -4px auto -8px; } +} + +body.user-profile .tabbed-container .tablist .tab {padding:4px;bottom: 0px;} +body.user-profile .tabbed-container .tablist .tab.selected {bottom: -1px;} + +body.user-profile .tabbed-container .tablist .tab.selected[name="profile"] { + --tab-selected-mid: #d3d3d3AA; + background: linear-gradient(0deg, #0000 0%, var(--tab-selected-mid) 10%,var(--tab-selected) 50%, var(--tab-gradient, #dedede) 100%); +} + +body.user-profile .tabbed-container { + height: calc(100% - 26px); +} + +body.user-profile .tabbed-container .tablist {white-space: nowrap;} + +body.user-profile .tabbed-container .box[name='stats'] .stat.role-stat, +body.user-profile .tabbed-container .box[name='stats'] .stat.plan-stat { font-family: var(--spfont1); } +body.user-profile .tabbed-container .stat b { + font-family: var(--spfont1); + font-size: 12px; +} + +/* TAB */ +.tabbed-container .tablist .tab.special { + --menu-border: 1px outset #ffe301; +} + +a.thumbnail-box { + display: inline-block; + background-color: #0005; + background-size: cover; + background-repeat: no-repeat; + width: 150px; + height: 150px; + color: var(--main-text); + font-family: var(--spfont1); + text-decoration: none; + margin: 2px; +} + +a.thumbnail-box::after { + display: block; + content: "View Image"; + height: 20px; + margin: 130px 0px 0px 0px; + text-align: center; + border: var(--menu-border); + background-color: var(--menu-bg); +} + +button.user-input { + background: var(--menu-bg); + border: var(--menu-border); + width: 180px; + height: 24px; + text-align: left; + font-family: var(--spfont1); + font-size: 14px; + vertical-align: middle; + cursor: pointer; +} + +div.user-input-box { + background: var(--menu-bg); + border: var(--menu-border); + display: flex; + flex-direction: column; + position: absolute; + max-height: 300px; + overflow-y: auto; +} + +div.user-input-box .userlink > * { + pointer-events: none; +}