This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/resources/assets/less/yuuno/legacy.less
2016-11-09 19:32:23 +01:00

928 lines
18 KiB
Text

/*
* Friends section
*/
.profile-friends {
text-align: center;
}
.profile-friends > div:not(:last-child) {
display: inline-block;
border: 1px solid #9475B2;
text-align: center;
width: 200px;
margin: 4px 0;
border-radius: 3px;
box-shadow: inset 0 0 1px #9475B2;
background: #E4CFFF;
transition: background .2s, box-shadow .2s;
}
.profile-friends > div:not(:last-child):hover {
background: #C2AFFE;
box-shadow: inset 0 0 2px #9475B2;
}
.profile-friends > div > .friends-list-data {
display: block;
}
.profile-friends > div > .friends-list-data > .friends-list-name {
font-size: 1.2em;
line-height: 1.5em;
padding-bottom: 4px;
}
/*
* Panel table
*/
.panelTable {
width: 100%;
font-size: .8em;
line-height: 1.5em;
border-spacing: 1px;
}
.panelTable th {
background: #9475B2;
color: #306;
}
.panelTable td:first-child {
padding: 0 2px;
text-align: center;
}
.panelTable .warning td {
background: #A22;
color: #FFF;
}
.panelTable .silence td {
background: #A22;
color: #FFF;
}
.panelTable .restriction td {
background: #822;
color: #FFF;
}
.panelTable .ban td {
background: #444;
color: #FFF;
}
.panelTable .abyss td {
background: #888;
}
/*
* Settings page styling
*/
.settings ul > li {
margin-left: 2em;
list-style: square;
}
.settings .content-left {
width: 850px;
}
.settings .content-right {
width: 174px;
text-align: right;
}
.settings .right-menu-nav > div {
background: #C2AFFE;
padding: 4px;
margin: -1px -2px;
font-weight: 700;
display: block;
font-size: 17px;
}
.settings .right-menu-nav > a {
display: block;
font-size: 14px;
line-height: 25px;
color: #22E;
text-decoration: none;
padding: 0 10px;
}
.settings .right-menu-nav > a:hover {
color: #22E;
text-decoration: underline;
}
.settings .right-menu-nav > a:active {
color: #E22;
text-decoration: underline;
}
.settings .settings-explanation {
font-size: 11px;
line-height: 18px;
padding: 7px;
border-bottom: 1px solid #C2AFFE;
margin-bottom: 7px;
}
.settings .settings-table {
width: 100%;
border-spacing: 0;
}
.settings .settings-table tr > th {
font-size: 17px;
background: #C2AFFE;
padding: 4px;
margin: -1px -2px;
font-weight: 700;
}
.settings .settings-table tr > td {
text-align: center;
}
.settings .settings-table > tbody > tr:not(:last-child) > td {
border-bottom: 1px solid #C2AFFE;
}
.settings .settings-table tr.current-session > td {
background: #B39EED;
}
.settings .profile-field {
width: 100%;
}
.settings .profile-save {
text-align: center;
padding: 10px;
}
.settings .background-frame {
max-width: 600px;
max-height: 400px;
border: 3px solid #EEE;
background: #EEE;
box-shadow: 0 3px 7px #888;
border-radius: 3px;
margin: 5px;
}
.settings form {
overflow: auto;
}
.settings .notification-history > a {
border: 1px solid #507;
margin: 5px;
background: rgba(113, 74, 150, .3);
display: block;
}
.settings .notification-history > a > .notif-hist-icon {
float: left;
width: 80px;
height: 80px;
line-height: 80px;
text-align: center;
background: rgba(0, 0, 0, .5);
display: block;
color: #FFF;
}
.settings .notification-history > a > .notif-hist-icon > .font-icon {
margin: .34em 0;
}
.settings .notification-history > a > .notif-hist-content > .notif-hist-time {
font-style: italic;
text-align: right;
float: right;
margin-right: 6px;
font-size: .8em;
}
.settings .notification-history > a > .notif-hist-content > .notif-hist-inside {
float: left;
margin-left: 2px;
padding-left: 8px;
}
.settings .notification-history > a > .notif-hist-content > .notif-hist-inside > .notif-hist-title {
font-family: "Open Sans", sans-serif;
font-weight: 300;
font-size: 1.7em;
margin-top: 1em;
}
.settings .friends-list {
text-align: center;
}
.settings .friends-list button {
background: transparent;
border: 0;
cursor: pointer;
display: block;
box-sizing: border-box;
width: 100%;
}
.settings .friends-list > div:not(:last-child),
.settings .friends-list > form {
display: inline-block;
border: 1px solid #9475B2;
text-align: center;
width: 220px;
margin: 0 2px 40px;
border-radius: 3px;
box-shadow: inset 0 0 1px #9475B2;
background: #E4CFFF;
transition: background .2s, box-shadow .2s;
}
.settings .friends-list > div:not(:last-child):hover,
.settings .friends-list > form:hover {
margin-bottom: 6px;
background: #C2AFFE;
box-shadow: inset 0 0 2px #9475B2;
}
.settings .friends-list > form:hover {
margin-bottom: 4px;
}
.settings .friends-list > .active {
background: #C2AFFE;
box-shadow: inset 0 0 2px #9475B2;
}
.settings .friends-list > div > .friends-list-data,
.settings .friends-list > form > .friends-list-data {
display: block;
}
.settings .friends-list > div > .friends-list-data > .friends-list-name,
.settings .friends-list > form > .friends-list-data > .friends-list-name {
font-size: 1.2em;
line-height: 1.5em;
padding-bottom: 4px;
}
.settings .friends-list > div > .friends-list-actions,
.settings .friends-list > form > .friends-list-actions {
display: none;
background: linear-gradient(0deg, #9475B2, transparent) transparent;
}
.settings .friends-list > div > .friends-list-actions > a,
.settings .friends-list > form > .friends-list-actions > button {
color: #222;
font-size: 2em;
line-height: 1em;
text-decoration: none;
transition: .2s;
padding: 5px 0;
float: left;
}
.settings .friends-list > div:hover > .friends-list-actions,
.settings .friends-list > form:hover > .friends-list-actions {
display: block;
}
.settings .friends-list > div > .friends-list-actions > .remove:hover,
.settings .friends-list > form > .friends-list-actions > .remove:hover {
color: #D00;
}
.settings .friends-list > div > .friends-list-actions > .remove:active,
.settings .friends-list > form > .friends-list-actions > .remove:active {
color: #A00;
}
.settings .friends-list > div > .friends-list-actions > .add:hover,
.settings .friends-list > form > .friends-list-actions > .add:hover {
color: #0D0;
}
.settings .friends-list > div > .friends-list-actions > .add:active,
.settings .friends-list > form > .friends-list-actions > .add:active {
color: #0A0;
}
.settings .friends-list > div > .friends-list-actions > a,
.settings .friends-list > form > .friends-list-actions > button {
width: 50%;
}
.settings .friends-list > div > .friends-list-actions > .fill,
.settings .friends-list > form > .friends-list-actions > .fill {
width: 100%;
}
@media (max-width: 1064px) {
.settings .friends-list > div:not(:last-child) {
margin-bottom: 6px;
}
.settings .friends-list > form {
margin-bottom: 4px;
}
.settings .friends-list > div > .friends-list-actions,
.settings .friends-list > form > .friends-list-actions {
display: block;
}
}
/*
* Support page Styling
*/
.support .sectionHeader {
margin: -1px -2px;
background: linear-gradient(270deg, rgba(148, 117, 178, .7), rgba(148, 117, 178, 0), rgba(148, 117, 178, .7)) #C2AFFE;
padding: 2px;
font-weight: 700;
font-size: 15px;
color: #306;
}
.support .featureParent {
width: 100%;
padding: 10px 0;
overflow: hidden;
text-align: center;
}
.support .featureBox {
background: linear-gradient(180deg, #C2AFFE, #B19EED) no-repeat scroll left top / cover #C2AFFE;
margin: 7px;
border-radius: 5px;
text-align: center;
box-shadow: 0 0 .5em #000;
text-shadow: 0 0 .5em #9475B2;
display: inline-block;
vertical-align: top;
transition: .2s;
width: 400px;
height: 50px;
cursor: default;
color: #503170;
}
@media (min-width: 1064px) {
.support .featureBox.final {
width: 818px;
}
.support .featureBox.final .featureBoxDesc {
font-size: 1.3em;
}
}
@media (max-width: 840px) {
.support .featureBox,
.support .featureBox.final {
width: 380px;
}
.support .featureBox.final .featureBoxDesc {
line-height: 25px;
}
.support .featureBox .right {
display: none;
}
}
.support .featureBoxIcon.right {
float: right;
}
.support .featureBox:hover {
box-shadow: 0 0 1.5em #609;
text-shadow: 0 0 .7em #9475B2;
}
.support .featureBoxIcon {
float: left;
line-height: 50px;
width: 60px;
text-align: center;
font-size: 2.8em;
}
.support .featureBoxDesc {
display: block;
line-height: 50px;
}
.support .paymentOptions {
float: right;
font-size: 2em;
margin-left: 6px;
}
.support .paymentOptions div {
float: left;
margin: 0 1px;
}
.support table {
width: 100%;
border-spacing: 0;
margin: 3px auto;
}
.support table td,
.support table th {
padding: 4px 8px;
}
.support table td {
padding: 4px 8px;
background: #C2AFFE;
}
.support table th:nth-child(1) {
width: 25%;
}
.support table th:nth-child(2) {
width: 10%;
}
.support table td:nth-child(2) {
text-align: center;
}
.support table th:nth-child(3) {
width: 65%;
}
.support thead th {
background: linear-gradient(0deg, #C2AFFE, transparent);
}
.support tfoot th {
background: linear-gradient(180deg, #C2AFFE, transparent);
}
/*
* Forum Styling
*/
.forum .forumList {
display: flex;
flex-flow: column;
}
.forum .forumList .forumCategory {
background: #C2AFFE;
font-weight: 700;
font-size: 17px;
padding: 4px;
color: inherit;
text-decoration: none;
}
.forum .forumList .forumForum {
display: inline-flex;
min-height: 50px;
}
.forum .forumList .forumForum > div {
display: inline-flex;
flex-flow: column;
justify-content: center;
}
.forum .forumList .forumForum .forumIcon {
text-align: center;
width: 50px;
line-height: 50px;
flex-shrink: 0;
color: #444;
text-shadow: 0 0 5px #444;
}
.forum .forumList .forumForum .forumIcon.unread {
color: #6C5D7B;
text-shadow: 0 0 5px #9475B2;
}
.forum .forumList .forumForum .forumTitle {
flex-grow: 1;
flex-shrink: 1;
}
.forum .forumList .forumForum .forumTitle .name {
font-size: 1.2em;
line-height: 1.7em;
}
.forum .forumList .forumForum .forumTitle .desc {
font-size: .8em;
line-height: 1em;
}
.forum .forumList .forumForum .forumTitle .desc .subforums {
font-weight: bold;
padding-top: 5px;
}
.forum .forumList .forumForum .forumCount {
width: 70px;
text-align: center;
flex-shrink: 0;
}
.forum .forumList .forumForum .forumCount .topics {
font-size: 1.5em;
color: #111;
}
.forum .forumList .forumForum .forumCount .posts {
font-size: .8em;
line-height: 1.2em;
color: #555;
}
.forum .forumList .forumForum .forumLastPost {
width: 250px;
font-size: .9em;
line-height: 1.4em;
flex-shrink: 0;
}
@media (max-width: 768px) {
.forum .forumList .forumForum .forumLastPost {
display: none;
}
}
.forum .topicList {
width: 100%;
border-spacing: 0;
margin-top: 2px;
}
.forum .topicList thead,
.forum .topicList tfoot {
background: #C2AFFE;
font-weight: 700;
}
.forum .topicList tbody td {
height: 40px;
word-wrap: break-word;
}
.forum .topicList tbody .topicAnnouncement {
background: #C2AFFE;
}
.forum .topicList tbody .topicIcon {
width: 40px;
text-align: center;
color: #444;
text-shadow: 0 0 5px #444;
}
.forum .topicList tbody .topicIcon.unread {
color: #6C5D7B;
text-shadow: 0 0 5px #9475B2;
}
.forum .topicList tbody .topicAuthor {
width: 150px;
text-align: center;
}
.forum .topicList tbody .topicCounts {
text-align: center;
}
.forum .topicList tbody .topicCounts .replies {
font-size: 1.3em;
color: #111;
line-height: 1.3em;
}
.forum .topicList tbody .topicCounts .views {
font-size: .8em;
color: #555;
line-height: 1em;
}
.forum .topicList tbody .topicLast {
width: 250px;
text-align: center;
}
.forum.viewtopic .posts {
width: 100%;
border-spacing: 0;
table-layout: fixed;
word-break: break-word;
}
.forum.viewtopic .posts td {
vertical-align: top;
word-wrap: break-word;
}
.forum.viewtopic .posts tr:not(:last-child) td {
border-bottom: 1px solid #9475B2;
}
.forum.viewtopic .posts .userpanel {
width: 200px;
text-align: center;
background: linear-gradient(270deg, transparent, #C2AFFE);
padding-bottom: 6px;
}
.forum.viewtopic .posts .userpanel .username {
font: 1.5em/1.7em "Open Sans", sans-serif;
text-shadow: 0 0 7px #888; padding: 0 0 2px;
display: inline-block;
}
.forum.viewtopic .posts .userpanel .avatar {
max-width: 150px;
max-height: 150px;
border: 3px solid #EEE;
background: #EEE;
box-shadow: 0 3px 7px #888;
border-radius: 3px;
display: block;
margin: 0 auto 10px;
}
.forum.viewtopic .posts .userpanel .usertitle {
font-size: .8em;
line-height: 1.5em;
}
.forum.viewtopic .posts .userpanel .actions {
font-size: 2em;
line-height: 1.4em;
}
.forum.viewtopic .posts .userpanel .actions a {
color: #8364A1;
text-decoration: none;
text-shadow: 0 0 2px #9475B2;
transition: all .2s;
}
.forum.viewtopic .posts .userpanel .actions a:hover {
text-shadow: 0 0 6px #9475B2;
}
.forum.viewtopic .posts .userpanel .actions a:active {
color: #725390;
text-shadow: 0 0 8px #8364A1;
}
.forum.viewtopic .posts .post-content {
font-size: .9em;
}
.forum.viewtopic .posts .post-content .details {
border-bottom: 1px solid #B19EED;
color: #222;
}
.forum.viewtopic .posts .post-content .details .subject {
float: left;
}
.forum.viewtopic .posts .post-content .details .date {
float: right;
}
.forum.viewtopic .posts .post-content .signature {
border-top: 1px solid #B19EED;
padding-top: 2px;
margin-top: 20px;
display: block;
width: 100%;
max-height: 200px;
overflow: auto;
}
.forum.viewtopic .posts .post-content .signature img {
vertical-align: middle;
}
.posting-subject {
padding: 3px 0 2px;
}
.posting-bbcodes {
padding: 4px 0 2px;
}
.posting-bbcode-description {
font: .9em/1.2em "Open Sans", sans-serif;
padding: 2px 0 3px;
}
.posting-text {
padding: 2px 0 0;
margin: 0 0 -1px;
}
.posting-emotes {
text-align: center;
padding: 10px 0;
}
.posting-emotes img {
vertical-align: middle;
cursor: pointer;
margin: 0 3px;
}
.posting-text textarea {
min-height: 200px;
}
.posting-options > div {
float: left;
padding: 10px 10px 0;
}
.posting-buttons {
text-align: center;
}
.forum .buttonRow .leftSide {
float: left;
}
.forum .buttonRow .rightSide {
float: right;
}
/*
* Comments
*/
#comments .comment-input-section {
border-bottom: 1px solid #9475B2;
}
#comments .comment {
display: flex;
align-items: stretch;
margin-bottom: 3px;
}
#comments .comments-discussion .comment {
margin-top: 3px;
}
#comments .comment > .comment-avatar {
height: 60px;
width: 60px;
background: rgba(0, 0, 0, .2) url("/images/pixel.png") no-repeat scroll left center / contain;
flex-shrink: 0;
margin-right: 2px;
border-radius: 4px;
border: 0;
display: block;
text-align: center;
word-wrap: break-word;
transition: .2s;
}
#comments .comment > .comment-avatar:hover {
background-color: transparent;
}
#comments .comment > .comment-avatar > span {
opacity: 0;
transition: .2s;
}
#comments .comment > .comment-avatar:hover > span {
opacity: 1;
}
#comments .comment > .comment-pointer {
width: 0;
height: 0;
border-style: solid;
border-width: 0 15px 15px 0;
border-color: transparent #F6F6F6 transparent transparent;
margin-top: 10px;
}
#comments .comment > .comment-content {
border-radius: 5px;
border: 0;
min-height: 50px;
min-width: 300px;
flex-grow: 2;
padding: 5px;
font: 12px/20px "Open Sans", sans-serif;
background: #F6F6F6;
}
#comments .comment > textarea.comment-content {
height: 50px;
}
#comments .comment > .comment-content > .comment-controls {
float: right;
}
#comments .comment > .comment-content > .comment-controls > ul > li {
float: left;
margin: 0 5px;
opacity: 0;
transition: .5s;
}
#comments .comment > .comment-content:hover > .comment-controls > ul > li,
#comments .comment > .comment-content > .comment-controls > ul > li.shown {
opacity: 1;
}
#comments .comment > .comment-content > .comment-controls > ul > li.voting {
font-size: 1.5em;
}
#comments .comment > .comment-content > .comment-controls > ul > li.like {
color: #0A0;
}
#comments .comment > .comment-content > .comment-controls > ul > li.dislike {
color: #C00;
}
#comments .comment > .comment-submit {
flex-shrink: 0;
font-family: FontAwesome;
width: 50px;
border-radius: 4px;
margin-left: 2px;
font-size: 2em;
background: linear-gradient(0deg, #9475B2 10%, #C2AFFE 90%);
color: #306;
border: 1px solid #9475B2;
cursor: pointer;
}
#comments .comment > .comment-submit.new {
width: 60px;
}
#comments .comment > .comment-submit:hover {
background: linear-gradient(0deg, #9475B2 30%, #C2AFFE 70%);
}
#comments .comment > .comment-submit:active {
background: linear-gradient(180deg, #9475B2 30%, #C2AFFE 70%);
}
#comments .comments-discussion {
overflow: auto;
}
#comments ul {
list-style: none;
}
#comments .comments-list > li > ul,
#comments .comments-list > li > ul > li > ul,
#comments .comments-list > li > ul > li > ul > li > ul,
#comments .comments-list > li > ul > li > ul > li > ul > li > ul {
margin-left: 40px;
}
#comments ul > li > ul .comment > .comment-avatar {
height: 50px;
width: 50px;
font-size: .9em;
line-height: 1.1em;
}
#comments ul > li > ul .comment > .comment-content {
min-height: 40px;
}
#comments ul > li > ul .comment > textarea.comment-content {
height: 40px;
}