From b77af5c505dc9b2f2071b7555a90f62a76491c92 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com> Date: Thu, 23 Jan 2020 22:42:39 +0100 Subject: [PATCH] Feat: Added instance dicker to the qoto default theme. --- app/javascript/styles/qoto-no-ticker.scss | 67 +++++++++++++++++++++++ app/javascript/styles/qoto.scss | 1 + config/themes.yml | 1 + 3 files changed, 69 insertions(+) create mode 100644 app/javascript/styles/qoto-no-ticker.scss diff --git a/app/javascript/styles/qoto-no-ticker.scss b/app/javascript/styles/qoto-no-ticker.scss new file mode 100644 index 0000000000..686ad3a008 --- /dev/null +++ b/app/javascript/styles/qoto-no-ticker.scss @@ -0,0 +1,67 @@ +@import 'material-light'; + +.roles { + background-color: unset!important; +} + +.new_user a { + text-decoration: underline!important; +} + +.account__wrapper, +.detailed-status__meta { + background-color: unset!important; +} + +.status__expand { + background-color: unset!important; +} + +.status__action-bar__counter { + background-color: unset!important; +} + +.drawer__inner { + background-color: #ffffff!important; +} + +.columns-area { + background-color: #f0f0f0!important; +} + +.column-header { + background-color: #ffffff!important; +} + +.column-header__button { + background-color: #ffffff!important; +} + +.column-header__back-button { + background-color: #ffffff!important; +} + +.search__input { + background-color: #ffffff!important; +} + +.drawer__tab { + background-color: unset!important; +} + +.poll__input.active { + border-color: #3c754d!important; + background: #3c754d!important; +} + +.account__header__tabs, .account__header__tabs__name, .account__header__tabs__buttons, .account__header__bio, .account__header__fields, .account__header__extra__links { + background-color: #ffffff!important; +} + +.account__section-headline { + background-color: #e6ebf0!important; +} + +.account__header__content { + text-align: center; +} diff --git a/app/javascript/styles/qoto.scss b/app/javascript/styles/qoto.scss index 686ad3a008..69f1383e6a 100644 --- a/app/javascript/styles/qoto.scss +++ b/app/javascript/styles/qoto.scss @@ -1,3 +1,4 @@ +@import 'instance-ticker-type-12-light'; @import 'material-light'; .roles { diff --git a/config/themes.yml b/config/themes.yml index 768a0219f9..b60e928d51 100644 --- a/config/themes.yml +++ b/config/themes.yml @@ -1,4 +1,5 @@ default: styles/qoto.scss +qoto-no-ticker: styled/qoto-no-ticker.scss contrast: styles/contrast.scss mastodon: styles/application.scss mastodon-light: styles/mastodon-light.scss -- GitLab