mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°2847 - Improve SCSS files structure
- Refactor some mixins into helpers
- CSS3 variables set via SCSS variables are now using "interpolation" (#{$my-var} instead of just $my-var) to be compatible with more SCSS compiler
- Overloading some Bulma variables such as font-family
This commit is contained in:
33
css/backoffice/utils/variables/_border-radius.scss
Normal file
33
css/backoffice/utils/variables/_border-radius.scss
Normal file
@@ -0,0 +1,33 @@
|
||||
/*!
|
||||
* Copyright (C) 2013-2020 Combodo SARL
|
||||
*
|
||||
* This file is part of iTop.
|
||||
*
|
||||
* iTop is free software !default; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* iTop is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY !default; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
*/
|
||||
|
||||
$ibo-border-radius-100: 1px !default;
|
||||
$ibo-border-radius-300: 3px !default;
|
||||
$ibo-border-radius-500: 5px !default;
|
||||
$ibo-border-radius-700: 10px !default;
|
||||
$ibo-border-radius-900: 16px !default;
|
||||
$ibo-border-radius-full: 100% !default;
|
||||
|
||||
:root{
|
||||
--ibo-border-radius-100: #{$ibo-border-radius-100};
|
||||
--ibo-border-radius-300: #{$ibo-border-radius-300};
|
||||
--ibo-border-radius-500: #{$ibo-border-radius-500};
|
||||
--ibo-border-radius-700: #{$ibo-border-radius-700};
|
||||
--ibo-border-radius-900: #{$ibo-border-radius-900};
|
||||
--ibo-border-radius-full: #{$ibo-border-radius-full};
|
||||
}
|
||||
Reference in New Issue
Block a user