mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 18:39:58 +00:00
Site WebKit compatibility
This commit is contained in:
@@ -90,12 +90,12 @@ body {
|
|||||||
color: var(--page-color);
|
color: var(--page-color);
|
||||||
font-size: 2.75rem;
|
font-size: 2.75rem;
|
||||||
padding: 0.25rem 1rem;
|
padding: 0.25rem 1rem;
|
||||||
margin-inline-end: -1rem;
|
margin-right: -1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
font-size: 1.75rem;
|
font-size: 1.75rem;
|
||||||
padding-inline-end: 40px;
|
padding-right: 40px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
width: 45ch;
|
width: 45ch;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
@@ -131,13 +131,13 @@ body {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.app-list__app:not(:last-child) {
|
.app-list__app:not(:last-child) {
|
||||||
margin-inline-end: 0.5rem;
|
margin-right: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.app-list__label {
|
.app-list__label {
|
||||||
color: var(--text-color-secondary);
|
color: var(--text-color-secondary);
|
||||||
font-size: 1.75rem;
|
font-size: 1.75rem;
|
||||||
margin-inline-end: 1rem;
|
margin-right: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -146,6 +146,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.preview--bg {
|
.preview--bg {
|
||||||
|
-webkit-mask-image: linear-gradient(to right, black, transparent);
|
||||||
mask-image: linear-gradient(to right, black, transparent);
|
mask-image: linear-gradient(to right, black, transparent);
|
||||||
max-height: 712px;
|
max-height: 712px;
|
||||||
max-width: 912px;
|
max-width: 912px;
|
||||||
@@ -156,7 +157,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.preview--fg {
|
.preview--fg {
|
||||||
margin-inline-start: -60px;
|
margin-left: -60px;
|
||||||
max-height: 281px;
|
max-height: 281px;
|
||||||
max-width: 462px;
|
max-width: 462px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
334
docs/photon.css
334
docs/photon.css
@@ -1,167 +1,167 @@
|
|||||||
|
|
||||||
/* ------------------------ */
|
/* ------------------------ */
|
||||||
/* -------- Buttons ------- */
|
/* -------- Buttons ------- */
|
||||||
/* ------------------------ */
|
/* ------------------------ */
|
||||||
|
|
||||||
a.btn {
|
a.btn {
|
||||||
text-decoration: initial;
|
text-decoration: initial;
|
||||||
}
|
}
|
||||||
button.btn,
|
button.btn,
|
||||||
select.btn {
|
select.btn {
|
||||||
border: initial;
|
border: initial;
|
||||||
font: inherit;
|
font: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
select.btn {
|
select.btn {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
-moz-appearance: none;
|
-moz-appearance: none;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: right 12px center;
|
background-position: right 12px center;
|
||||||
padding-inline-end: 40px;
|
padding-right: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
select.btn {
|
select.btn {
|
||||||
background-image: url("icons/arrow_down_dark.svg");
|
background-image: url("icons/arrow_down_dark.svg");
|
||||||
}
|
}
|
||||||
select.btn.btn--primary {
|
select.btn.btn--primary {
|
||||||
background-image: url("icons/arrow_down_light.svg");
|
background-image: url("icons/arrow_down_light.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
select.btn:-moz-focusring {
|
select.btn:-moz-focusring {
|
||||||
color: transparent;
|
color: transparent;
|
||||||
text-shadow: 0 0 0 var(--btn-color);
|
text-shadow: 0 0 0 var(--btn-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
--btn-bg: var(--grey-90-a10);
|
--btn-bg: var(--grey-90-a10);
|
||||||
--btn-bg-hover: var(--grey-90-a20);
|
--btn-bg-hover: var(--grey-90-a20);
|
||||||
--btn-bg-active: var(--grey-90-a30);
|
--btn-bg-active: var(--grey-90-a30);
|
||||||
--btn-color: var(--grey-90);
|
--btn-color: var(--grey-90);
|
||||||
--btn-padding: 8px;
|
--btn-padding: 8px;
|
||||||
--btn-height: 32px;
|
--btn-height: 32px;
|
||||||
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background-color: var(--btn-bg);
|
background-color: var(--btn-bg);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
color: var(--btn-color);
|
color: var(--btn-color);
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
height: var(--btn-height);
|
height: var(--btn-height);
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 0 var(--btn-padding);
|
padding: 0 var(--btn-padding);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn--primary {
|
.btn--primary {
|
||||||
--btn-bg: var(--blue-60);
|
--btn-bg: var(--blue-60);
|
||||||
--btn-bg-hover: var(--blue-70);
|
--btn-bg-hover: var(--blue-70);
|
||||||
--btn-bg-active: var(--blue-80);
|
--btn-bg-active: var(--blue-80);
|
||||||
--btn-color: var(--white-100);
|
--btn-color: var(--white-100);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn:hover { background-color: var(--btn-bg-hover); }
|
.btn:hover { background-color: var(--btn-bg-hover); }
|
||||||
.btn:active { background-color: var(--btn-bg-active); }
|
.btn:active { background-color: var(--btn-bg-active); }
|
||||||
|
|
||||||
.btn:focus {
|
.btn:focus {
|
||||||
box-shadow: 0 0 0 1px #0a84ff inset, 0 0 0 1px #0a84ff
|
box-shadow: 0 0 0 1px #0a84ff inset, 0 0 0 1px #0a84ff
|
||||||
, 0 0 0 4px rgba(10, 132, 255, 0.3);
|
, 0 0 0 4px rgba(10, 132, 255, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn:disabled,
|
.btn:disabled,
|
||||||
.btn[disabled] {
|
.btn[disabled] {
|
||||||
background-color: var(--btn-bg) !important;
|
background-color: var(--btn-bg) !important;
|
||||||
box-shadow: initial;
|
box-shadow: initial;
|
||||||
opacity: 0.4;
|
opacity: 0.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn::-moz-focus-inner {
|
.btn::-moz-focus-inner {
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn--micro {
|
.btn--micro {
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn--puffy {
|
.btn--puffy {
|
||||||
--btn-padding: 16px;
|
--btn-padding: 16px;
|
||||||
--btn-height: 48px;
|
--btn-height: 48px;
|
||||||
|
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn > a {
|
.btn > a {
|
||||||
text-decoration: initial;
|
text-decoration: initial;
|
||||||
}
|
}
|
||||||
.btn > a:visited {
|
.btn > a:visited {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn__icon {
|
.btn__icon {
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin-inline-end: 8px;
|
margin-right: 8px;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
:root.theme-dark .btn:not(.btn--primary) {
|
:root.theme-dark .btn:not(.btn--primary) {
|
||||||
--btn-bg: var(--grey-10-a10);
|
--btn-bg: var(--grey-10-a10);
|
||||||
--btn-bg-hover: var(--grey-10-a20);
|
--btn-bg-hover: var(--grey-10-a20);
|
||||||
--btn-bg-active: var(--grey-10-a30);
|
--btn-bg-active: var(--grey-10-a30);
|
||||||
--btn-color: var(--grey-10);
|
--btn-color: var(--grey-10);
|
||||||
}
|
}
|
||||||
:root.theme-dark .btn__dropdown-arrow::before {
|
:root.theme-dark .btn__dropdown-arrow::before {
|
||||||
content: url("icons/arrow_down_light.svg");
|
content: url("icons/arrow_down_light.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ------------------------ */
|
/* ------------------------ */
|
||||||
/* ------ Typography ------ */
|
/* ------ Typography ------ */
|
||||||
/* ------------------------ */
|
/* ------------------------ */
|
||||||
|
|
||||||
.display {}
|
.display {}
|
||||||
.display--20 {
|
.display--20 {
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.title {}
|
.title {}
|
||||||
.title--40,
|
.title--40,
|
||||||
.title--30 {
|
.title--30 {
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title--20,
|
.title--20,
|
||||||
.title--10 {
|
.title--10 {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title--40 { font-size: 28px; }
|
.title--40 { font-size: 28px; }
|
||||||
.title--30 { font-size: 22px; }
|
.title--30 { font-size: 22px; }
|
||||||
.title--20 { font-size: 17px; }
|
.title--20 { font-size: 17px; }
|
||||||
.title--10 { font-size: 13px; }
|
.title--10 { font-size: 13px; }
|
||||||
|
|
||||||
|
|
||||||
.body { font-weight: 400; }
|
.body { font-weight: 400; }
|
||||||
.body > em { font-weight: 700; }
|
.body > em { font-weight: 700; }
|
||||||
|
|
||||||
.body--30 { font-size: 17px; }
|
.body--30 { font-size: 17px; }
|
||||||
.body--20 { font-size: 15px; }
|
.body--20 { font-size: 15px; }
|
||||||
.body--10 { font-size: 13px; }
|
.body--10 { font-size: 13px; }
|
||||||
|
|
||||||
|
|
||||||
.caption {
|
.caption {
|
||||||
color: GrayText;
|
color: GrayText;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
.caption > em {
|
.caption > em {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
.caption--30 { font-size: 15px; }
|
.caption--30 { font-size: 15px; }
|
||||||
.caption--20 { font-size: 13px; }
|
.caption--20 { font-size: 13px; }
|
||||||
.caption--10 { font-size: 11px; }
|
.caption--10 { font-size: 11px; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user