mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°2847 - SCSS: Refactor some variables names and some patterns into helpers
This commit is contained in:
@@ -16,11 +16,16 @@
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
*/
|
||||
|
||||
%ibo-centered-content{
|
||||
%ibo-fully-centered-content{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
/* Note: This might not be named correctly. The intention is to make an element occupy the full height of its parent and to be centered in it */
|
||||
%ibo-vertically-centered-content{
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
}
|
||||
%ibo-text-truncated-with-ellipsis{
|
||||
white-space: nowrap;
|
||||
overflow-x: hidden;
|
||||
@@ -31,7 +36,7 @@
|
||||
border-radius: var(--ibo-border-radius-full);
|
||||
border: 2px solid var(--ibo-color-grey-300);
|
||||
overflow: hidden;
|
||||
@extend %ibo-centered-content;
|
||||
@extend %ibo-fully-centered-content;
|
||||
|
||||
> *{
|
||||
position: absolute;
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
}
|
||||
%ibo-font-ral-nor-300 {
|
||||
font-size: $ibo-font-size-300;
|
||||
font-family:" Raleway";
|
||||
font-family:"Monorale";
|
||||
font-weight: 400;
|
||||
}
|
||||
%ibo-font-ral-nor-350 {
|
||||
@@ -111,7 +111,7 @@
|
||||
}
|
||||
%ibo-font-ral-med-300 {
|
||||
font-size: $ibo-font-size-300;
|
||||
font-family:" Raleway";
|
||||
font-family:"Monorale";
|
||||
font-weight: 500;
|
||||
}
|
||||
%ibo-font-ral-med-350 {
|
||||
|
||||
Reference in New Issue
Block a user