mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 18:10:06 -05:00
The accessibility audit made the quiet text greys dark for every theme, and old rules never followed the dark themes: Card Settings drew white text on light grey blocks, popup items, the sidebar's shortcuts row, quiet buttons and sidebar labels were black on dark, and an !important list header beat each theme's own. The quiet text is a variable with a light value on the dark surfaces; Card Settings' sections, popup items and the other rules follow the theme. axe-core finds no colour contrast failure in cleandark, moderndark, dark and exodark on the board, sidebar, Card Settings, an opened card and the custom fields popup. Thanks to Samunosuke and xet7 ! Fixes #6863,
57 lines
1.1 KiB
CSS
57 lines
1.1 KiB
CSS
.new-description {
|
|
position: relative;
|
|
margin: 0 0 20px 0;
|
|
}
|
|
.new-description.is-open .helper {
|
|
display: inline-block;
|
|
}
|
|
.new-description.is-open textarea {
|
|
min-height: 100px;
|
|
color: #4d4d4d;
|
|
cursor: auto;
|
|
overflow: hidden;
|
|
word-wrap: break-word;
|
|
}
|
|
.new-description .too-long {
|
|
margin-top: 8px;
|
|
}
|
|
.new-description textarea {
|
|
background-color: #fff;
|
|
border: 0;
|
|
box-shadow: 0 1px 2px rgba(0,0,0,0.23);
|
|
height: 36px;
|
|
margin: 4px 4px 6px 0;
|
|
padding: 9px 11px;
|
|
width: 100%;
|
|
}
|
|
.new-description textarea:hover,
|
|
.new-description textarea:is-open {
|
|
background-color: #fff;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.33);
|
|
border: 0;
|
|
cursor: pointer;
|
|
}
|
|
.new-description textarea:is-open {
|
|
cursor: auto;
|
|
}
|
|
.description-item {
|
|
background-color: #fff;
|
|
border: 0;
|
|
box-shadow: 0 1px 2px rgba(0,0,0,0.23);
|
|
color: var(--wekan-quiet-text, #595959);
|
|
height: 36px;
|
|
margin: 4px 4px 6px 0;
|
|
width: 92%;
|
|
}
|
|
.description-item:hover {
|
|
background: #e0e0e0;
|
|
}
|
|
.description-item.add-description {
|
|
display: flex;
|
|
margin: 5px;
|
|
}
|
|
.description-item.add-description a {
|
|
display: block;
|
|
margin: auto;
|
|
}
|