2025-02-07 15:07:43 +01:00
|
|
|
|
/* Global Theming Styles – Color and Shadow Variables */
|
2025-02-07 13:39:46 +01:00
|
|
|
|
:root {
|
2025-02-07 20:09:08 +01:00
|
|
|
|
--primary-color: {{ global_theming.css.colors.primary }};
|
|
|
|
|
--secondary-color: {{ global_theming.css.colors.secondary }};
|
|
|
|
|
--background-color: {{ global_theming.css.colors.background }};
|
2025-02-07 13:39:46 +01:00
|
|
|
|
--background-dark-color: {{ global_theming.css.colors.background_dark }};
|
2025-02-07 20:09:08 +01:00
|
|
|
|
--text-color: {{ global_theming.css.colors.text }};
|
|
|
|
|
--accent-color: {{ global_theming.css.colors.accent }};
|
|
|
|
|
--success-color: {{ global_theming.css.colors.success }};
|
|
|
|
|
--warning-color: {{ global_theming.css.colors.warning }};
|
|
|
|
|
--error-color: {{ global_theming.css.colors.error }};
|
|
|
|
|
--info-color: {{ global_theming.css.colors.info }};
|
|
|
|
|
--link-color: {{ global_theming.css.colors.link }};
|
|
|
|
|
--button-text-color: {{ global_theming.css.colors.button_text }};
|
|
|
|
|
--shadow-color: {{ global_theming.css.colors.shadow }};
|
|
|
|
|
--border-color: {{ global_theming.css.colors.border }};
|
|
|
|
|
|
|
|
|
|
/* New variables for cards and buttons */
|
|
|
|
|
--card-bg-color: {{ global_theming.css.colors.card_bg_color }};
|
|
|
|
|
--large-shadow: {{ global_theming.css.colors.large_shadow }};
|
|
|
|
|
--button-bg-color: {{ global_theming.css.colors.button_bg_color }};
|
|
|
|
|
--small-shadow: {{ global_theming.css.colors.small_shadow }};
|
2025-02-07 13:39:46 +01:00
|
|
|
|
}
|
|
|
|
|
|
2025-02-07 15:07:43 +01:00
|
|
|
|
/* Bootstrap Overrides (Color/Shadow Variables Only) */
|
2025-02-07 13:39:46 +01:00
|
|
|
|
:root {
|
|
|
|
|
--bs-primary: var(--primary-color);
|
|
|
|
|
--bs-secondary: var(--secondary-color);
|
|
|
|
|
--bs-body-bg: var(--background-color);
|
|
|
|
|
--bs-body-color: var(--text-color);
|
|
|
|
|
--bs-danger: var(--error-color);
|
|
|
|
|
--bs-warning: var(--warning-color);
|
|
|
|
|
--bs-success: var(--success-color);
|
|
|
|
|
--bs-info: var(--info-color);
|
|
|
|
|
--bs-link-color: var(--link-color);
|
2025-02-07 20:09:08 +01:00
|
|
|
|
--bs-btn-color: var(--background-dark-color);
|
2025-02-07 13:39:46 +01:00
|
|
|
|
}
|
|
|
|
|
|
2025-02-10 16:24:27 +01:00
|
|
|
|
/** Mastodon Overrides **/
|
|
|
|
|
:root{
|
|
|
|
|
--surface-variant-background-color: var(--button-bg-color)
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-10 17:17:43 +01:00
|
|
|
|
/** Nextcloud Specific**/
|
|
|
|
|
:root{
|
|
|
|
|
--color-main-background: var(--background-color);
|
|
|
|
|
--color-main-background-rgb: var(--background-color);
|
2025-02-10 17:27:43 +01:00
|
|
|
|
--color-primary-element: var(--button-bg-color);
|
2025-02-10 19:07:25 +01:00
|
|
|
|
--color-main-text: var(--background-dark-color);
|
2025-02-10 20:58:20 +01:00
|
|
|
|
--color-background-hover: var(--secondary-color);
|
|
|
|
|
|
|
|
|
|
/** Calendar **/
|
|
|
|
|
--color-background-dark: var(--info-color); /** Days which aren't in the current month **/
|
|
|
|
|
--color-primary-element-light: var(--secondary-color);
|
2025-02-10 17:17:43 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Peertube Overrides */
|
|
|
|
|
:root {
|
|
|
|
|
--mainColor: var(--primary-color);
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-07 15:07:43 +01:00
|
|
|
|
/* Global Defaults (Colors Only) */
|
2025-02-07 13:39:46 +01:00
|
|
|
|
body {
|
|
|
|
|
background-color: var(--background-color) !important;
|
|
|
|
|
color: var(--text-color) !important;
|
2025-02-07 14:08:18 +01:00
|
|
|
|
/* Use the corporate-design font family */
|
|
|
|
|
font-family: "Liberation Sans", Arial, sans-serif;
|
2025-02-07 13:39:46 +01:00
|
|
|
|
}
|
|
|
|
|
|
2025-02-07 15:07:43 +01:00
|
|
|
|
/* Links (Color Only) */
|
2025-02-07 13:39:46 +01:00
|
|
|
|
a {
|
|
|
|
|
color: var(--link-color) !important;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-07 20:09:08 +01:00
|
|
|
|
/* Buttons (Background, Text, Border, and Shadow)
|
|
|
|
|
Now using a button background that is only slightly darker than the overall background */
|
2025-02-07 13:39:46 +01:00
|
|
|
|
button, .btn {
|
2025-02-07 20:09:08 +01:00
|
|
|
|
background-color: var(--button-bg-color) !important;
|
|
|
|
|
color: var(--primary-color) !important;
|
|
|
|
|
border-color: var(--border-color) !important;
|
2025-02-07 13:39:46 +01:00
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
2025-02-07 15:07:43 +01:00
|
|
|
|
|
2025-02-07 13:39:46 +01:00
|
|
|
|
button:hover, .btn:hover {
|
|
|
|
|
filter: brightness(0.9);
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-07 15:07:43 +01:00
|
|
|
|
/* States: Success, Warning, Error, Info (Background and Text Colors) */
|
2025-02-07 13:39:46 +01:00
|
|
|
|
.success, .alert-success {
|
|
|
|
|
background-color: var(--success-color) !important;
|
2025-02-07 14:08:18 +01:00
|
|
|
|
color: var(--text-color) !important;
|
2025-02-07 13:39:46 +01:00
|
|
|
|
}
|
|
|
|
|
.warning, .alert-warning {
|
|
|
|
|
background-color: var(--warning-color) !important;
|
2025-02-07 14:08:18 +01:00
|
|
|
|
color: var(--text-color) !important;
|
2025-02-07 13:39:46 +01:00
|
|
|
|
}
|
|
|
|
|
.error, .alert-danger {
|
|
|
|
|
background-color: var(--error-color) !important;
|
2025-02-07 20:09:08 +01:00
|
|
|
|
color: var(--background-dark-color) !important;
|
2025-02-07 13:39:46 +01:00
|
|
|
|
}
|
|
|
|
|
.info, .alert-info {
|
|
|
|
|
background-color: var(--info-color) !important;
|
2025-02-07 14:08:18 +01:00
|
|
|
|
color: var(--text-color) !important;
|
2025-02-07 13:39:46 +01:00
|
|
|
|
}
|
|
|
|
|
|
2025-02-07 17:25:53 +01:00
|
|
|
|
/* Inputs & Forms in Light Mode (Using a Light Tone from the Corporate Design) */
|
2025-02-07 13:39:46 +01:00
|
|
|
|
input, textarea, select {
|
2025-02-07 17:25:53 +01:00
|
|
|
|
background-color: var(--info-color) !important; /* Instead of var(--background-color) */
|
2025-02-07 13:39:46 +01:00
|
|
|
|
color: var(--text-color) !important;
|
2025-02-07 15:07:43 +01:00
|
|
|
|
border-color: var(--border-color) !important;
|
2025-02-07 13:39:46 +01:00
|
|
|
|
}
|
|
|
|
|
input:focus, textarea:focus, select:focus {
|
|
|
|
|
border-color: var(--primary-color) !important;
|
2025-02-10 20:58:20 +01:00
|
|
|
|
/** box-shadow: 0 0 5px var(--shadow-color);**/
|
2025-02-07 13:39:46 +01:00
|
|
|
|
}
|
|
|
|
|
|
2025-02-07 15:07:43 +01:00
|
|
|
|
/* Navigation (Background and Text Colors) */
|
2025-02-07 13:39:46 +01:00
|
|
|
|
.navbar, .navbar-light, .navbar-dark {
|
2025-02-07 17:25:53 +01:00
|
|
|
|
background-color: var(--background-color) !important;
|
2025-02-07 20:09:08 +01:00
|
|
|
|
color: var(--primary-color) !important;
|
2025-02-07 13:39:46 +01:00
|
|
|
|
}
|
2025-02-07 17:25:53 +01:00
|
|
|
|
|
2025-02-07 13:39:46 +01:00
|
|
|
|
.navbar a {
|
2025-02-07 20:09:08 +01:00
|
|
|
|
color: var(--background-dark-color) !important;
|
2025-02-07 13:39:46 +01:00
|
|
|
|
}
|
|
|
|
|
|
2025-02-07 20:09:08 +01:00
|
|
|
|
.navbar a.dropdown-item {
|
2025-02-07 17:33:29 +01:00
|
|
|
|
color: var(--background-dark-color) !important;
|
2025-02-07 17:25:53 +01:00
|
|
|
|
}
|
|
|
|
|
|
2025-02-07 20:09:08 +01:00
|
|
|
|
.card-body {
|
2025-02-07 18:09:18 +01:00
|
|
|
|
color: var(--background-dark-color) !important;
|
|
|
|
|
}
|
2025-02-07 17:25:53 +01:00
|
|
|
|
|
2025-02-07 15:07:43 +01:00
|
|
|
|
/* Tables (Borders and Header Colors) */
|
2025-02-07 13:39:46 +01:00
|
|
|
|
th, td {
|
2025-02-07 20:09:08 +01:00
|
|
|
|
border-color: var(--border-color) !important;
|
2025-02-07 13:39:46 +01:00
|
|
|
|
}
|
2025-02-10 17:17:43 +01:00
|
|
|
|
|
2025-02-07 13:39:46 +01:00
|
|
|
|
thead {
|
2025-02-10 17:17:43 +01:00
|
|
|
|
background-color: var(--button-bg-color) !important;
|
|
|
|
|
color: var(--background-dark-color) !important;
|
2025-02-07 13:39:46 +01:00
|
|
|
|
}
|
|
|
|
|
|
2025-02-07 20:09:08 +01:00
|
|
|
|
/* Cards / Containers (Background, Border, and Shadow)
|
|
|
|
|
Cards now use a slightly lighter background and a bold, clear shadow */
|
2025-02-07 13:39:46 +01:00
|
|
|
|
.card {
|
2025-02-07 20:09:08 +01:00
|
|
|
|
background-color: var(--card-bg-color) !important;
|
2025-02-10 20:58:20 +01:00
|
|
|
|
/** box-shadow: var(--large-shadow) !important;**/
|
2025-02-07 20:09:08 +01:00
|
|
|
|
border-color: var(--border-color) !important;
|
2025-02-07 13:39:46 +01:00
|
|
|
|
}
|
|
|
|
|
|
2025-02-07 15:07:43 +01:00
|
|
|
|
/* Headings (Text Color) */
|
2025-02-10 19:07:25 +01:00
|
|
|
|
h1, h2, h3, h4, h5, h6, p{
|
2025-02-07 20:09:08 +01:00
|
|
|
|
color: var(--background-dark-color) !important;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-07 15:07:43 +01:00
|
|
|
|
/* Dropdown Menu and Submenu (Background, Text, and Shadow) */
|
2025-02-07 14:08:18 +01:00
|
|
|
|
.navbar .dropdown-menu,
|
|
|
|
|
.nav-item .dropdown-menu {
|
|
|
|
|
background-color: var(--background-color) !important;
|
|
|
|
|
color: var(--text-color) !important;
|
2025-02-10 20:58:20 +01:00
|
|
|
|
/**box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);**/
|
2025-02-07 14:08:18 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dropdown-item {
|
|
|
|
|
color: var(--text-color) !important;
|
|
|
|
|
background-color: var(--background-color) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dropdown-item:hover,
|
|
|
|
|
.dropdown-item:focus {
|
|
|
|
|
background-color: var(--secondary-color) !important;
|
|
|
|
|
color: var(--text-color) !important;
|
|
|
|
|
}
|
2025-02-07 20:09:08 +01:00
|
|
|
|
|
|
|
|
|
/* Ensure the button itself uses the light text color. Occurred in Mastodon */
|
2025-02-07 16:06:42 +01:00
|
|
|
|
button.icon-button {
|
2025-02-07 20:09:08 +01:00
|
|
|
|
color: var(--button-text-color) !important;
|
2025-02-07 18:09:18 +01:00
|
|
|
|
}
|
2025-02-11 11:43:24 +01:00
|
|
|
|
|
|
|
|
|
/** LAM Specific **/
|
|
|
|
|
.lam-vertical-tabs-navigation li, .lam-vertical-tabs-navigation{
|
|
|
|
|
background-color: transparent !important;
|
|
|
|
|
border-color: transparent !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** Mastodon Specific **/
|
2025-02-10 16:24:27 +01:00
|
|
|
|
div#mastodon div.compose-panel div.compose-form__highlightable{
|
|
|
|
|
background-color: var(--background-color) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
div#mastodon strong{
|
|
|
|
|
color: var(--background-dark-color) !important;
|
|
|
|
|
}
|
2025-02-07 18:09:18 +01:00
|
|
|
|
|
2025-02-10 17:17:43 +01:00
|
|
|
|
/** Nextcloud specific **/
|
|
|
|
|
html.ng-csp header#header{
|
|
|
|
|
color: var(--background-color) !important;
|
|
|
|
|
background-color: var(--button-bg-color) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.ng-csp button.files-list__row-name-link, html.ng-csp button.button-vue{
|
|
|
|
|
background-color: transparent !important;
|
|
|
|
|
color: background-color: var(--button-bg-color) !important;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-11 01:38:24 +01:00
|
|
|
|
html.ng-csp div#postsetupchecks ul.warnings{
|
|
|
|
|
color: var(--error-color) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.ng-csp div#postsetupchecks ul.info{
|
|
|
|
|
background-color: transparent !important;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-10 17:17:43 +01:00
|
|
|
|
div#content-vue p, div#content-vue span{
|
|
|
|
|
color: var(--background-dark-color) !important;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-10 14:49:37 +01:00
|
|
|
|
/** OpenProject **/
|
|
|
|
|
header.op-app-header{
|
|
|
|
|
background-color: var(--background-dark-color) !important;
|
|
|
|
|
color: var(--text-color) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** Open Project **/
|
|
|
|
|
div#wrapper button, div#wrapper input, button.top-menu-search-button, div.menu-sidebar a{
|
|
|
|
|
background-color: transparent !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
main-menu-toggle button{
|
|
|
|
|
border: 0px none !important;
|
2025-02-08 11:19:44 +01:00
|
|
|
|
}
|
|
|
|
|
|
2025-02-07 20:09:08 +01:00
|
|
|
|
/* Peertube specific configuration */
|
|
|
|
|
.peertube-container button {
|
|
|
|
|
background-color: transparent !important;
|
2025-02-08 11:19:44 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** Taiga specific configuration **/
|
|
|
|
|
|
|
|
|
|
section.main.kanban{
|
|
|
|
|
background-color: transparent !important;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-08 11:58:56 +01:00
|
|
|
|
div.master, div.kanban-header, div.kanban-table-inner, section.kanban button,a.dropdown-project-list-projects{
|
|
|
|
|
background-color: var(--info-color) !important;
|
2025-02-08 11:19:44 +01:00
|
|
|
|
color: var(--background-dark-color) !important;
|
2025-02-08 11:58:56 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
section.kanban h1, section.kanban h2{
|
|
|
|
|
color: var(--background-dark-color) !important;
|
2025-02-08 11:58:56 +01:00
|
|
|
|
}
|