2018-11-29 00:36:23 +01:00
|
|
|
html {
|
|
|
|
box-sizing: border-box;
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
*,
|
|
|
|
*::before,
|
|
|
|
*::after {
|
2019-11-22 22:04:03 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2018-11-29 00:36:23 +01:00
|
|
|
|
|
|
|
border: none;
|
|
|
|
box-sizing: inherit;
|
|
|
|
outline: 0;
|
2019-01-09 20:52:41 +01:00
|
|
|
}
|
2018-12-05 17:54:17 +01:00
|
|
|
|
2019-01-09 20:52:41 +01:00
|
|
|
[disabled] {
|
|
|
|
pointer-events: none;
|
2019-01-29 22:00:08 +01:00
|
|
|
resize: none;
|
2018-11-29 00:36:23 +01:00
|
|
|
}
|
|
|
|
|
2018-12-03 22:05:48 +01:00
|
|
|
[readonly] {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
2019-01-29 22:00:08 +01:00
|
|
|
[for],
|
2019-02-06 01:03:03 +01:00
|
|
|
[role="button"],
|
2018-12-03 22:05:48 +01:00
|
|
|
[type="button"],
|
2019-01-29 22:00:08 +01:00
|
|
|
[type="checkbox"],
|
|
|
|
[type="file"],
|
|
|
|
[type="radio"],
|
|
|
|
[type="select"],
|
2018-12-03 22:05:48 +01:00
|
|
|
[type="submit"] {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2018-11-29 00:36:23 +01:00
|
|
|
a,
|
|
|
|
area,
|
|
|
|
button,
|
|
|
|
[role="button"],
|
|
|
|
input,
|
|
|
|
label,
|
|
|
|
select,
|
|
|
|
summary,
|
|
|
|
textarea {
|
|
|
|
// Remove touch delay on supported devices
|
|
|
|
touch-action: manipulation;
|
|
|
|
}
|
|
|
|
|
|
|
|
button,
|
|
|
|
input,
|
|
|
|
select,
|
|
|
|
textarea {
|
2018-12-03 22:05:48 +01:00
|
|
|
background-color: transparent;
|
2019-02-20 16:29:51 +01:00
|
|
|
border-radius: 0;
|
2018-11-29 00:36:23 +01:00
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
font-weight: inherit;
|
|
|
|
|
2018-12-03 22:05:48 +01:00
|
|
|
-moz-appearance: none;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
2018-11-29 00:36:23 +01:00
|
|
|
&:disabled {
|
2019-10-25 19:36:41 +02:00
|
|
|
cursor: default;
|
2018-11-29 00:36:23 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
font-weight: normal;
|
2019-11-22 22:04:03 +01:00
|
|
|
font-size: 1em;
|
2018-11-29 00:36:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
ol,
|
|
|
|
ul {
|
|
|
|
list-style-position: inside;
|
|
|
|
|
|
|
|
> li {
|
|
|
|
list-style-position: inside;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
border-spacing: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
|
|
|
width: 80%;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
dl {
|
|
|
|
width: 100%;
|
|
|
|
overflow-x: scroll;
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
dt {
|
|
|
|
width: 20%;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
2019-11-22 22:04:03 +01:00
|
|
|
width: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
max-height: 100%;
|
2018-11-29 00:36:23 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
background-color: transparent;
|
2019-11-22 22:04:03 +01:00
|
|
|
line-height: inherit;
|
2018-11-29 00:36:23 +01:00
|
|
|
|
|
|
|
&:not(:disabled) {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-06 01:03:03 +01:00
|
|
|
hr {
|
2019-11-22 22:04:03 +01:00
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
background-color: var(--color-gray-1);
|
2019-02-06 01:03:03 +01:00
|
|
|
}
|
|
|
|
|
2018-11-29 00:36:23 +01:00
|
|
|
input {
|
|
|
|
background-color: transparent;
|
|
|
|
color: inherit;
|
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
color: inherit;
|
2019-02-07 21:22:04 +01:00
|
|
|
opacity: 0.2;
|
2018-11-29 00:36:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-search-cancel-button {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-07 21:22:04 +01:00
|
|
|
select {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2018-11-29 00:36:23 +01:00
|
|
|
textarea {
|
|
|
|
width: 100%;
|
2019-02-07 21:22:04 +01:00
|
|
|
min-height: var(--spacing-xxl);
|
|
|
|
padding: var(--spacing-s);
|
2018-11-29 00:36:23 +01:00
|
|
|
// border-color should be added in apps for blur/focus
|
|
|
|
border: 1px solid;
|
2018-12-03 22:05:48 +01:00
|
|
|
|
|
|
|
&:not([disabled]) {
|
|
|
|
resize: vertical;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media print {
|
2019-02-07 21:22:04 +01:00
|
|
|
// sass-lint:disable-block no-important
|
2018-12-03 22:05:48 +01:00
|
|
|
// Intelligent print styles
|
|
|
|
pre,
|
|
|
|
blockquote {
|
2019-11-22 22:04:03 +01:00
|
|
|
border: 1px solid var(--color-gray-5) !important;
|
2018-12-03 22:05:48 +01:00
|
|
|
page-break-inside: avoid !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr,
|
|
|
|
img {
|
|
|
|
page-break-inside: avoid !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100% !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
@page {
|
|
|
|
margin: 0.5cm !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
p,
|
|
|
|
h2,
|
|
|
|
h3 {
|
|
|
|
orphans: 3 !important;
|
|
|
|
widows: 3 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2,
|
|
|
|
h3 {
|
|
|
|
page-break-after: avoid !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
thead {
|
|
|
|
display: table-header-group !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Faster, more stable printing
|
|
|
|
* {
|
2019-01-29 22:00:08 +01:00
|
|
|
background-color: transparent !important;
|
|
|
|
background-image: none !important;
|
2019-03-11 16:41:27 +01:00
|
|
|
color: var(--lbry-black) !important;
|
2018-12-03 22:05:48 +01:00
|
|
|
filter: none !important;
|
|
|
|
text-shadow: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
a {
|
2019-11-22 22:04:03 +01:00
|
|
|
&[href]::after {
|
|
|
|
// Show hypertext data for links and abbreviations
|
2018-12-03 22:05:48 +01:00
|
|
|
content: " (" attr(href) ")" !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[href^="javascript:"],
|
|
|
|
&[href^="#"] {
|
|
|
|
&::after {
|
|
|
|
content: "" !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
abbr {
|
|
|
|
&[title]::after {
|
|
|
|
content: " (" attr(title) ")" !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a,
|
|
|
|
abbr {
|
|
|
|
text-decoration: underline !important;
|
|
|
|
word-wrap: break-word !important;
|
|
|
|
}
|
|
|
|
}
|
2018-11-29 00:36:23 +01:00
|
|
|
}
|