From d7aa999f25cc7c7d8e2b8283cc5c79fd7a0cb0a4 Mon Sep 17 00:00:00 2001 From: sbwalker Date: Mon, 15 Sep 2025 08:21:28 -0400 Subject: [PATCH] add Theme.css for the external theme template --- .gitignore | 2 +- .../External/Client/wwwroot/Theme.css | 123 ++++++++++++++++++ 2 files changed, 124 insertions(+), 1 deletion(-) create mode 100644 Oqtane.Server/wwwroot/Themes/Templates/External/Client/wwwroot/Theme.css diff --git a/.gitignore b/.gitignore index 04ce32b7..fd007ecc 100644 --- a/.gitignore +++ b/.gitignore @@ -35,4 +35,4 @@ Oqtane.Server/wwwroot/Themes/* !Oqtane.Server/wwwroot/Themes/Oqtane.Themes.* !Oqtane.Server/wwwroot/Themes/Templates Oqtane.Server/wwwroot/Themes/Templates/* -Oqtane.Server/wwwroot/Themes/Templates/External +!Oqtane.Server/wwwroot/Themes/Templates/External diff --git a/Oqtane.Server/wwwroot/Themes/Templates/External/Client/wwwroot/Theme.css b/Oqtane.Server/wwwroot/Themes/Templates/External/Client/wwwroot/Theme.css new file mode 100644 index 00000000..f17ea0a3 --- /dev/null +++ b/Oqtane.Server/wwwroot/Themes/Templates/External/Client/wwwroot/Theme.css @@ -0,0 +1,123 @@ +/* Oqtane Styles */ + +body { + padding-top: 7rem; +} + +/* App Logo */ +.app-logo .img-fluid { + max-height: 90px; + padding: 0 5px 0 5px; +} + +.table > :not(caption) > * > * { + box-shadow: none; +} + +.table .form-control { + background-color: #ffffff !important; + border-width: 0.5px !important; + border-bottom-color: #ccc !important; +} + +.table .form-select { + background-color: #ffffff !important; + border-width: 0.5px !important; + border-bottom-color: #ccc !important; +} + +.table .btn-primary { + background-color: var(--bs-primary); +} + +.table .btn-secondary { + background-color: var(--bs-secondary); +} + +.alert-dismissible .btn-close { + z-index: 1; +} + +.controls { + z-index: 2000; + padding-top: 15px; + padding-bottom: 15px; + margin-right: 10px; +} + +.app-menu .nav-item { + font-size: 0.9rem; + padding-bottom: 0.5rem; + white-space: nowrap; +} + +.app-menu .nav-item a { + border-radius: 4px; + height: 3rem; + display: flex; + align-items: center; + line-height: 3rem; + padding-left: 1rem; +} + +.app-menu .nav-item a.active { + background-color: rgba(255,255,255,0.25); + color: white; +} + +.app-menu .nav-item a:hover { + background-color: rgba(255,255,255,0.1); + color: white; +} + +.app-menu .nav-link .oi { + width: 1.5rem; + font-size: 1.1rem; + vertical-align: text-top; + top: -2px; +} + +.navbar-toggler { + background-color: rgba(255, 255, 255, 0.1); + margin: .5rem; +} + +div.app-moduleactions a.dropdown-toggle, div.app-moduleactions div.dropdown-menu { + color: #000000; +} + +.dropdown-menu span { + mix-blend-mode: difference; +} + +@media (max-width: 767.98px) { + + .app-menu { + width: 100%; + } + + .navbar { + position: fixed; + top: 60px; + width: 100%; + } + + .controls { + height: 60px; + top: 15px; + position: fixed; + top: 0px; + width: 100%; + background-color: rgb(0, 0, 0); + } + + .controls-group { + float: right; + margin-right: 25px; + } + + .content { + position: relative; + top: 60px; + } +}