2020-07-24 19:17:43 +02:00
|
|
|
@import 'init/mixins';
|
|
|
|
|
|
|
|
input,
|
|
|
|
textarea,
|
2021-05-15 06:10:28 +02:00
|
|
|
select,
|
|
|
|
.date-picker-input {
|
2020-07-24 19:17:43 +02:00
|
|
|
height: var(--height-input);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
border: 1px solid;
|
|
|
|
color: var(--color-input);
|
|
|
|
border-color: var(--color-input-border);
|
|
|
|
background-color: var(--color-input-bg);
|
|
|
|
padding-right: var(--spacing-s);
|
|
|
|
padding-left: var(--spacing-s);
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
@include focus;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
color: var(--color-input-placeholder);
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
opacity: 0.4;
|
|
|
|
|
|
|
|
& + label {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[type='range'] {
|
|
|
|
height: auto;
|
|
|
|
height: 0.5rem;
|
|
|
|
background-color: var(--color-secondary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
checkbox-element,
|
|
|
|
radio-element,
|
|
|
|
select {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
2020-11-13 21:25:18 +01:00
|
|
|
background-image: var(--select-toggle-background);
|
2020-07-24 19:17:43 +02:00
|
|
|
background-position: 99% center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 1rem;
|
|
|
|
padding-right: var(--spacing-l);
|
|
|
|
padding-left: var(--spacing-s);
|
2020-11-13 21:25:18 +01:00
|
|
|
font-weight: bold;
|
2020-07-24 19:17:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
fieldset-group {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
&.fieldset-group--smushed {
|
|
|
|
fieldset-section + fieldset-section {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset-section,
|
|
|
|
fieldset-group,
|
|
|
|
form,
|
|
|
|
.checkbox,
|
|
|
|
.radio,
|
|
|
|
.form-field--SimpleMDE,
|
|
|
|
.form-field__help {
|
|
|
|
+ fieldset-section,
|
|
|
|
+ fieldset-group,
|
|
|
|
+ form,
|
|
|
|
+ .checkbox,
|
|
|
|
+ .radio,
|
|
|
|
+ .form-field--SimpleMDE {
|
|
|
|
margin-top: var(--spacing-l);
|
|
|
|
}
|
|
|
|
|
|
|
|
+ .form-field__help {
|
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input,
|
|
|
|
select {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset-section,
|
|
|
|
.checkbox,
|
|
|
|
.radio {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
font-size: var(--font-small);
|
|
|
|
color: var(--color-input-label);
|
|
|
|
display: inline-block;
|
2021-02-09 17:05:56 +01:00
|
|
|
margin-bottom: 0.1rem;
|
2020-09-10 17:54:41 +02:00
|
|
|
|
|
|
|
.icon__lbc {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
2020-07-24 19:17:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
input-submit {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
& > *:first-child,
|
|
|
|
& > *:nth-child(2) {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > *:first-child {
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > *:nth-child(2) {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border: 1px solid var(--color-border);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.checkbox,
|
|
|
|
.radio {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
input[type='checkbox'],
|
|
|
|
input[type='radio'] {
|
|
|
|
height: var(--height-checkbox);
|
|
|
|
width: var(--height-checkbox);
|
|
|
|
position: absolute;
|
|
|
|
border: none;
|
|
|
|
left: 0;
|
|
|
|
padding: 0;
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
&:disabled + label {
|
|
|
|
cursor: default;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
font-size: var(--font-base);
|
|
|
|
padding-left: calc(var(--height-checkbox) + var(--spacing-s));
|
|
|
|
min-height: var(--height-checkbox);
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
background-color: var(--color-input-toggle-bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
&::before {
|
|
|
|
background-color: var(--color-input-toggle-bg-hover);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
label::before,
|
|
|
|
label::after {
|
|
|
|
position: absolute;
|
|
|
|
content: '';
|
|
|
|
}
|
|
|
|
|
|
|
|
// Hide the checkmark by default
|
|
|
|
input[type='checkbox'] + label::after,
|
|
|
|
input[type='radio'] + label::after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Unhide on the checked state
|
|
|
|
input[type='checkbox']:checked + label::after,
|
|
|
|
input[type='radio']:checked + label::after {
|
|
|
|
content: '';
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type='checkbox']:focus + label::before,
|
|
|
|
input[type='radio']:focus + label::before {
|
|
|
|
@include focus;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.checkbox {
|
|
|
|
// Outer box of the fake checkbox
|
|
|
|
label::before {
|
|
|
|
height: var(--height-checkbox);
|
|
|
|
width: var(--height-checkbox);
|
|
|
|
border: 1px solid var(--color-input-border);
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
border-radius: 3px;
|
2020-07-24 19:17:43 +02:00
|
|
|
left: 0px;
|
|
|
|
top: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Checkmark of the fake checkbox
|
|
|
|
label::after {
|
|
|
|
height: 6px;
|
|
|
|
width: 12px;
|
|
|
|
border-left: 2px solid;
|
|
|
|
border-bottom: 2px solid;
|
|
|
|
border-color: var(--color-input-toggle);
|
2021-04-26 21:19:17 +02:00
|
|
|
border-left-color: var(--color-input-toggle);
|
2020-07-24 19:17:43 +02:00
|
|
|
transform: rotate(-45deg);
|
|
|
|
left: 6px;
|
|
|
|
top: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.radio {
|
|
|
|
input[type='radio'] {
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Outer box of the fake radio
|
|
|
|
label::before {
|
|
|
|
height: var(--height-radio);
|
|
|
|
width: var(--height-radio);
|
|
|
|
border: 1px solid var(--color-input-border);
|
|
|
|
border-radius: calc(var(--height-radio) * 0.5);
|
|
|
|
left: 0px;
|
|
|
|
top: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Checkmark of the fake radio
|
|
|
|
label::after {
|
|
|
|
height: 12px;
|
|
|
|
width: 12px;
|
|
|
|
border-radius: 50%;
|
2021-04-26 21:19:17 +02:00
|
|
|
background-color: var(--color-primary);
|
2020-07-24 19:17:43 +02:00
|
|
|
left: 6px;
|
|
|
|
top: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.range__label {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
width: 100%;
|
2020-10-23 21:55:19 +02:00
|
|
|
margin-bottom: var(--spacing-m);
|
2020-07-24 19:17:43 +02:00
|
|
|
|
|
|
|
> * {
|
|
|
|
width: 33%;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
&:last-of-type {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fieldset-group {
|
|
|
|
@extend fieldset-group;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fieldset-section {
|
|
|
|
@extend fieldset-section;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-submit {
|
|
|
|
@extend input-submit;
|
|
|
|
}
|
2019-06-28 09:27:55 +02:00
|
|
|
|
2019-05-01 07:16:12 +02:00
|
|
|
input-submit {
|
|
|
|
align-items: center;
|
2020-05-11 17:54:39 +02:00
|
|
|
|
|
|
|
input {
|
|
|
|
z-index: 2;
|
|
|
|
}
|
2019-05-01 07:16:12 +02:00
|
|
|
}
|
2019-02-13 17:27:20 +01:00
|
|
|
|
2019-02-18 18:24:56 +01:00
|
|
|
input[type='number'] {
|
2020-06-16 15:38:35 +02:00
|
|
|
width: 8rem;
|
2019-02-18 18:24:56 +01:00
|
|
|
}
|
|
|
|
|
2019-02-20 06:20:29 +01:00
|
|
|
fieldset-group {
|
2019-11-22 22:13:00 +01:00
|
|
|
+ fieldset-group {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-top: var(--spacing-s);
|
2019-11-22 22:13:00 +01:00
|
|
|
}
|
2019-10-28 15:04:37 +01:00
|
|
|
|
2019-02-20 06:20:29 +01:00
|
|
|
&.fieldset-group--smushed {
|
|
|
|
justify-content: flex-start;
|
2018-03-26 23:32:43 +02:00
|
|
|
|
2019-02-20 06:20:29 +01:00
|
|
|
fieldset-section {
|
|
|
|
width: auto;
|
2019-11-19 18:41:31 +01:00
|
|
|
margin: 0;
|
2018-04-01 12:46:38 +02:00
|
|
|
|
2019-08-19 18:10:48 +02:00
|
|
|
&:first-child {
|
|
|
|
input,
|
|
|
|
select {
|
2019-02-20 06:20:29 +01:00
|
|
|
border-right: none;
|
2019-05-08 03:29:30 +02:00
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-of-type(2) {
|
|
|
|
input,
|
|
|
|
select {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
2019-02-20 06:20:29 +01:00
|
|
|
}
|
2020-09-04 19:14:48 +02:00
|
|
|
|
|
|
|
label {
|
|
|
|
margin-left: var(--spacing-s);
|
|
|
|
}
|
2019-02-20 06:20:29 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.fieldgroup--paginate {
|
2020-06-01 19:03:19 +02:00
|
|
|
padding-bottom: var(--spacing-l);
|
|
|
|
margin-top: var(--spacing-l);
|
2019-06-11 20:10:58 +02:00
|
|
|
align-items: flex-end;
|
2019-02-20 06:20:29 +01:00
|
|
|
justify-content: center;
|
2019-02-13 17:27:20 +01:00
|
|
|
}
|
2017-10-15 00:37:40 +02:00
|
|
|
}
|
2018-03-22 17:14:26 +01:00
|
|
|
|
2019-02-20 06:20:29 +01:00
|
|
|
// This is a special case where the prefix appears "inside" the input
|
|
|
|
// It would be way simpler to just use position: absolute and give it a width
|
|
|
|
// but the width can change when we use it for the name prefix
|
|
|
|
// lbry:// {input}, lbry://@short {input}, @lbry://longername {input}
|
|
|
|
// The spacing/alignment isn't very robust and will probably need to be changed
|
|
|
|
// if we use this in more places
|
|
|
|
&.fieldset-group--disabled-prefix {
|
|
|
|
align-items: flex-end;
|
|
|
|
|
2019-02-21 23:45:17 +01:00
|
|
|
label {
|
|
|
|
min-height: 18px;
|
2019-08-27 16:43:42 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
// Set width 0 and overflow visible so the label can act as if it's the input label and not a random text node in a side by side div
|
|
|
|
overflow: visible;
|
|
|
|
width: 0;
|
2019-02-21 23:45:17 +01:00
|
|
|
}
|
|
|
|
|
2019-02-20 06:20:29 +01:00
|
|
|
fieldset-section:first-child {
|
2020-06-08 07:13:48 +02:00
|
|
|
max-width: 40%;
|
|
|
|
|
2019-02-20 06:20:29 +01:00
|
|
|
.form-field__prefix {
|
2019-02-21 23:45:17 +01:00
|
|
|
white-space: nowrap;
|
2020-06-08 07:13:48 +02:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2019-11-22 22:13:00 +01:00
|
|
|
padding: 0.5rem;
|
|
|
|
height: var(--height-input);
|
2019-02-20 06:20:29 +01:00
|
|
|
border: 1px solid;
|
2019-11-22 22:13:00 +01:00
|
|
|
border-top-left-radius: var(--border-radius);
|
|
|
|
border-bottom-left-radius: var(--border-radius);
|
|
|
|
border-color: var(--color-input-border);
|
2021-04-27 17:29:39 +02:00
|
|
|
border-right-color: var(--color-input-prefix-border);
|
|
|
|
color: var(--color-text);
|
|
|
|
background-color: var(--color-input-prefix-bg);
|
2019-02-20 06:20:29 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset-section:last-child {
|
|
|
|
width: 100%;
|
|
|
|
|
2020-06-08 08:29:52 +02:00
|
|
|
label {
|
|
|
|
// Overwrite the input's label to wrap instead. This is usually
|
|
|
|
// an error message, which could be long in other languages.
|
|
|
|
width: 100%;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
2019-02-20 06:20:29 +01:00
|
|
|
input {
|
|
|
|
border-left: 0;
|
2019-05-08 03:29:30 +02:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
2019-11-22 22:13:00 +01:00
|
|
|
border-color: var(--color-input-border);
|
2020-06-01 19:03:19 +02:00
|
|
|
padding-left: var(--spacing-xs);
|
2019-07-24 02:12:34 +02:00
|
|
|
}
|
2019-02-13 17:27:20 +01:00
|
|
|
}
|
2018-06-13 07:20:53 +02:00
|
|
|
}
|
2017-04-09 17:06:23 +02:00
|
|
|
}
|
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
.form-field--copyable {
|
|
|
|
padding: 0.2rem 0.75rem;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
user-select: text;
|
2019-02-20 06:20:29 +01:00
|
|
|
cursor: default;
|
2017-04-09 17:06:23 +02:00
|
|
|
}
|
|
|
|
|
2019-09-26 18:07:11 +02:00
|
|
|
.form-field--short {
|
2020-09-03 22:05:38 +02:00
|
|
|
width: 100%;
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
width: 25em;
|
|
|
|
}
|
2019-09-26 18:07:11 +02:00
|
|
|
}
|
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
.form-field--price-amount {
|
2021-05-27 02:25:09 +02:00
|
|
|
max-width: 6em;
|
2017-04-09 17:06:23 +02:00
|
|
|
}
|
2018-03-26 23:32:43 +02:00
|
|
|
|
2021-03-25 12:24:49 +01:00
|
|
|
.form-field--price-amount--auto {
|
|
|
|
width: auto;
|
|
|
|
min-width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
.form-field--address {
|
2019-09-30 23:48:30 +02:00
|
|
|
min-width: 18em;
|
2021-05-27 02:25:09 +02:00
|
|
|
@media (max-width: $breakpoint-xxsmall) {
|
|
|
|
min-width: 10em;
|
|
|
|
}
|
2018-05-25 06:36:43 +02:00
|
|
|
}
|
2019-12-13 20:47:50 +01:00
|
|
|
|
|
|
|
.form-field__help {
|
|
|
|
@extend .help;
|
|
|
|
}
|
|
|
|
|
2019-12-18 06:27:08 +01:00
|
|
|
.form-field__help + .checkbox,
|
|
|
|
.form-field__help + .radio {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-top: var(--spacing-l);
|
2019-12-18 06:27:08 +01:00
|
|
|
}
|
|
|
|
|
2019-12-13 20:47:50 +01:00
|
|
|
.form-field__conjuction {
|
|
|
|
padding-top: 1rem;
|
|
|
|
}
|
|
|
|
|
2020-05-21 09:25:37 +02:00
|
|
|
.form-field__two-column {
|
2020-08-24 19:35:21 +02:00
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
column-count: 2;
|
|
|
|
}
|
2020-05-21 09:25:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-field__quick-action {
|
|
|
|
float: right;
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
margin-top: 2.5%;
|
|
|
|
}
|
|
|
|
|
2021-04-23 21:59:48 +02:00
|
|
|
.form-field__textarea-info {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: var(--spacing-xxs);
|
|
|
|
margin-bottom: var(--spacing-s);
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-field__quick-emojis {
|
|
|
|
> *:not(:last-child) {
|
|
|
|
margin-right: var(--spacing-s);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-13 20:47:50 +01:00
|
|
|
fieldset-section {
|
|
|
|
.form-field__internal-option {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-top: var(--spacing-s);
|
2019-12-13 20:47:50 +01:00
|
|
|
margin-left: 2.2rem;
|
|
|
|
|
|
|
|
&:first-of-type {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-top: var(--spacing-s); // Extra specificity needed here since _section.scss is applied after this file
|
2019-12-13 20:47:50 +01:00
|
|
|
}
|
|
|
|
}
|
2020-08-24 19:35:21 +02:00
|
|
|
|
|
|
|
.select--slim {
|
2021-02-11 06:12:41 +01:00
|
|
|
margin-bottom: var(--spacing-xxs);
|
|
|
|
|
2020-09-08 19:06:34 +02:00
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
|
2020-08-24 19:35:21 +02:00
|
|
|
select {
|
|
|
|
max-height: 1.5rem !important;
|
|
|
|
padding: 0 var(--spacing-xs);
|
2020-08-24 20:57:19 +02:00
|
|
|
padding-right: var(--spacing-l);
|
2020-08-24 19:35:21 +02:00
|
|
|
}
|
|
|
|
}
|
2019-12-13 20:47:50 +01:00
|
|
|
}
|
2021-04-03 07:49:19 +02:00
|
|
|
|
|
|
|
#automatic_dark_mode_range_start,
|
|
|
|
#automatic_dark_mode_range_end {
|
|
|
|
min-width: 6em;
|
|
|
|
}
|
2021-05-15 06:10:28 +02:00
|
|
|
|
|
|
|
.date-picker-input {
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
.react-datetime-picker__wrapper {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-field-date-picker {
|
|
|
|
margin-bottom: var(--spacing-l);
|
|
|
|
|
|
|
|
label {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.date-picker-input,
|
|
|
|
.button--link {
|
|
|
|
margin-right: var(--spacing-m);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-datetime-picker__button {
|
|
|
|
svg {
|
|
|
|
stroke: var(--color-text);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-datetime-picker__button:enabled:hover .react-datetime-picker__button__icon,
|
|
|
|
.react-datetime-picker__button:enabled:focus .react-datetime-picker__button__icon {
|
|
|
|
stroke: var(--color-primary);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-date-picker__calendar {
|
|
|
|
z-index: 1000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar {
|
|
|
|
width: 350px;
|
|
|
|
max-width: 100%;
|
|
|
|
background: var(--color-card-background);
|
|
|
|
border: 1px solid #a0a096;
|
|
|
|
font-family: inherit;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar--doubleView {
|
|
|
|
width: 700px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar--doubleView .react-calendar__viewContainer {
|
|
|
|
display: flex;
|
|
|
|
margin: -0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar--doubleView .react-calendar__viewContainer > * {
|
|
|
|
width: 50%;
|
|
|
|
margin: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar,
|
|
|
|
.react-calendar *,
|
|
|
|
.react-calendar *:before,
|
|
|
|
.react-calendar *:after {
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 2px 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar button {
|
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar button:enabled:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__navigation {
|
|
|
|
height: 44px;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
color: var(--color-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__navigation__label {
|
|
|
|
color: var(--color-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__navigation button {
|
|
|
|
min-width: 44px;
|
|
|
|
background: none;
|
|
|
|
color: var(--color-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__navigation button:enabled:hover,
|
|
|
|
.react-calendar__navigation button:enabled:focus {
|
|
|
|
background: var(--color-button-alt-bg-hover);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__navigation button[disabled] {
|
|
|
|
color: var(--color-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__month-view__weekdays {
|
|
|
|
text-align: center;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 0.75em;
|
|
|
|
color: var(--color-text-alt);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__month-view__weekdays__weekday {
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__month-view__weekNumbers {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__month-view__weekNumbers .react-calendar__tile {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
font-size: 0.75em;
|
|
|
|
padding: calc(0.75em / 0.75) calc(0.5em / 0.75);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__month-view__days__day,
|
|
|
|
.react-calendar__month-view__days__day--weekend {
|
|
|
|
color: var(--color-text);
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__month-view__days__day--neighboringMonth {
|
|
|
|
color: var(--color-gray-5);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__year-view .react-calendar__tile,
|
|
|
|
.react-calendar__decade-view .react-calendar__tile,
|
|
|
|
.react-calendar__century-view .react-calendar__tile {
|
|
|
|
padding: 2em 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__tile {
|
|
|
|
max-width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
padding: 0.75em 0.5em;
|
|
|
|
background: none;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
color: var(--color-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__tile:enabled:hover,
|
|
|
|
.react-calendar__tile:enabled:focus {
|
|
|
|
background: var(--color-button-alt-bg-hover);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__tile--now {
|
|
|
|
background: var(--color-button-secondary-bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__tile--now:enabled:hover,
|
|
|
|
.react-calendar__tile--now:enabled:focus {
|
|
|
|
background: var(--color-button-secondary-bg-hover);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__tile--hasActive {
|
|
|
|
color: var(--color-button-primary-text);
|
|
|
|
background: var(--color-button-primary-bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__tile--hasActive:enabled:hover,
|
|
|
|
.react-calendar__tile--hasActive:enabled:focus {
|
|
|
|
background: var(--color-button-primary-bg-hover);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__tile--active {
|
|
|
|
color: var(--color-button-primary-text);
|
|
|
|
background: var(--color-button-primary-bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__tile--active:enabled:hover,
|
|
|
|
.react-calendar__tile--active:enabled:focus {
|
|
|
|
background: var(--color-button-primary-bg-hover);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar--selectRange .react-calendar__tile--hover {
|
|
|
|
background-color: #e6e6e6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-datetime-picker__inputGroup__amPm {
|
|
|
|
background: var(--color-input-bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-datetime-picker__inputGroup__leadingZero {
|
|
|
|
// Not perfect, but good enough for our standard zoom levels.
|
|
|
|
margin-bottom: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-datetime-picker__inputGroup__input--hasLeadingZero {
|
|
|
|
margin-left: -0.54em;
|
|
|
|
padding-left: calc(1px + 0.54em);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-calendar__month-view__days__day--neighboringMonth {
|
|
|
|
color: var(--color-gray-5);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-field-calendar {
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
border: 1px solid var(--color-border);
|
|
|
|
margin-left: calc(var(--spacing-xs) * -1);
|
|
|
|
margin-bottom: var(--spacing-xs);
|
|
|
|
animation: menu-animate-in var(--animation-duration) var(--animation-style);
|
|
|
|
box-shadow: 3px 3px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|