mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Implement CSS variables (#6081)
* Implement CSS variables * Update CHANGELOG-DEV.md * Update CHANGELOG-DEV.md --------- Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
This commit is contained in:
parent
d5fcecb087
commit
8cc278dd94
@ -13,3 +13,4 @@ HumHub Changelog (DEVELOP)
|
|||||||
- Enh #6035: Added Estonian language
|
- Enh #6035: Added Estonian language
|
||||||
- Fix #5956: Display all newer comments after current comment
|
- Fix #5956: Display all newer comments after current comment
|
||||||
- Enh #6061: Administration: Add a confirmation on profile field delete button
|
- Enh #6061: Administration: Add a confirmation on profile field delete button
|
||||||
|
- Enh #6081: Added corresponding CSS variables for LESS color variables
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Text color
|
// Text colors
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
// Default body text color.
|
// Default body text color.
|
||||||
@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Text color
|
// Background colors
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
// main content background color should be in contrast with @text-color-main, @text-color-secondary and other text colors
|
// main content background color should be in contrast with @text-color-main, @text-color-secondary and other text colors
|
||||||
@ -91,3 +91,49 @@
|
|||||||
@mail-font-url: 'http://fonts.googleapis.com/css?family=Open+Sans:300,100,400,600';
|
@mail-font-url: 'http://fonts.googleapis.com/css?family=Open+Sans:300,100,400,600';
|
||||||
@mail-font-family: 'Open Sans', Arial, Tahoma, Helvetica, sans-serif;
|
@mail-font-family: 'Open Sans', Arial, Tahoma, Helvetica, sans-serif;
|
||||||
|
|
||||||
|
// CSS Variables
|
||||||
|
:root {
|
||||||
|
// Colors for buttons status etc.
|
||||||
|
--default: @default;
|
||||||
|
--primary: @primary;
|
||||||
|
--info: @info;
|
||||||
|
--success: @success;
|
||||||
|
--warning: @warning;
|
||||||
|
--danger: @danger;
|
||||||
|
--link: @link;
|
||||||
|
|
||||||
|
// Text colors
|
||||||
|
--text-color-main: @text-color-main;
|
||||||
|
--text-color-secondary: @text-color-secondary;
|
||||||
|
--text-color-highlight: @text-color-highlight;
|
||||||
|
--text-color-soft: @text-color-soft;
|
||||||
|
--text-color-soft2: @text-color-soft2;
|
||||||
|
--text-color-soft3: @text-color-soft3;
|
||||||
|
--text-color-contrast: @text-color-contrast;
|
||||||
|
|
||||||
|
// Background colors
|
||||||
|
--background-color-main: @background-color-main;
|
||||||
|
--background-color-secondary: @background-color-secondary;
|
||||||
|
--background-color-page: @background-color-page;
|
||||||
|
--background-color-highlight: @background-color-highlight;
|
||||||
|
--background3: @background3;
|
||||||
|
--background4: @background4;
|
||||||
|
|
||||||
|
// Bootstrap Alert boxes
|
||||||
|
// Success
|
||||||
|
--background-color-success: @background-color-success;
|
||||||
|
--text-color-success: @text-color-success;
|
||||||
|
--border-color-success: @border-color-success;
|
||||||
|
// Warning
|
||||||
|
--background-color-warning: @background-color-warning;
|
||||||
|
--text-color-warning: @text-color-warning;
|
||||||
|
--border-color-warning: @border-color-warning;
|
||||||
|
// Danger
|
||||||
|
--background-color-danger: @background-color-danger;
|
||||||
|
--text-color-danger: @text-color-danger;
|
||||||
|
--border-color-danger: @border-color-danger;
|
||||||
|
|
||||||
|
// Fonts
|
||||||
|
--mail-font-url: @mail-font-url;
|
||||||
|
--mail-font-family: @mail-font-family;
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user