From 9828fca49de803aee8981b529c42a5d4093cfb38 Mon Sep 17 00:00:00 2001 From: Craig Williams Date: Thu, 5 Mar 2026 09:26:57 +0000 Subject: [PATCH] Updated missing shiny app styles and form-control font size --- inst/www/css/mnr-shiny.css | 73 +++++++++++++++++++++++++++++++++++++- inst/www/css/mnr.css | 4 +++ 2 files changed, 76 insertions(+), 1 deletion(-) diff --git a/inst/www/css/mnr-shiny.css b/inst/www/css/mnr-shiny.css index fb8fee6..6cd496e 100644 --- a/inst/www/css/mnr-shiny.css +++ b/inst/www/css/mnr-shiny.css @@ -9,4 +9,75 @@ input[type="text"], input[type="password"], input[type="number"] { .selectize-input input[type="text"] { height: 27px !important; -} \ No newline at end of file +} + +.selectize-control .selectize-input.disabled { + cursor: not-allowed !important; + opacity: 1; + background-color: #eee; +} +.selectize-input.disabled, .selectize-input.disabled * { + cursor: not-allowed !important; +} + + +.table.dataTable tbody tr td.actions-col, .table.dataTable thead tr th.actions-col { + min-width: 140px; +} + +.row-header { + padding-bottom: 0; + margin-bottom: 0; + margin-top: 30px; + text-decoration: underline; +} + +.form-group.has-success div div.selectize-control div.selectize-input { + border-color: #00a65a; + box-shadow: none; +} + +.tab-content { + border-left: 1px solid #ddd; + padding: 8px; + padding-left: 15px; +} + +.noise-parameter { + display: inline-block; + width: 32%; + padding: 0px 20px 0px 0px; +} + + +dl.parameters { + display: grid; + grid-template-columns: max-content auto; +} + +dl.parameters dt { + grid-column-start: 1; +} +dl.parameters dt::after { + content: ":"; + margin-right: 10px; +} + +dl.parameters dd { + grid-column-start: 2; +} + +tr.deleted-row { + text-decoration: line-through; + color: #BBB; +} + +hr { + color: #BBB; +} + +.vr { + color: #BBB; + opacity: 1.0; + width: 2px; +} diff --git a/inst/www/css/mnr.css b/inst/www/css/mnr.css index fee8b3a..6eacbff 100644 --- a/inst/www/css/mnr.css +++ b/inst/www/css/mnr.css @@ -441,6 +441,10 @@ a:focus { text-decoration: underline; } +.form-control { + font-size: 12pt; +} + .form-group.has-success label { color: #008549; }