2019-01-24 20:14:05 +00:00
|
|
|
// Rules we could port to the rest of Nextcloud too
|
2019-01-24 17:55:58 +00:00
|
|
|
|
2019-01-24 20:14:05 +00:00
|
|
|
// Proper highlight for links and focus feedback
|
2019-01-24 17:55:58 +00:00
|
|
|
#accessibility a {
|
|
|
|
border-bottom: 1px dotted;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
border-bottom-style: solid;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-24 20:14:05 +00: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
|
|
|
|
#accessibility .section p {
|
|
|
|
max-width: 800px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// End of rules we could port to rest of Nextcloud
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-06-13 11:16:49 +00:00
|
|
|
.preview-list {
|
|
|
|
display: flex;
|
2019-01-24 17:55:58 +00:00
|
|
|
flex-direction: column;
|
2019-01-24 20:14:05 +00:00
|
|
|
max-width: 800px;
|
2018-06-13 11:16:49 +00:00
|
|
|
}
|
2019-01-24 17:55:58 +00:00
|
|
|
|
2018-06-13 11:16:49 +00:00
|
|
|
.preview {
|
|
|
|
display: flex;
|
2019-01-24 17:55:58 +00:00
|
|
|
justify-content: flex-start;
|
2019-01-24 20:03:03 +00:00
|
|
|
margin-top: 3em;
|
2018-06-14 13:27:57 +00:00
|
|
|
position: relative;
|
2019-01-24 17:55:58 +00:00
|
|
|
|
2018-06-13 11:16:49 +00:00
|
|
|
&,
|
|
|
|
* {
|
|
|
|
user-select: none;
|
|
|
|
}
|
2019-01-24 17:55:58 +00:00
|
|
|
|
2018-06-13 11:16:49 +00:00
|
|
|
.preview-image {
|
2019-01-24 17:55:58 +00:00
|
|
|
flex-basis: 200px;
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-right: 1em;
|
2018-06-14 13:27:57 +00:00
|
|
|
background-position: top left;
|
2018-06-13 11:16:49 +00:00
|
|
|
background-size: cover;
|
|
|
|
background-repeat: no-repeat;
|
2019-01-24 17:55:58 +00:00
|
|
|
border-radius: var(--border-radius);
|
2018-06-13 11:16:49 +00:00
|
|
|
}
|
2019-01-24 17:55:58 +00:00
|
|
|
|
|
|
|
.preview-description {
|
2018-06-21 06:27:38 +00:00
|
|
|
display: flex;
|
2019-01-24 17:55:58 +00:00
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
label {
|
|
|
|
padding: 12px 0;
|
|
|
|
}
|
2018-06-14 13:27:57 +00:00
|
|
|
}
|
2018-06-13 11:16:49 +00:00
|
|
|
}
|