mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-27 12:38:44 +02:00
SCSS: Refactor .is-code by moving it to helper file and renaming it
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
*/
|
||||
|
||||
/* SCSS variables */
|
||||
$ibo-is-code--background-color: $ibo-color-white-200 !default;
|
||||
$ibo-is-code--padding: 1.25rem 1.5rem !default;
|
||||
|
||||
/**************/
|
||||
/* Visibility */
|
||||
/**************/
|
||||
@@ -116,6 +120,12 @@ body.ibo-has-fullscreen-descendant {
|
||||
}
|
||||
}
|
||||
|
||||
.ibo-is-code {
|
||||
background-color: $ibo-is-code--background-color;
|
||||
padding: $ibo-is-code--padding;
|
||||
@extend %ibo-font-code-150;
|
||||
}
|
||||
|
||||
%ibo-medallion {
|
||||
position: relative;
|
||||
border-radius: var(--ibo-border-radius-full);
|
||||
|
||||
Reference in New Issue
Block a user