jam/src/components/Receive.module.css

100 lines
1.5 KiB
CSS
Raw Normal View History

ui: Earn screen figma alignment (#304) * ui: show config options on Earn screen only in advanced mode * refactor: externalize AdvancedModeToggleButton component to own file * refactor: ToggleSwitch from jsx to tsx * refactor: pass api result down the promise chain on Earn page * ui: center offertype toggle switch on Earn page * ui: ability to add an 'off' label and subtitle to ToggleSwitch * ui: add label to off state of offertype toggle switch on Earn page * ui: add individual 'simple/advanced view' toggle to Earn screen * ui: add prefix to inputs on Earn page * fix: do not populate fee rel with zero when no input is given * refactor: move styles for Earn page from global to module file * Revert "ui: ability to add an 'off' label and subtitle to ToggleSwitch" This reverts commit 04edc2914e1365d6333afdd237dd898f9fe96876. * Revert "ui: add label to off state of offertype toggle switch on Earn page" This reverts commit 3142131e47c20e2cf7bb09032275f6e92e669252. * Revert "ui: add individual 'simple/advanced view' toggle to Earn screen" This reverts commit 0f850f3e2869b40eebe45d1462eb6e2b6d3dcffe. * Revert "refactor: externalize AdvancedModeToggleButton component to own file" This reverts commit 6bf5445265202c53d4c1b74177a543276a9fa8b9. * dev: move styles for Receive screen to module * review: replace toggle with 'advanced' form dropdown in Earn screen * review: add RadioTabs component * review: use RadioTabs for offertype on Earn screen * fix: title in RadioTab * feedback: style updates * feedback: rename control element Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>
2022-06-07 11:19:21 +02:00
.receive hr {
border-color: rgba(222, 222, 222, 1);
ui: Earn screen figma alignment (#304) * ui: show config options on Earn screen only in advanced mode * refactor: externalize AdvancedModeToggleButton component to own file * refactor: ToggleSwitch from jsx to tsx * refactor: pass api result down the promise chain on Earn page * ui: center offertype toggle switch on Earn page * ui: ability to add an 'off' label and subtitle to ToggleSwitch * ui: add label to off state of offertype toggle switch on Earn page * ui: add individual 'simple/advanced view' toggle to Earn screen * ui: add prefix to inputs on Earn page * fix: do not populate fee rel with zero when no input is given * refactor: move styles for Earn page from global to module file * Revert "ui: ability to add an 'off' label and subtitle to ToggleSwitch" This reverts commit 04edc2914e1365d6333afdd237dd898f9fe96876. * Revert "ui: add label to off state of offertype toggle switch on Earn page" This reverts commit 3142131e47c20e2cf7bb09032275f6e92e669252. * Revert "ui: add individual 'simple/advanced view' toggle to Earn screen" This reverts commit 0f850f3e2869b40eebe45d1462eb6e2b6d3dcffe. * Revert "refactor: externalize AdvancedModeToggleButton component to own file" This reverts commit 6bf5445265202c53d4c1b74177a543276a9fa8b9. * dev: move styles for Receive screen to module * review: replace toggle with 'advanced' form dropdown in Earn screen * review: add RadioTabs component * review: use RadioTabs for offertype on Earn screen * fix: title in RadioTab * feedback: style updates * feedback: rename control element Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>
2022-06-07 11:19:21 +02:00
opacity: 100%;
}
:root[data-theme='dark'] .receive hr {
border-color: var(--bs-gray-800);
ui: Earn screen figma alignment (#304) * ui: show config options on Earn screen only in advanced mode * refactor: externalize AdvancedModeToggleButton component to own file * refactor: ToggleSwitch from jsx to tsx * refactor: pass api result down the promise chain on Earn page * ui: center offertype toggle switch on Earn page * ui: ability to add an 'off' label and subtitle to ToggleSwitch * ui: add label to off state of offertype toggle switch on Earn page * ui: add individual 'simple/advanced view' toggle to Earn screen * ui: add prefix to inputs on Earn page * fix: do not populate fee rel with zero when no input is given * refactor: move styles for Earn page from global to module file * Revert "ui: ability to add an 'off' label and subtitle to ToggleSwitch" This reverts commit 04edc2914e1365d6333afdd237dd898f9fe96876. * Revert "ui: add label to off state of offertype toggle switch on Earn page" This reverts commit 3142131e47c20e2cf7bb09032275f6e92e669252. * Revert "ui: add individual 'simple/advanced view' toggle to Earn screen" This reverts commit 0f850f3e2869b40eebe45d1462eb6e2b6d3dcffe. * Revert "refactor: externalize AdvancedModeToggleButton component to own file" This reverts commit 6bf5445265202c53d4c1b74177a543276a9fa8b9. * dev: move styles for Receive screen to module * review: replace toggle with 'advanced' form dropdown in Earn screen * review: add RadioTabs component * review: use RadioTabs for offertype on Earn screen * fix: title in RadioTab * feedback: style updates * feedback: rename control element Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>
2022-06-07 11:19:21 +02:00
opacity: 100%;
}
.receive button {
padding: 0.25rem 1rem;
font-weight: 500;
border-color: rgba(222, 222, 222, 1);
}
.receive form input {
height: 3.5rem;
width: 100%;
}
.receive select {
height: 3.5rem;
width: 100%;
}
.receive-placeholder-container {
height: 1.5rem;
text-align: center;
margin-bottom: 1rem;
}
.receive-placeholder {
height: 1.5rem;
}
.inputGroupText {
width: 5ch;
display: inline-flex;
justify-content: center;
align-items: center;
font-size: 1.2rem;
}
.qr-container {
display: flex;
justify-content: center;
min-height: 16.25rem;
}
.receive-placeholder-qr-container {
width: 16.25rem;
}
.receive-placeholder-qr {
width: 13.75rem;
height: 13.75rem;
margin: 1.25rem;
}
:root[data-theme='dark'] .receive-placeholder-qr {
width: 16.25rem;
height: 16.25rem;
margin: 0;
}
.address {
font-size: 0.75rem;
padding: 1rem 0 1rem;
}
.jarsContainer {
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 2rem;
color: var(--bs-body-color);
margin-bottom: 3rem;
}
.jarsPlaceholder {
width: 100%;
height: 8.5rem;
margin-bottom: 2rem;
}
@media only screen and (min-width: 768px) {
.address {
font-size: var(--bs-body-font-size);
padding: 0;
}
.jarsContainer {
gap: 1.5rem;
flex-wrap: nowrap;
justify-content: space-between;
}
}