Skip to content

Commit

Permalink
[ui-dsfr] ajoute des classes utilitaires
Browse files Browse the repository at this point in the history
  • Loading branch information
ppinette committed Oct 29, 2024
1 parent f8127ec commit 5796f81
Showing 1 changed file with 42 additions and 1 deletion.
43 changes: 42 additions & 1 deletion vertigo-ui-dsfr/src/utils.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@
display: flex;
}

.flex-wrap {
flex-wrap: wrap;
}

.flex-wrap-reverse {
flex-wrap: wrap-reverse;
}

.flex-nowrap {
flex-wrap: nowrap;
}
Expand Down Expand Up @@ -152,46 +160,79 @@
.font-thin {
font-weight: 100;
}

.font-extralight {
font-weight: 200;
}

.font-light {
font-weight: 300;
}

.font-normal {
font-weight: 400;
}

.font-medium {
font-weight: 500;
}

.font-semibold {
font-weight: 600;
}

.font-bold {
font-weight: 700;
}

.font-extrabold {
font-weight: 800;
}

.font-black {
font-weight: 900;
}

.text-left {
text-align: left;
}

.text-center {
text-align: center;
}

.text-right {
text-align: right;
}

.text-justify {
text-align: justify;
}

.text-start {
text-align: start;
}

.text-end {
text-align: end;
}
}

/* Display utils */
@media screen and (max-width: 576px) {
.hidden-sm {
display: none !important;
}
}

@media screen and (max-width: 768px) {
.hidden-md {
display: none !important;
}
}

@media screen and (max-width: 992px) {
.hidden-lg {
display: none !important;
}
}

0 comments on commit 5796f81

Please sign in to comment.