2023-11-29 23:26:09 -08:00
|
|
|
@import "variables.scss";
|
|
|
|
@import "mixins.scss";
|
|
|
|
|
2023-12-27 23:31:00 -08:00
|
|
|
.bergamot-exercise {
|
|
|
|
counter-increment: bergamot-exercise;
|
|
|
|
|
|
|
|
.bergamot-root {
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bergamot-exercise-label {
|
|
|
|
.bergamot-exercise-number::after {
|
|
|
|
content: "Exercise " counter(bergamot-exercise);
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bergamot-button {
|
|
|
|
@include bordered-block;
|
|
|
|
padding: 0.25em;
|
|
|
|
padding-left: 1em;
|
|
|
|
padding-right: 1em;
|
|
|
|
background-color: inherit;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
transition: 0.25s;
|
|
|
|
font-family: $font-body;
|
|
|
|
@include var(color, text-color);
|
|
|
|
|
|
|
|
&.bergamot-hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.feather {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bergamot-play {
|
|
|
|
.feather { color: $primary-color; }
|
|
|
|
&:hover, &:focus {
|
|
|
|
.feather { color: lighten($primary-color, 20%); }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bergamot-reset {
|
|
|
|
.feather { color: #0099CC; }
|
|
|
|
&:hover, &:focus {
|
|
|
|
.feather { color: lighten(#0099CC, 20%); }
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bergamot-close {
|
|
|
|
.feather { color: tomato; }
|
|
|
|
&:hover, &:focus {
|
|
|
|
.feather { color: lighten(tomato, 20%); }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bergamot-button-group {
|
2023-12-28 00:12:51 -08:00
|
|
|
margin-top: 1em;
|
2023-12-27 23:31:00 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-29 23:26:09 -08:00
|
|
|
.bergamot-root {
|
|
|
|
@include bordered-block;
|
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
.bergamot-section-heading {
|
|
|
|
margin-bottom: 0.5em;
|
2023-12-21 17:26:19 -08:00
|
|
|
font-family: $font-body;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 1.25em;
|
2023-11-29 23:26:09 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.bergamot-section {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 10em;
|
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="text"] {
|
|
|
|
width: 100%;
|
|
|
|
@include textual-input;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bergamot-rule-list {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bergamot-rule-list katex-expression {
|
|
|
|
margin-left: .5em;
|
|
|
|
margin-right: .5em;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-basis: 0;
|
|
|
|
}
|
|
|
|
|
2023-12-21 17:26:19 -08:00
|
|
|
.bergamot-rule-section {
|
|
|
|
.bergamot-rule-section-name {
|
|
|
|
text-align: center;
|
|
|
|
margin: 0.25em;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-21 21:27:39 -08:00
|
|
|
.bergamot-proof-tree {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2023-12-25 18:42:29 -08:00
|
|
|
.bergamot-error {
|
|
|
|
@include bordered-block;
|
|
|
|
padding: 0.5rem;
|
|
|
|
border-color: tomato;
|
|
|
|
background-color: rgba(tomato, 0.25);
|
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
|
|
|
|
2023-12-03 00:01:49 -08:00
|
|
|
.bergamot-selector {
|
|
|
|
button {
|
|
|
|
@include var(background-color, background-color);
|
|
|
|
@include var(color, text-color);
|
|
|
|
@include bordered-block;
|
|
|
|
padding: 0.5rem;
|
|
|
|
font-family: $font-body;
|
2023-12-22 16:04:04 -08:00
|
|
|
border-style: dotted;
|
2023-12-03 00:01:49 -08:00
|
|
|
|
|
|
|
&.active {
|
|
|
|
border-color: $primary-color;
|
2023-12-22 16:04:04 -08:00
|
|
|
border-style: solid;
|
2023-12-03 00:01:49 -08:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:first-child) {
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-right-width: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button.active + button {
|
|
|
|
border-left-color: $primary-color;
|
2023-12-22 16:04:04 -08:00
|
|
|
border-left-style: solid;
|
2023-12-03 00:01:49 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
2023-12-28 13:20:19 -08:00
|
|
|
|
|
|
|
.bergamot-no-proofs {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2023-12-03 00:01:49 -08:00
|
|
|
}
|