From a0b347fada22968971708f61fd092a2b1435dac2 Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Thu, 9 May 2024 16:58:30 -0700 Subject: [PATCH 1/4] Make primary/secondary button same size --- pgml-dashboard/static/css/scss/components/_buttons.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pgml-dashboard/static/css/scss/components/_buttons.scss b/pgml-dashboard/static/css/scss/components/_buttons.scss index db6c342f5..9a4d39b55 100644 --- a/pgml-dashboard/static/css/scss/components/_buttons.scss +++ b/pgml-dashboard/static/css/scss/components/_buttons.scss @@ -120,7 +120,8 @@ --bs-btn-line-height: 16px; - border: 0px; + --bs-btn-border-color: #{$neon-shade-100}; + --bs-btn-border-width: 2px; &:disabled, &.disabled { From ddfa6228310508d1fa4fef1b116dcfcc00f5fc38 Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Thu, 9 May 2024 16:59:57 -0700 Subject: [PATCH 2/4] border disabled --- pgml-dashboard/static/css/scss/components/_buttons.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/pgml-dashboard/static/css/scss/components/_buttons.scss b/pgml-dashboard/static/css/scss/components/_buttons.scss index 9a4d39b55..07ae71c6d 100644 --- a/pgml-dashboard/static/css/scss/components/_buttons.scss +++ b/pgml-dashboard/static/css/scss/components/_buttons.scss @@ -127,6 +127,7 @@ &.disabled { color: #{$neon-shade-400}; background-color: #{$neon-shade-700}; + --bs-btn-border-color: #{$neon-shade-700}; } &:hover, From 47c5e63b2405931331527833fec6dd36723e33bc Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Thu, 9 May 2024 17:02:06 -0700 Subject: [PATCH 3/4] consistent --- pgml-dashboard/static/css/scss/components/_buttons.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pgml-dashboard/static/css/scss/components/_buttons.scss b/pgml-dashboard/static/css/scss/components/_buttons.scss index 07ae71c6d..1da33cafc 100644 --- a/pgml-dashboard/static/css/scss/components/_buttons.scss +++ b/pgml-dashboard/static/css/scss/components/_buttons.scss @@ -125,8 +125,8 @@ &:disabled, &.disabled { - color: #{$neon-shade-400}; - background-color: #{$neon-shade-700}; + --bs-btn-color: #{$neon-shade-400}; + --bs-btn-bg: #{$neon-shade-700}; --bs-btn-border-color: #{$neon-shade-700}; } From d80c42955552f7c5d675a914575ec9a2e369c2e0 Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Thu, 9 May 2024 17:20:11 -0700 Subject: [PATCH 4/4] Fix border --- pgml-dashboard/src/components/pages/demo/template.html | 7 +++++++ pgml-dashboard/static/css/scss/components/_buttons.scss | 5 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pgml-dashboard/src/components/pages/demo/template.html b/pgml-dashboard/src/components/pages/demo/template.html index 3929c2f05..9bda2ea8a 100644 --- a/pgml-dashboard/src/components/pages/demo/template.html +++ b/pgml-dashboard/src/components/pages/demo/template.html @@ -220,4 +220,11 @@ .tooltip_html("A model is great
, but
two
is better.") .icon("help_outline") %> + +
+ + + + +
diff --git a/pgml-dashboard/static/css/scss/components/_buttons.scss b/pgml-dashboard/static/css/scss/components/_buttons.scss index 1da33cafc..9a4d39b55 100644 --- a/pgml-dashboard/static/css/scss/components/_buttons.scss +++ b/pgml-dashboard/static/css/scss/components/_buttons.scss @@ -125,9 +125,8 @@ &:disabled, &.disabled { - --bs-btn-color: #{$neon-shade-400}; - --bs-btn-bg: #{$neon-shade-700}; - --bs-btn-border-color: #{$neon-shade-700}; + color: #{$neon-shade-400}; + background-color: #{$neon-shade-700}; } &:hover, pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy