From 4132d7280d054436df41373812ed2fb52651de33 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 4 Aug 2024 18:15:49 -0400 Subject: CSS consolidation. --- common.css | 12 ++++-------- notekins/nksext.css | 10 ++++++++++ 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/common.css b/common.css index d065f2c..38ca98c 100644 --- a/common.css +++ b/common.css @@ -79,6 +79,8 @@ input[type="text"]{ background-color: rgba(0,0,0,0) !important; font-family: 'CMU Typewriter Text w', 'CMU Typewriter Text', 'TeX Gyre Cursor', 'FreeMono', 'Courier New', Courier, monospace; font-variant-ligatures: none; + color: var(--principal-fg); + border-bottom-color: var(--interactive-bg); } textarea{ border:2px solid; @@ -86,6 +88,8 @@ textarea{ background-color:rgba(0,0,0,0) !important; font-family: 'CMU Typewriter Text w', 'CMU Typewriter Text', 'TeX Gyre Cursor', 'FreeMono', 'Courier New', Courier, monospace; font-variant-ligatures: none; + color: var(--principal-fg); + border-color: var(--interactive-bg); } body{ background-color: var(--principal-bg); @@ -141,14 +145,6 @@ button:active,.fakebtn:active{ button:disabled{ background-color: var(--interactive-disabled-bg); } -input[type="text"]{ - color: var(--principal-fg); - border-bottom-color: var(--interactive-bg); -} -textarea{ - color: var(--principal-fg); - border-color: var(--interactive-bg); -} .widgetbg{background-color: var(--widget-area-bg);} .sliderb1{background-color: var(--slider-empty-bg);} .sliderb2{background-color: var(--slider-filled-bg);} diff --git a/notekins/nksext.css b/notekins/nksext.css index 6aacdb9..ccfd8ac 100644 --- a/notekins/nksext.css +++ b/notekins/nksext.css @@ -58,3 +58,13 @@ span.date span.datetz { span.date:hover span.datetz { opacity: initial; } +input[type="text"]{ + border: none; + border-bottom: 2px solid; + outline: none !important; + background-color: rgba(0,0,0,0) !important; + font-family: 'CMU Typewriter Text w', 'CMU Typewriter Text', 'TeX Gyre Cursor', 'FreeMono', 'Courier New', Courier, monospace; + font-variant-ligatures: none; + color: var(--principal-fg); + border-bottom-color: var(--interactive-bg); +} -- cgit v1.2.3