scss: introduce $font-size-small & $font-size-xsmall (#75408)
gitea/publik-base-theme/pipeline/head Build queued... Details

This commit is contained in:
Thomas Jund 2023-03-15 11:53:41 +01:00 committed by Gitea
parent 1355fe4bdd
commit f2844423a0
9 changed files with 19 additions and 15 deletions

View File

@ -230,7 +230,7 @@ div.links-list p {
li div.description {
padding: 0 1rem;
font-size: 90%;
font-size: $font-size-small;
color: #666;
p {
margin-top: 0;
@ -305,7 +305,7 @@ div.list-of-forms {
margin-right: 1rem;
opacity: 0.76;
font-size: 80%;
font-size: $font-size-xsmall;
}
span.form-status {
margin-right: 0;
@ -377,7 +377,7 @@ div.menucell li li {
border-top: $cell-entry-border;
a {
padding-left: 3em;
font-size: 90%;
font-size: $font-size-small;
}
}
@ -535,7 +535,7 @@ div.lingobasketcell input[type=submit], div.newsletterscell input[type=submit] {
// newsletters
.newsletterscell table {
width: 100%;
font-size: 0.9em;
font-size: $font-size-small;
margin: 0.5em 0;
thead td, tbody td {

View File

@ -73,7 +73,7 @@ $dashboard-items: ((profil, profile), (demandes, requests), (liens, links),
span.badge::after { content: none; }
span.badge {
width: auto;
font-size: 80%;
font-size: $font-size-xsmall;
position: absolute;
top: 0;
right: 0;

View File

@ -362,7 +362,7 @@ div.widget div.content ul {
span.helptext,
div.hint {
display: block;
font-size: 80%;
font-size: $font-size-xsmall;
p {
margin: 0;
}

View File

@ -7,7 +7,7 @@
background-size: auto 35px;
padding: 5px 2px 5px 40px;;
background-position: 5px center;
font-size: 85%;
font-size: $font-size-xsmall;
cursor: pointer;
}
@ -33,6 +33,6 @@
.franceconnect--error {
color: $error-color;
font-size: 90%;
font-size: $font-size-small;
}
}

View File

@ -2,6 +2,8 @@ $border-radius: null !default;
$font-color: #333 !default;
$font-family: sans-serif !default;
$font-size: 100% !default;
$font-size-small: 0.9em !default;
$font-size-xsmall: 0.8em !default;
$font-line-height: 1.4 !default;
$link-color: #028 !default;
$link-decoration: none !default;

View File

@ -68,7 +68,7 @@ div#footer div.cell.test-banner {
right: -1rem;
width: 25vw;
padding: 0 1rem;
font-size: 70%;
font-size: $font-size-xsmall;
opacity: 0.7;
border: 0;
@include vendor-prefix('transform', 'rotate(-45deg)');
@ -165,7 +165,7 @@ div.card,
#profile {
.label {
color: lighten($font-color, 20%);
font-size: 90%;
font-size: $font-size-small;
display: block;
}
@ -193,7 +193,7 @@ div.card,
font-size: 110%;
}
&--dates {
font-size: 90%;
font-size: $font-size-small;
}
@media screen and ($max-mobile-viewport) {
&--since, &--expired {
@ -513,7 +513,7 @@ div#user-files {
tr.description-row {
cursor: auto;
font-size: 90%;
font-size: $font-size-small;
}
td {

View File

@ -170,7 +170,7 @@ div#services div.block-custom-text {
& > div { flex: 1 0 auto; }
}
div#tracking-code {
font-size: 80%;
font-size: $font-size-xsmall;
order: 1;
h3 { display: inline-block; }
.text-tracking-code-short-text { display: none; }
@ -299,7 +299,7 @@ ul#evolutions span.user {
}
ul#evolutions span.user span {
font-size: 80%;
font-size: $font-size-xsmall;
}
ul#evolutions li div.msg {

View File

@ -190,7 +190,7 @@ $mq-min--wcs-steps-horizontal-layout: "min-width: #{$wcs-steps-small-layout-limi
&-total {
display: block;
transform: translateY(0.5em);
font-size: 0.75em;
font-size: $font-size-xsmall;
font-weight: normal;
order: 3;
}

View File

@ -3,6 +3,8 @@ $mobile-limit: 800px;
$border-radius: 0;
$font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
$font-size: 0.875em;
$font-size-small: 0.9em;
$font-size-xsmall: 0.8em;
$link-color: $primary-color;
$title-background: transparent;
$title-color: $primary-color;