From e584e05f5ec9cc60db6a45182ec19ab4ba8175fd Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Fri, 25 Sep 2020 16:25:39 -0700 Subject: [PATCH] Move color definitions from common.css to ycdl.css. --- frontends/ycdl_flask/static/css/common.css | 16 +--------------- frontends/ycdl_flask/static/css/ycdl.css | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/frontends/ycdl_flask/static/css/common.css b/frontends/ycdl_flask/static/css/common.css index 9cbbb07..c1162c6 100644 --- a/frontends/ycdl_flask/static/css/common.css +++ b/frontends/ycdl_flask/static/css/common.css @@ -1,17 +1,3 @@ -:root -{ - --color_text_normal: black; - --color_text_link: blue; - - --color_textfields: white; - --color_text_placeholder: gray; - - --color_transparency: rgba(0, 0, 0, 0.1); - --color_dropshadow: rgba(0, 0, 0, 0.25); - --color_shadow: rgba(0, 0, 0, 0.5); - --color_highlight: rgba(255, 255, 255, 0.5); -} - @media screen and (min-width: 800px) { :root @@ -244,7 +230,7 @@ button:active } .message_bubble * { - color: var(--color_text_normal); + color: var(--color_text_bubble); } .message_positive { diff --git a/frontends/ycdl_flask/static/css/ycdl.css b/frontends/ycdl_flask/static/css/ycdl.css index 1347400..6ca3e66 100644 --- a/frontends/ycdl_flask/static/css/ycdl.css +++ b/frontends/ycdl_flask/static/css/ycdl.css @@ -1,3 +1,18 @@ +:root +{ + --color_text_normal: black; + --color_text_link: blue; + --color_text_bubble: var(--color_text_normal); + + --color_textfields: white; + --color_text_placeholder: gray; + + --color_transparency: rgba(0, 0, 0, 0.1); + --color_dropshadow: rgba(0, 0, 0, 0.25); + --color_shadow: rgba(0, 0, 0, 0.5); + --color_highlight: rgba(255, 255, 255, 0.5); +} + #content_body { justify-self: center;