N°2847 - WIP: Sync. commit

This commit is contained in:
Molkobain
2020-06-25 19:09:35 +02:00
parent 7d4455baf4
commit f8af900c73
137 changed files with 10870 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/*!
* Copyright (C) 2013-2020 Combodo SARL
*
* This file is part of iTop.
*
* iTop is free software; 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; 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
*/
@import "variables/color";
@import "variables/typography";
@import "mixins/typography";

View File

@@ -0,0 +1,262 @@
/*!
* Copyright (C) 2013-2020 Combodo SARL
*
* This file is part of iTop.
*
* iTop is free software; 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; 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
*/
/* Fonts
Value Common weight name (https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
100 Thin (Hairline)
200 Extra Light (Ultra Light)
300 Light
400 Normal (Regular)
500 Medium
600 Semi Bold (Demi Bold)
700 Bold
800 Extra Bold (Ultra Bold)
900 Black (Heavy)
950 Extra Black (Ultra Black)
*/
@mixin ibo-font-ral-nor-50 {
font-size: $ibo-font-size-50;
font-family: "Monorale";
font-weight: 400;
}
@mixin ibo-font-ral-nor-100 {
font-size: $ibo-font-size-100;
font-family: "Monorale";
font-weight: 400;
}
@mixin ibo-font-ral-nor-150 {
font-size: $ibo-font-size-150;
font-family: "Monorale";
font-weight: 400;
}
@mixin ibo-font-ral-nor-200 {
font-size: $ibo-font-size-200;
font-family: "Monorale";
font-weight: 400;
}
@mixin ibo-font-ral-nor-250 {
font-size: $ibo-font-size-250;
font-family: "Monorale";
font-weight: 400;
}
@mixin ibo-font-ral-nor-300 {
font-size: $ibo-font-size-300;
font-family:" Raleway";
font-weight: 400;
}
@mixin ibo-font-ral-nor-350 {
font-size: $ibo-font-size-350;
font-family: "Monorale";
font-weight: 400;
}
@mixin ibo-font-ral-nor-400 {
font-size: $ibo-font-size-400;
font-family: "Monorale";
font-weight: 400;
}
@mixin ibo-font-ral-nor-450 {
font-size: $ibo-font-size-450;
font-family: "Monorale";
font-weight: 400;
}
@mixin ibo-font-ral-nor-500 {
font-size: $ibo-font-size-500;
font-family: "Monorale";
font-weight: 400;
}
@mixin ibo-font-ral-nor-550 {
font-size: $ibo-font-size-550;
font-family: "Monorale";
font-weight: 400;
}
@mixin ibo-font-ral-med-50 {
font-size: $ibo-font-size-50;
font-family: "Monorale";
font-weight: 500;
}
@mixin ibo-font-ral-med-100 {
font-size: $ibo-font-size-100;
font-family: "Monorale";
font-weight: 500;
}
@mixin ibo-font-ral-med-150 {
font-size: $ibo-font-size-150;
font-family: "Monorale";
font-weight: 500;
}
@mixin ibo-font-ral-med-200 {
font-size: $ibo-font-size-200;
font-family: "Monorale";
font-weight: 500;
}
@mixin ibo-font-ral-med-250 {
font-size: $ibo-font-size-250;
font-family: "Monorale";
font-weight: 500;
}
@mixin ibo-font-ral-med-300 {
font-size: $ibo-font-size-300;
font-family:" Raleway";
font-weight: 500;
}
@mixin ibo-font-ral-med-350 {
font-size: $ibo-font-size-350;
font-family: "Monorale";
font-weight: 500;
}
@mixin ibo-font-ral-med-400 {
font-size: $ibo-font-size-400;
font-family: "Monorale";
font-weight: 500;
}
@mixin ibo-font-ral-med-450 {
font-size: $ibo-font-size-450;
font-family: "Monorale";
font-weight: 500;
}
@mixin ibo-font-ral-med-500 {
font-size: $ibo-font-size-500;
font-family: "Monorale";
font-weight: 500;
}
@mixin ibo-font-ral-med-550 {
font-size: $ibo-font-size-550;
font-family: "Monorale";
font-weight: 500;
}
@mixin ibo-font-ral-bol-50 {
font-size: $ibo-font-size-50;
font-family: "Monorale";
font-weight: 700;
}
@mixin ibo-font-ral-bol-100 {
font-size: $ibo-font-size-100;
font-family: "Monorale";
font-weight: 700;
}
@mixin ibo-font-ral-bol-150 {
font-size: $ibo-font-size-150;
font-family: "Monorale";
font-weight: 700;
}
@mixin ibo-font-ral-bol-200 {
font-size: $ibo-font-size-200;
font-family: "Monorale";
font-weight: 700;
}
@mixin ibo-font-ral-bol-250 {
font-size: $ibo-font-size-250;
font-family: "Monorale";
font-weight: 700;
}
@mixin ibo-font-ral-bol-300 {
font-size: $ibo-font-size-300;
font-family: "Monorale";
font-weight: 700;
}
@mixin ibo-font-ral-bol-350 {
font-size: $ibo-font-size-350;
font-family: "Monorale";
font-weight: 700;
}
@mixin ibo-font-ral-bol-400 {
font-size: $ibo-font-size-400;
font-family: "Monorale";
font-weight: 700;
}
@mixin ibo-font-ral-bol-450 {
font-size: $ibo-font-size-450;
font-family: "Monorale";
font-weight: 700;
}
@mixin ibo-font-ral-bol-500 {
font-size: $ibo-font-size-500;
font-family: "Monorale";
font-weight: 700;
}
@mixin ibo-font-ral-bol-550 {
font-size: $ibo-font-size-550;
font-family: "Monorale";
font-weight: 700;
}
@mixin ibo-font-ral-ita-50 {
font-size: $ibo-font-size-50;
font-family: "Monorale";
font-weight: 400;
font-style: italic;
}
@mixin ibo-font-ral-ita-100 {
font-size: $ibo-font-size-100;
font-family: "Monorale";
font-weight: 400;
font-style: italic;
}
@mixin ibo-font-ral-ita-150 {
font-size: $ibo-font-size-150;
font-family: "Monorale";
font-weight: 400;
font-style: italic;
}
@mixin ibo-font-ral-ita-200 {
font-size: $ibo-font-size-200;
font-family: "Monorale";
font-weight: 400;
font-style: italic;
}
@mixin ibo-font-ral-ita-250 {
font-size: $ibo-font-size-250;
font-family: "Monorale";
font-weight: 400;
font-style: italic;
}
@mixin ibo-font-ral-ita-300 {
font-size: $ibo-font-size-300;
font-family: "Monorale";
font-weight: 400;
font-style: italic;
}
@mixin ibo-font-ral-ita-350 {
font-size: $ibo-font-size-350;
font-family: "Monorale";
font-weight: 400;
font-style: italic;
}
@mixin ibo-font-ral-ita-400 {
font-size: $ibo-font-size-400;
font-family: "Monorale";
font-weight: 400;
font-style: italic;
}
@mixin ibo-font-ral-ita-450 {
font-size: $ibo-font-size-450;
font-family: "Monorale";
font-weight: 400;
font-style: italic;
}
@mixin ibo-font-ral-ita-500 {
font-size: $ibo-font-size-500;
font-family: "Monorale";
font-weight: 400;
font-style: italic;
}
@mixin ibo-font-ral-ita-550 {
font-size: $ibo-font-size-550;
font-family: "Monorale";
font-weight: 400;
font-style: italic;
}

View File

@@ -0,0 +1,103 @@
/*!
* Copyright (C) 2013-2020 Combodo SARL
*
* This file is part of iTop.
*
* iTop is free software; 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; 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
*/
/* Color styles */
$ibo-color-white-100: hsla(0, 0%, 100%, 1) !default;
$ibo-color-white-200: hsla(0, 0%, 94.9%, 1) !default;
$ibo-color-transparent: hsla(0, 0%, 100%, 0) !default;
$ibo-color-grey-50: hsla(240, 20%, 99%, 1) !default;
$ibo-color-grey-100: hsla(210, 16.7%, 97.6%, 1) !default;
$ibo-color-grey-200: hsla(207, 22.4%, 90.4%, 1) !default;
$ibo-color-grey-300: hsla(210, 23.5%, 86.7%, 1) !default;
$ibo-color-grey-400: hsla(208, 17.2%, 82.9%, 1) !default;
$ibo-color-grey-500: hsla(209, 23.7%, 74.3%, 1) !default;
$ibo-color-grey-600: hsla(215, 16.6%, 63.3%, 1) !default;
$ibo-color-grey-700: hsla(214, 11.3%, 48.6%, 1) !default;
$ibo-color-grey-800: hsla(215, 16.9%, 30.2%, 1) !default;
$ibo-color-grey-900: hsla(215, 22.4%, 16.7%, 1) !default;
$ibo-color-red-100: hsla(0, 76.9%, 94.9%, 1) !default;
$ibo-color-red-200: hsla(0, 95.1%, 92%, 1) !default;
$ibo-color-red-300: hsla(0, 97.4%, 84.7%, 1) !default;
$ibo-color-red-400: hsla(0, 95.3%, 74.7%, 1) !default;
$ibo-color-red-500: hsla(0, 87.8%, 67.8%, 1) !default;
$ibo-color-red-600: hsla(0, 76.3%, 57.1%, 1) !default;
$ibo-color-red-700: hsla(0, 60.8%, 48%, 1) !default;
$ibo-color-red-800: hsla(0, 55.8%, 39%, 1) !default;
$ibo-color-red-900: hsla(0, 46.8%, 31%, 1) !default;
$ibo-color-orange-100: hsla(40, 100%, 97.1%, 1) !default;
$ibo-color-orange-200: hsla(39, 96.4%, 89%, 1) !default;
$ibo-color-orange-300: hsla(38, 93.2%, 76.9%, 1) !default;
$ibo-color-orange-400: hsla(33, 89.9%, 64.9%, 1) !default;
$ibo-color-orange-500: hsla(28, 82.9%, 51.8%, 1) !default;
$ibo-color-orange-600: hsla(24, 74.7%, 49.6%, 1) !default;
$ibo-color-orange-700: hsla(20, 70.7%, 44.1%, 1) !default;
$ibo-color-orange-800: hsla(16, 65.1%, 37.1%, 1) !default;
$ibo-color-orange-900: hsla(14, 60.8%, 30%, 1) !default;
$ibo-color-green-100: hsla(88, 50.7%, 85.7%, 1) !default;
$ibo-color-green-200: hsla(88, 50%, 76.5%, 1) !default;
$ibo-color-green-300: hsla(88, 50%, 67.1%, 1) !default;
$ibo-color-green-400: hsla(88, 50.2%, 59.8%, 1) !default;
$ibo-color-green-500: hsla(88, 50.2%, 52.7%, 1) !default;
$ibo-color-green-600: hsla(89, 46.1%, 48%, 1) !default;
$ibo-color-green-700: hsla(92, 47.9%, 42.2%, 1) !default;
$ibo-color-green-800: hsla(95, 49.5%, 36.5%, 1) !default;
$ibo-color-green-900: hsla(103, 55.6%, 26.5%, 1) !default;
$ibo-color-primary-100: hsla(40, 100%, 97.1%, 1) !default;
$ibo-color-primary-200: hsla(39, 96.4%, 89%, 1) !default;
$ibo-color-primary-300: hsla(38, 93.2%, 76.9%, 1) !default;
$ibo-color-primary-400: hsla(33, 89.9%, 64.9%, 1) !default;
$ibo-color-primary-500: hsla(28, 82.9%, 51.8%, 1) !default;
$ibo-color-primary-600: hsla(24, 74.7%, 49.6%, 1) !default;
$ibo-color-primary-700: hsla(20, 70.7%, 44.1%, 1) !default;
$ibo-color-primary-800: hsla(16, 65.1%, 37.1%, 1) !default;
$ibo-color-primary-900: hsla(14, 60.8%, 30%, 1) !default;
$ibo-color-blue-grey-100: hsla(198, 15.7%, 83.7%, 1) !default;
$ibo-color-blue-grey-200: hsla(200, 15.3%, 73.1%, 1) !default;
$ibo-color-blue-grey-300: hsla(200, 15.6%, 62.4%, 1) !default;
$ibo-color-blue-grey-400: hsla(200, 15.4%, 54.1%, 1) !default;
$ibo-color-blue-grey-500: hsla(200, 18.3%, 46.1%, 1) !default;
$ibo-color-blue-grey-600: hsla(199, 18.4%, 40.4%, 1) !default;
$ibo-color-blue-grey-700: hsla(199, 18.3%, 33.1%, 1) !default;
$ibo-color-blue-grey-800: hsla(200, 17.9%, 26.3%, 1) !default;
$ibo-color-blue-grey-900: hsla(200, 19.1%, 18.4%, 1) !default;
$ibo-color-blue-100: hsla(201, 100%, 96.1%, 1) !default;
$ibo-color-blue-200: hsla(202, 80.6%, 85.9%, 1) !default;
$ibo-color-blue-300: hsla(203, 82%, 76.1%, 1) !default;
$ibo-color-blue-400: hsla(205, 79.3%, 65.9%, 1) !default;
$ibo-color-blue-500: hsla(207, 72.6%, 57.1%, 1) !default;
$ibo-color-blue-600: hsla(209, 61.6%, 50%, 1) !default;
$ibo-color-blue-700: hsla(211, 60.7%, 42.9%, 1) !default;
$ibo-color-blue-800: hsla(213, 49.4%, 34.1%, 1) !default;
$ibo-color-blue-900: hsla(215, 41.3%, 28%, 1) !default;
$ibo-color-cyan-100: hsla(186, 61.2%, 86.9%, 1) !default;
$ibo-color-cyan-200: hsla(187, 71.6%, 71%, 1) !default;
$ibo-color-cyan-300: hsla(187, 71.2%, 59.2%, 1) !default;
$ibo-color-cyan-400: hsla(187, 70.9%, 50.2%, 1) !default;
$ibo-color-cyan-500: hsla(187, 100%, 41.6%, 1) !default;
$ibo-color-cyan-600: hsla(187, 100%, 37.8%, 1) !default;
$ibo-color-cyan-700: hsla(186, 100%, 32.7%, 1) !default;
$ibo-color-cyan-800: hsla(185, 100%, 28%, 1) !default;
$ibo-color-cyan-900: hsla(182, 100%, 19.6%, 1) !default;

View File

@@ -0,0 +1,30 @@
/*!
* Copyright (C) 2013-2020 Combodo SARL
*
* This file is part of iTop.
*
* iTop is free software; 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; 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
*/
/* Base size: html font-size 12px */
$ibo-font-size-50: 0.83rem !default;
$ibo-font-size-100: 1rem !default;
$ibo-font-size-150: 1.17rem !default;
$ibo-font-size-200: 1.33rem !default;
$ibo-font-size-250: 1.5rem !default;
$ibo-font-size-300: 1.67rem !default;
$ibo-font-size-350: 1.83rem !default;
$ibo-font-size-400: 2rem !default;
$ibo-font-size-450: 2.5rem !default;
$ibo-font-size-500: 3rem !default;
$ibo-font-size-550: 4rem !default;