From cfd95cd86aee6003686854f8502c2694c204df60 Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Tue, 6 Oct 2020 12:51:54 -0400 Subject: [PATCH 1/3] fix: remove flexbox styles on dropdown --- .../rose/addon/styles/rose/components/dropdown/_dropdown.scss | 2 -- 1 file changed, 2 deletions(-) diff --git a/addons/rose/addon/styles/rose/components/dropdown/_dropdown.scss b/addons/rose/addon/styles/rose/components/dropdown/_dropdown.scss index d3256071b..b80cd538b 100644 --- a/addons/rose/addon/styles/rose/components/dropdown/_dropdown.scss +++ b/addons/rose/addon/styles/rose/components/dropdown/_dropdown.scss @@ -14,8 +14,6 @@ $chevronWhite: "data:image/svg+xml;utf-8, - - - - {{t "resources.user.title_plural"}} - - - - {{t "resources.group.title_plural"}} - - - - {{t "resources.role.title_plural"}} - - - - {{t "resources.auth-method.title_plural"}} - - - {{outlet "sidebar"}} diff --git a/ui/core/app/templates/scopes/scope/-sidebar.hbs b/ui/core/app/templates/scopes/scope/-sidebar.hbs new file mode 100644 index 000000000..27852d3ec --- /dev/null +++ b/ui/core/app/templates/scopes/scope/-sidebar.hbs @@ -0,0 +1,26 @@ + + + + {{t "resources.user.title_plural"}} + + + + {{t "resources.group.title_plural"}} + + + + {{t "resources.role.title_plural"}} + + + + {{t "resources.auth-method.title_plural"}} + + diff --git a/ui/core/app/templates/scopes/scope/projects/project/_sidebar.hbs b/ui/core/app/templates/scopes/scope/projects/project/-sidebar.hbs similarity index 100% rename from ui/core/app/templates/scopes/scope/projects/project/_sidebar.hbs rename to ui/core/app/templates/scopes/scope/projects/project/-sidebar.hbs From c1177ec7f57cdf43d732ca375311408c2cfb7b4c Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Tue, 6 Oct 2020 13:39:45 -0400 Subject: [PATCH 3/3] chore: style lint cleanup --- ui/core/.sasslintrc | 7 +++++++ ui/core/app/styles/app.scss | 7 ++++--- 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 ui/core/.sasslintrc diff --git a/ui/core/.sasslintrc b/ui/core/.sasslintrc new file mode 100644 index 000000000..fbccde1bf --- /dev/null +++ b/ui/core/.sasslintrc @@ -0,0 +1,7 @@ +files: + include: 'app/styles/**/*.s+(a|c)ss' +rules: + leading-zero: 0 + mixins-before-declarations: 0 + nesting-depth: 0 + placeholder-in-extend: 0 diff --git a/ui/core/app/styles/app.scss b/ui/core/app/styles/app.scss index 8a45265fa..ba376f696 100644 --- a/ui/core/app/styles/app.scss +++ b/ui/core/app/styles/app.scss @@ -95,7 +95,7 @@ .copyable { white-space: nowrap; - + .copyable-button { margin: 0; padding: 0 sizing.rems(xxs); @@ -104,9 +104,10 @@ } mark { - color: inherit; - background-color: transparent; animation: fadeBackground 0.75s linear; + background-color: transparent; + color: inherit; + @keyframes fadeBackground { 0% { background-color: var(--action-subtler-1); } 100% { background-color: transparent; }