2019-01-24 23:14:05 +03:00
|
|
|
// Rules we could port to the rest of Nextcloud too
|
2019-01-24 20:55:58 +03:00
|
|
|
|
2019-01-24 23:14:05 +03:00
|
|
|
// Proper highlight for links and focus feedback
|
2019-01-24 20:55:58 +03:00
|
|
|
#accessibility a {
|
2019-01-25 14:19:36 +03:00
|
|
|
font-weight: bold;
|
2019-01-24 20:55:58 +03:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2019-01-25 14:19:36 +03:00
|
|
|
text-decoration: underline;
|
2019-01-24 20:55:58 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-24 23:14:05 +03:00
|
|
|
// Highlight checkbox label in bold for focus feedback
|
|
|
|
// Drawback: Text width increases a bit
|
|
|
|
#accessibility .checkbox:focus + label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Limit width of settings sections for readability
|
2019-01-24 23:16:44 +03:00
|
|
|
#accessibility.section p {
|
2019-01-24 23:14:05 +03:00
|
|
|
max-width: 800px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// End of rules we could port to rest of Nextcloud
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-06-13 14:16:49 +03:00
|
|
|
.preview-list {
|
|
|
|
display: flex;
|
2019-01-24 20:55:58 +03:00
|
|
|
flex-direction: column;
|
2019-01-24 23:14:05 +03:00
|
|
|
max-width: 800px;
|
2018-06-13 14:16:49 +03:00
|
|
|
}
|
2019-01-24 20:55:58 +03:00
|
|
|
|
2018-06-13 14:16:49 +03:00
|
|
|
.preview {
|
|
|
|
display: flex;
|
2019-01-24 20:55:58 +03:00
|
|
|
justify-content: flex-start;
|
2019-01-24 23:03:03 +03:00
|
|
|
margin-top: 3em;
|
2018-06-14 16:27:57 +03:00
|
|
|
position: relative;
|
2019-01-24 20:55:58 +03:00
|
|
|
|
2018-06-13 14:16:49 +03:00
|
|
|
&,
|
|
|
|
* {
|
|
|
|
user-select: none;
|
|
|
|
}
|
2019-01-24 20:55:58 +03:00
|
|
|
|
2018-06-13 14:16:49 +03:00
|
|
|
.preview-image {
|
2019-01-24 20:55:58 +03:00
|
|
|
flex-basis: 200px;
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-right: 1em;
|
2018-06-14 16:27:57 +03:00
|
|
|
background-position: top left;
|
2018-06-13 14:16:49 +03:00
|
|
|
background-size: cover;
|
|
|
|
background-repeat: no-repeat;
|
2019-01-24 20:55:58 +03:00
|
|
|
border-radius: var(--border-radius);
|
2018-06-13 14:16:49 +03:00
|
|
|
}
|
2019-01-24 20:55:58 +03:00
|
|
|
|
|
|
|
.preview-description {
|
2018-06-21 09:27:38 +03:00
|
|
|
display: flex;
|
2019-01-24 20:55:58 +03:00
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
label {
|
|
|
|
padding: 12px 0;
|
|
|
|
}
|
2018-06-14 16:27:57 +03:00
|
|
|
}
|
2018-06-13 14:16:49 +03:00
|
|
|
}
|