Revision control

Copy as Markdown

Other Tools

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/. */
:root {
--main-title-size: 1.8rem;
--title-icon-margin: 8px;
}
*[hidden] {
display: none !important;
}
body {
text-shadow: none;
background-color: rgba(0, 0, 0, 0.03);
}
h1 {
padding-top: 0;
margin: 0 0 8px;
font-size: var(--main-title-size);
font-weight: 300;
line-height: 1.3;
}
h2 {
margin: 0 0 4px;
font-size: 1.4rem;
font-weight: 600;
line-height: 1.4;
}
.light-heading {
font-weight: 300;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
p {
line-height: 1.8em;
margin: 0;
}
progress {
width: 100%;
}
dl {
display: grid;
grid-template-columns: [label] max-content [value] minmax(min-content, auto);
column-gap: 1ch;
& div {
display: grid;
grid-column: 1 / 3;
grid-template-columns: subgrid;
grid-template-rows: subgrid;
}
}
dt {
font-weight: 600;
grid-area: label;
}
dd {
grid-area: value;
margin: 0;
}
#csvFieldMap {
margin-top: 2rem;
display: block;
& table {
margin-top: 1rem;
table-layout: fixed;
width: 100%;
border-collapse: collapse;
font-size: 1rem;
}
& th {
font-weight: 600;
}
& th,
& td {
border-bottom: 1px solid var(--in-content-page-color);
}
& th:last-child {
width: 2rem;
}
& td:last-child {
text-align: end;
}
& select {
line-height: 1.2;
background-position-x: right 10px;
padding-inline-start: 8px;
margin-inline-start: 0;
width: 100%;
&:dir(rtl) {
background-position-x: left 10px;
}
}
& input {
margin-top: 4px;
}
}
#main {
margin: 4em;
min-width: 400px;
max-width: 600px;
& .buttons-container {
margin-top: 1.5em;
display: flex;
justify-content: space-between;
& button {
margin: 0;
}
& .continue {
margin-inline-start: auto;
}
}
}
.tabPane {
& > section {
background-color: var(--in-content-box-background);
border-radius: var(--in-content-button-border-radius);
padding: 2em calc(var(--main-title-size) + var(--title-icon-margin) + 1em);
}
& h1 {
position: relative;
}
& h1::before {
content: "";
background-repeat: no-repeat;
background-position: bottom center;
display: inline-block;
width: 24px;
height: 24px;
-moz-context-properties: fill, stroke;
fill: color-mix(in srgb, currentColor 20%, transparent);
stroke: currentColor;
color: var(--primary);
margin-inline-end: var(--title-icon-margin);
position: absolute;
inset-inline-start: calc(-1 * (var(--main-title-size) + var(--title-icon-margin)));
}
#tabPane-start& h1::before {
background-image: var(--icon-import-lg);
}
#tabPane-export& h1::before {
background-image: var(--icon-export-lg);
}
& > section > .center-button {
margin-inline: auto;
}
}
.source-list {
padding: 1em 0;
}
.profile-list {
padding-top: 0.5em;
}
.option-list {
padding: 1em 0;
list-style: none;
}
#calendarItemsTools {
margin-top: 1rem;
display: flex;
align-items: center;
& input {
flex: 1;
padding-inline: 0.5rem;
height: 32px;
}
}
#calendar-item-list {
height: 60vh;
overflow: auto;
background-color: rgba(215, 215, 219, 0.2);
margin-top: 1rem;
margin-inline: 2px;
}
.calendar-item-wrapper {
margin: 1rem;
padding: 1rem;
display: flex;
background: var(--in-content-page-background);
}
.notificationbox-stack notification-message:last-child {
margin-block-end: 12px;
}
/* Override common.css */
.toggle-container-with-text {
grid-template-columns: min-content 1fr;
display: grid;
grid-template-areas:
"i text"
". desc";
margin-block: 1em;
line-height: 1.5;
&:last-child {
margin-block-end: 0;
}
& input {
grid-area: i;
}
& p:last-of-type {
grid-area: desc;
}
& p:first-of-type {
grid-area: text;
}
& .tip-caption dt {
color: var(--in-content-page-color);
}
}
#tabPane-export p {
margin-bottom: 1rem;
}
/* Override calendar-item-summary.css */
calendar-item-summary {
font-size: 1rem;
width: 100%;
}
.calendar-caption {
display: none;
}
.item-description {
border: 1px solid var(--in-content-page-color);
margin: 2px 4px 0;
min-height: 10em;
}
.summary-items {
list-style-image: var(--icon-check);
list-style-position: inside;
-moz-context-properties: stroke;
stroke: var(--color-green-60);
line-height: 1.8;
}
.center-button {
display: block;
margin-block: 1em;
margin-inline: auto;
a& {
max-width: max-content;
}
}
.progressPane,
.center {
text-align: center;
}
/* Conditionally visible elements */
.restart-only,
.progressFinish,
.progressPane {
display: none;
}
.restart-required .restart-only {
display: inherit;
}
.progress .before-progress {
display: none;
}
.progress .progressPane,
.complete .progressFinish {
display: inherit;
}
.final-step .next-button,
.restart-required .no-restart {
display: none;
}
.complete .progressFinish.center-button {
display: block;
}
/* Icons */
.icon {
object-fit: contain;
vertical-align: middle;
-moz-context-properties: fill, stroke;
fill: color-mix(in srgb, currentColor 20%, transparent);
stroke: currentColor;
&.info {
color: var(--primary);
}
&.warn {
color: var(--color-orange-40);
}
}
.back {
background-image: var(--icon-nav-left);
background-repeat: no-repeat;
background-position: 0.5em center;
-moz-context-properties: stroke;
stroke: currentColor;
padding-inline-start: 1em;
&:dir(rtl) {
background-image: var(--icon-nav-right);
background-position-x: right 0.5em;
}
}
#importFooter {
margin-block-start: 4em;
text-align: center;
}
/* Navigation steps */
#stepNav {
display: flex;
flex-direction: row;
align-items: center;
list-style-type: none;
padding: 0;
margin: 0;
margin-block-end: 2em;
margin-inline: 1em;
--step-size: var(--in-content-button-height);
& button {
border-radius: var(--step-size);
height: var(--step-size);
width: var(--step-size);
min-width: var(--step-size);
padding: 0;
margin: 0;
opacity: 1;
box-sizing: border-box;
font-weight: 600;
}
& li {
flex-grow: 1;
font-size: 1.4rem;
display: flex;
align-items: center;
&:first-child {
flex-grow: 0;
}
&:not(:first-child)::before {
content: "";
border-block-start: 2px dashed var(--in-content-button-background);
display: block;
margin-block-start: 1px;
flex-grow: 1;
}
&.current button {
border: 3px solid var(--primary);
background: var(--in-content-box-background);
color: var(--primary);
}
&.completed button {
background: var(--primary);
color: var(--in-content-box-background);
}
&.completed:not(:first-child)::before,
&.current:not(:first-child)::before {
border-block-start: 2px solid var(--primary);
}
}
}
#navConfirm button {
border-radius: var(--in-content-button-border-radius);
width: auto;
font-size: 1rem;
padding-inline: 0.5em;
}