| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- //
- // Settings
- //
- ._settings {
- display: none;
- position: absolute;
- top: 0;
- bottom: 0;
- z-index: $headerZ;
- &._in { display: block; }
- ._sidebar {
- bottom: $headerHeight;
- ._sidebar-hidden & { display: block; }
- }
- ._header {
- justify-content: space-between;
- }
- }
- ._settings-fieldset {
- display: flex;
- margin: 1.5rem 0;
- line-height: 1.5rem;
- }
- ._settings-legend {
- flex: 0 1 10rem;
- margin: 0;
- padding-right: .5rem;
- line-height: inherit;
- font-size: inherit;
- font-weight: $boldFontWeight;
- text-align: right;
- @extend %border-box;
- }
- ._settings-inputs {
- flex: 1 1 20rem;
- }
- ._settings-label {
- margin: 0 0 .375rem;
- > small {
- display: block;
- color: $textColorLight;
- margin-left: 1.75rem;
- }
- input[type=checkbox] {
- display: inline-block;
- vertical-align: top;
- margin: .25rem .375rem;
- }
- }
- @media (max-width: $maxWidth) {
- ._settings-max-width { display: none; }
- }
- ._settings-link {
- display: inline-block;
- vertical-align: top;
- margin-left: .375rem;
- &[data-behavior=reset] {
- font-size: .75rem;
- color: $textColorRed;
- }
- }
- ._footer {
- position: absolute;
- z-index: $headerZ;
- bottom: 0;
- left: 0;
- width: $sidebarWidth;
- height: $headerHeight;
- background: $noteGreenBackground;
- border-top: 1px solid $noteGreenBorder;
- border-right: 1px solid $noteGreenBorder;
- @extend %border-box;
- @extend %user-select-none;
- @media #{$mediumScreen} { width: $sidebarMediumWidth; }
- }
- ._settings-btn {
- display: block;
- height: 100%;
- line-height: 1.5rem;
- padding: 0 .75rem;
- font-size: .875rem;
- font-weight: $boldFontWeight;
- color: inherit;
- text-align: left;
- cursor: pointer;
- @extend %border-box;
- > svg {
- display: inline-block;
- vertical-align: top;
- width: 1.5rem;
- height: 1.5rem;
- margin-right: .125rem;
- fill: currentColor;
- pointer-events: none;
- }
- }
- ._save-btn { width: 100%; }
- //
- // Header tabs
- //
- ._settings-tabs {
- display: none; // mobile only
- margin-right: .5rem;
- line-height: $headerHeight;
- }
- ._settings-tab {
- position: relative;
- display: inline-block;
- vertical-align: top;
- padding: 0 .75rem;
- cursor: pointer;
- &, &:hover {
- color: $textColorLight;
- text-decoration: none;
- }
- &.active {
- color: $textColor;
- font-weight: $boldFontWeight;
- text-decoration: none;
- box-shadow: inset 0 -2px $linkColor;
- }
- }
|