Light theme changes for 2.1
This commit is contained in:
parent
088584c15b
commit
68aba6eec5
1 changed files with 241 additions and 46 deletions
|
@ -1,8 +1,9 @@
|
||||||
$ui-base-color: #fafafa; // "darkest"
|
$ui-base-color: #f4ebee; // "darkest"
|
||||||
$ui-base-lighter-color: darken($ui-base-color, 40%); // Lighter darkest
|
$ui-base-alt: #f7e8ed;
|
||||||
$ui-secondary-color: darken($ui-base-color, 15%); // "lightest"
|
$ui-base-lighter-color: darken($ui-base-color, 25%); // Lighter darkest
|
||||||
$ui-primary-color: #a45064; // "lighter"
|
$ui-secondary-color: #ead0d6; // "lightest"
|
||||||
$ui-highlight-color: #a45064; // "vibrant"
|
$ui-primary-color: #bf5677; // "lighter"
|
||||||
|
$ui-highlight-color: #bf5677; // "vibrant"
|
||||||
$primary-text-color: #333;
|
$primary-text-color: #333;
|
||||||
|
|
||||||
$about-page-text: $primary-text-color;
|
$about-page-text: $primary-text-color;
|
||||||
|
@ -17,7 +18,7 @@ $about-page-text: $primary-text-color;
|
||||||
background-position: 50% 75%;
|
background-position: 50% 75%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.columns-area {
|
.ui, body {
|
||||||
background: $ui-base-color url('../images/background-cybre-light.png');
|
background: $ui-base-color url('../images/background-cybre-light.png');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,32 +131,44 @@ $about-page-text: $primary-text-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.column-header {
|
.column-header {
|
||||||
background: $ui-primary-color;
|
background: $ui-base-color;
|
||||||
color: $white;
|
color: $primary-text-color;
|
||||||
|
border-top-left-radius: 3px;
|
||||||
|
border-top-right-radius: 3px;
|
||||||
|
box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.column-header__button {
|
.column-header__button {
|
||||||
background: $ui-primary-color;
|
background: $ui-base-color;
|
||||||
color: $white;
|
color: $primary-text-color;
|
||||||
|
border-top-right-radius: 3px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: lighten($ui-primary-color, 50%);
|
color: darken($ui-primary-color, 50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
color: $primary-text-color;
|
color: $primary-text-color;
|
||||||
background: lighten($ui-primary-color, 8%);
|
background: darken($ui-base-color, 5%);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background: darken($ui-base-color, 5%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.column-header__back-button {
|
.column-header__back-button {
|
||||||
background: $ui-primary-color;
|
background: $ui-base-color;
|
||||||
color:white;
|
color:$ui-highlight-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.column-back-button {
|
.column-back-button {
|
||||||
background: $ui-primary-color;
|
background: $ui-base-color;
|
||||||
color:white;
|
color:$ui-highlight-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
.column-header__collapsible-inner {
|
||||||
|
background: darken($ui-base-alt, 2%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.empty-column-indicator,
|
.empty-column-indicator,
|
||||||
|
@ -163,10 +176,38 @@ $about-page-text: $primary-text-color;
|
||||||
color: darken($ui-base-lighter-color, 15%);
|
color: darken($ui-base-lighter-color, 15%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.compose-form {
|
||||||
.autosuggest-textarea__textarea,
|
.autosuggest-textarea__textarea,
|
||||||
.spoiler-input__input {
|
.spoiler-input__input {
|
||||||
color: $primary-text-color;
|
color: $primary-text-color;
|
||||||
border: 1px solid $ui-secondary-color;
|
border: 1px solid $ui-primary-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
.autosuggest-textarea__textarea {
|
||||||
|
border-bottom-width:0px;
|
||||||
|
}
|
||||||
|
.compose-form__modifiers {
|
||||||
|
border: 1px solid $ui-primary-color;
|
||||||
|
border-top-width:0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.compose-form__buttons button.active:last-child {
|
||||||
|
border-radius:3px;
|
||||||
|
background: $ui-base-color;
|
||||||
|
color: $ui-primary-color;
|
||||||
|
}
|
||||||
|
.compose-form__buttons-wrapper {
|
||||||
|
background-color:$ui-primary-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-button.inverted {
|
||||||
|
color:white;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color:$ui-secondary-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button.icon-button {
|
button.icon-button {
|
||||||
|
@ -189,15 +230,17 @@ button.icon-button {
|
||||||
}
|
}
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
color: lighten($ui-base-lighter-color, 10%);
|
color: lighten($ui-base-lighter-color, 20%);
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:active,
|
&:active,
|
||||||
&:focus {
|
&:focus {
|
||||||
color: lighten($ui-base-lighter-color, 10%);
|
color: lighten($ui-base-lighter-color, 20%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
color: $ui-base-lighter-color;
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:active,
|
&:active,
|
||||||
&:focus {
|
&:focus {
|
||||||
|
@ -219,9 +262,19 @@ button.icon-button {
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-icon-button {
|
.text-icon-button {
|
||||||
color: darken($ui-base-lighter-color, 10%);
|
|
||||||
&.active {
|
|
||||||
color: $white;
|
color: $white;
|
||||||
|
&.active {
|
||||||
|
background: $ui-base-color;
|
||||||
|
color: $ui-primary-color;
|
||||||
|
}
|
||||||
|
&:focus, &:hover {
|
||||||
|
color: darken($ui-base-color, 3%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.status.status-direct {
|
||||||
|
background: darken($ui-base-alt, 5%);
|
||||||
|
.icon-button.disabled {
|
||||||
|
color: lighten($ui-base-lighter-color, 10%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -235,12 +288,8 @@ button.icon-button {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.compose-form__buttons {
|
.privacy-dropdown.active .privacy-dropdown__value.active .icon-button {
|
||||||
button.text-icon-button {
|
color: $ui-primary-color;
|
||||||
&.active:last-child {
|
|
||||||
color:$white;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.privacy-dropdown__option {
|
.privacy-dropdown__option {
|
||||||
|
@ -264,7 +313,7 @@ button.icon-button {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.emoji-dialog {
|
.emoji-picker-dropdown__menu {
|
||||||
.emoji-search-wrapper {
|
.emoji-search-wrapper {
|
||||||
border-color: darken($ui-base-color, 10%);
|
border-color: darken($ui-base-color, 10%);
|
||||||
}
|
}
|
||||||
|
@ -272,6 +321,9 @@ button.icon-button {
|
||||||
background: darken($ui-base-color, 5%);
|
background: darken($ui-base-color, 5%);
|
||||||
border-color: darken($ui-base-color, 10%);
|
border-color: darken($ui-base-color, 10%);
|
||||||
}
|
}
|
||||||
|
.emoji-mart {
|
||||||
|
color: $ui-primary-color;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-popout {
|
.search-popout {
|
||||||
|
@ -286,10 +338,26 @@ button.icon-button {
|
||||||
color: $ui-highlight-color;
|
color: $ui-highlight-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.search__icon .fa.active {
|
||||||
|
opacity:1.0;
|
||||||
|
}
|
||||||
|
.search-results__hashtag {
|
||||||
|
color: darken($ui-primary-color, 10%);
|
||||||
|
&:hover {
|
||||||
|
color: lighten($ui-primary-color, 5%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.static-content {
|
.static-content {
|
||||||
/*color: $primary-text-color;*/
|
/*color: $primary-text-color;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#Getting-started {
|
||||||
|
background: $ui-primary-color;
|
||||||
|
border-bottom:0px;
|
||||||
|
color:white;
|
||||||
|
}
|
||||||
|
|
||||||
.getting-started {
|
.getting-started {
|
||||||
p {
|
p {
|
||||||
color: $primary-text-color;
|
color: $primary-text-color;
|
||||||
|
@ -299,6 +367,21 @@ button.icon-button {
|
||||||
color: darken($ui-base-lighter-color, 10%);
|
color: darken($ui-base-lighter-color, 10%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.getting-started__wrapper {
|
||||||
|
flex: 0 0.5 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.column-link {
|
||||||
|
background: lighten($ui-primary-color, 5%);
|
||||||
|
color:$white;
|
||||||
|
&:hover {
|
||||||
|
background: lighten($ui-primary-color, 10%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.column-subheading {
|
||||||
|
background: darken($ui-primary-color, 5%);
|
||||||
|
color:$white;
|
||||||
|
}
|
||||||
|
|
||||||
.media-spoiler {
|
.media-spoiler {
|
||||||
color: $white;
|
color: $white;
|
||||||
|
@ -308,6 +391,10 @@ button.icon-button {
|
||||||
border-bottom: 1px solid $ui-secondary-color;
|
border-bottom: 1px solid $ui-secondary-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.status__relative-time, .status__display-name {
|
||||||
|
color: darken($ui-base-color, 40%);
|
||||||
|
}
|
||||||
|
|
||||||
.status__content {
|
.status__content {
|
||||||
.status__content__spoiler-link {
|
.status__content__spoiler-link {
|
||||||
background: $ui-base-lighter-color;
|
background: $ui-base-lighter-color;
|
||||||
|
@ -348,6 +435,51 @@ button.icon-button {
|
||||||
.actions-modal {
|
.actions-modal {
|
||||||
color: $primary-text-color;
|
color: $primary-text-color;
|
||||||
}
|
}
|
||||||
|
.boost-modal__action-bar,
|
||||||
|
.confirmation-modal__action-bar,
|
||||||
|
.mute-modal__action-bar,
|
||||||
|
.report-modal__action-bar {
|
||||||
|
& > div {
|
||||||
|
color: $ui-primary-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.actions-modal
|
||||||
|
{
|
||||||
|
ul {
|
||||||
|
li:not(:empty) {
|
||||||
|
a {
|
||||||
|
color: $primary-text-color;
|
||||||
|
button {
|
||||||
|
|
||||||
|
}
|
||||||
|
&.active, &:hover, &:active, &:focus {
|
||||||
|
color: $white;
|
||||||
|
button {
|
||||||
|
color: $white;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.report-modal__comment .setting-text {
|
||||||
|
color: $primary-text-color;
|
||||||
|
border-bottom-color: lighten($ui-primary-color, 10%);
|
||||||
|
&:focus, &:active {
|
||||||
|
color: $primary-text-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.status.light {
|
||||||
|
.status__content {
|
||||||
|
color: $primary-text-color;
|
||||||
|
}
|
||||||
|
.display-name strong {
|
||||||
|
color: $primary-text-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.reply-indicator__content {
|
.reply-indicator__content {
|
||||||
color: lighten($ui-highlight-color, 30%);
|
color: lighten($ui-highlight-color, 30%);
|
||||||
|
@ -370,6 +502,25 @@ button.icon-button {
|
||||||
color: $ui-base-lighter-color;
|
color: $ui-base-lighter-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.drawer .drawer__inner {
|
||||||
|
overflow: visible;
|
||||||
|
height:inherit;
|
||||||
|
background-color:$ui-base-alt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.drawer__pager {
|
||||||
|
overflow-y:auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.drawer .drawer__header {
|
||||||
|
background: $ui-base-color;
|
||||||
|
border-radius:3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.onboarding-modal__page h1 {
|
||||||
|
background-color: darken($ui-primary-color, 5%);
|
||||||
|
}
|
||||||
|
|
||||||
/* forms.scss */
|
/* forms.scss */
|
||||||
.block-button, .button, button {
|
.block-button, .button, button {
|
||||||
background-color: $ui-primary-color;
|
background-color: $ui-primary-color;
|
||||||
|
@ -407,6 +558,10 @@ button.icon-button {
|
||||||
border-bottom-color: $ui-secondary-color;
|
border-bottom-color: $ui-secondary-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.simple_form h4 {
|
||||||
|
border-bottom: 1px solid $ui-highlight-color;
|
||||||
|
}
|
||||||
|
|
||||||
.admin-wrapper {
|
.admin-wrapper {
|
||||||
.content {
|
.content {
|
||||||
h2, p.hint, h4, h6 {
|
h2, p.hint, h4, h6 {
|
||||||
|
@ -419,6 +574,11 @@ button.icon-button {
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
|
.logo {
|
||||||
|
-webkit-filter: invert(100%);
|
||||||
|
filter: invert(100%);
|
||||||
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
ul {
|
ul {
|
||||||
a {
|
a {
|
||||||
|
@ -436,6 +596,10 @@ button.icon-button {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pagination .current {
|
||||||
|
color: $ui-primary-color;
|
||||||
|
}
|
||||||
|
|
||||||
/* accounts.scss */
|
/* accounts.scss */
|
||||||
.card {
|
.card {
|
||||||
.name {
|
.name {
|
||||||
|
@ -463,6 +627,45 @@ button.icon-button {
|
||||||
color: $primary-text-color;
|
color: $primary-text-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.detailed-status.light {
|
||||||
|
.detailed-status__display-name {
|
||||||
|
.display-name {
|
||||||
|
strong {
|
||||||
|
color: $primary-text-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.status__content {
|
||||||
|
color: $primary-text-color;
|
||||||
|
}
|
||||||
|
.status-card,
|
||||||
|
.status-card__title,
|
||||||
|
.status-card__description {
|
||||||
|
color: $primary-text-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* accounts.scss */
|
||||||
|
.card {
|
||||||
|
.name {
|
||||||
|
color: darken($ui-primary-color, 15%);
|
||||||
|
}
|
||||||
|
.counter {
|
||||||
|
.counter-number {
|
||||||
|
color: darken($ui-primary-color, 15%);
|
||||||
|
}
|
||||||
|
border-color: $ui-primary-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.activity-stream-tabs {
|
||||||
|
a {
|
||||||
|
color: lighten($ui-primary-color, 10%);
|
||||||
|
&.active {
|
||||||
|
color: darken($ui-primary-color, 10%);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* uncategorized */
|
/* uncategorized */
|
||||||
|
@ -486,23 +689,16 @@ button.icon-button {
|
||||||
content: "\00a0\00a0\f08e";
|
content: "\00a0\00a0\f08e";
|
||||||
}
|
}
|
||||||
|
|
||||||
.compose-form__buttons button.active:last-child {
|
|
||||||
color:$ui-secondary-color;
|
|
||||||
background-color: $ui-highlight-color;
|
|
||||||
border-radius:3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.drawer .drawer__inner {
|
|
||||||
overflow: visible;
|
|
||||||
height:inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
.drawer__pager {
|
|
||||||
overflow-y:auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.column {
|
.column {
|
||||||
max-height:100vh;
|
max-height:100vh;
|
||||||
|
& > .scrollable {
|
||||||
|
background-color: $ui-base-alt;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.empty-column-indicator, .error-column {
|
||||||
|
background-color: $ui-base-alt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -545,4 +741,3 @@ button.icon-button {
|
||||||
background-color: lighten($ui-highlight-color, 4%);
|
background-color: lighten($ui-highlight-color, 4%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue