From e3515d2ea1fa0aad808caacf7ca7e2937f96e81f Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Sun, 26 Nov 2017 14:28:33 +0200 Subject: [PATCH] Update stylelint rules --- .stylelintrc.yml | 4 ++++ client/css/style.css | 15 +++++---------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.stylelintrc.yml b/.stylelintrc.yml index 5d8cafba..9ee9366e 100644 --- a/.stylelintrc.yml +++ b/.stylelintrc.yml @@ -5,3 +5,7 @@ ignoreFiles: rules: indentation: tab + # complains about FontAwesome + font-family-no-missing-generic-family-keyword: + # needs a lot of refactoring to be enabled + no-descending-specificity: diff --git a/client/css/style.css b/client/css/style.css index 7e9c5f04..db97e33a 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -310,6 +310,9 @@ kbd { } #chat .toggle-button { + display: inline-block; + transition: opacity 0.2s, transform 0.2s; + /* These 2 directives are loosely taken from .fa-fw */ width: 1.35em; text-align: center; @@ -1012,6 +1015,8 @@ kbd { #chat .content { flex: 1 1 auto; min-width: 0; + padding-left: 10px; + padding-right: 6px; } #loading a, @@ -1064,11 +1069,6 @@ kbd { #chat.colored-nicks .user.color-31 { color: #ff4846; } #chat.colored-nicks .user.color-32 { color: #ff199b; } -#chat .content { - padding-left: 10px; - padding-right: 6px; -} - #chat .self .text { color: #999; } @@ -1167,11 +1167,6 @@ kbd { color: #f00; } -#chat .toggle-button { - display: inline-block; - transition: opacity 0.2s, transform 0.2s; -} - #chat .toggle-button.opened, /* Thumbnail toggle */ #chat .msg.condensed:not(.closed) .toggle-button { /* Expanded status message toggle */ transform: rotate(90deg);