Skip to content

Commit 58a9ee5

Browse files
authored
XWIKI-23127: Implement improvements to labels and links (#4130)
* Labels: removed uppercase, increased base size, changed weight * Hints: Increased size (inherited from .text-smaller)
1 parent 72f355a commit 58a9ee5

File tree

2 files changed

+5
-5
lines changed
  • xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/less

2 files changed

+5
-5
lines changed

xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/less/forms.less

+4-4
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,9 @@ select[size="0"], select[size="1"] {
9999
}
100100
.label {
101101
color: @text-color;
102-
font-size: 0.85em;
103-
font-weight: 700;
102+
font-size: 1em;
103+
font-weight: ~"var(--font-weight-semibold)";
104104
margin-bottom: 0.3em;
105-
text-transform: uppercase;
106105
.buttonwrapper a {
107106
.btn-xs;
108107
margin: 0;
@@ -127,8 +126,9 @@ select[size="0"], select[size="1"] {
127126
}
128127
.xHint, .xRequired, .xErrorMsg {
129128
.text-muted-smaller;
130-
font-weight: 400;
129+
font-weight: ~"var(--font-weight-regular)";
131130
text-transform: none;
131+
margin-bottom: .5em;
132132
}
133133
.xHint {
134134
display: block;

xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/less/type.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Local Mixins ===========================================================
66

77
.text-smaller {
8-
font-size: floor(@font-size-base * 0.9);
8+
font-size: floor(@font-size-base * 0.95);
99
}
1010

1111
.text-muted-smaller {

0 commit comments

Comments
 (0)