| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458 |
- html {
- display: flex;
- align-items: center;
- justify-content: center;
- height: 100vh;
- background: none;
- }
- body {
- background: none;
- margin: 0;
- font-family: "Helvetica Neue", Helvetica, sans-serif;
- font-size: 12px;
- display: flex;
- flex-direction: column;
- width: auto;
- max-width: 800px;
- max-height: calc(100vh - 32px);
- border: 1px solid #999;
- box-shadow: 0px 5px 15px 3px hsla(0, 0%, 0%, .35);
- animation: scalein .25s ease-in-out;
- }
- body.scaleout {
- animation: scaleout .25s ease-in-out;
- }
- #options {
- background: #fff;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- }
- .options-wrapper {
- overflow-y: auto;
- }
- a {
- color: #000;
- transition: color .5s;
- }
- a:hover {
- color: #666;
- }
- a:hover .svg-icon,
- .svg-icon:hover {
- fill: #000;
- }
- .svg-inline-wrapper .svg-icon {
- pointer-events: none;
- }
- #options-close-icon .svg-icon {
- fill: #666;
- transition: fill .5s;
- }
- #options-close-icon:hover .svg-icon {
- fill: #000;
- }
- #options-close-icon {
- display: inline-flex;
- cursor: pointer;
- position: absolute;
- right: 6px;
- top: 6px;
- }
- #options-close-icon .svg-icon {
- height: 20px;
- width: 20px;
- }
- #options-title {
- font-weight: bold;
- background-color: rgb(145, 208, 198);
- padding: .75rem 26px .75rem calc(30% + 4px);
- font-size: 22px;
- letter-spacing: .5px;
- position: relative;
- min-height: 42px;
- box-sizing: border-box;
- border-bottom: 1px solid #999;
- }
- #options-title::before {
- content: "";
- width: 0;
- height: 0;
- padding: 0 32px 32px 0;
- background: url(/images/icon/32.png);
- position: absolute;
- left: 26px;
- top: 0;
- bottom: 0;
- margin: auto;
- }
- .firefox .chromium-only,
- .chromium-only.chrome-no-popup-border {
- display: none;
- }
- .block {
- display: flex;
- align-items: center;
- margin: 1em 0;
- border-bottom: 1px dotted #ccc;
- padding: 0 16px .75em;
- position: relative;
- }
- .options-wrapper .block:last-child {
- margin-bottom: 0;
- border-bottom: none;
- }
- .collapsed, .collapsible h1 {
- cursor: pointer;
- }
- .collapsed .items {
- display: none;
- }
- h1 {
- min-width: 30%;
- width: 30%;
- margin: 0;
- font-size: 120%;
- font-weight: bold;
- padding-right: 8px;
- box-sizing: border-box;
- overflow-wrap: break-word;
- }
- .items {
- min-width: 70%;
- width: 70%;
- }
- label,
- .label {
- display: flex;
- margin: .25ex 0;
- align-items: center;
- }
- .label {
- flex-grow: 1;
- justify-content: space-between;
- }
- label > :first-child {
- margin-right: 8px;
- flex-grow: 1;
- transition: text-shadow .1s;
- }
- label:not([disabled]),
- label:not([disabled]) :not([type="number"]) {
- cursor: pointer;
- }
- label:not([disabled]):hover > :first-child {
- text-shadow: 0 0 0.01px rgba(0, 0, 0, .25);
- }
- input[type=number],
- input[type="color"],
- select,
- .onoffswitch {
- width: 60px;
- box-sizing: border-box;
- flex-shrink: 0;
- }
- select.cloud-name {
- width: auto;
- }
- button {
- text-align: center;
- }
- input[type=number] {
- text-align: right;
- }
- input[type=number]:invalid,
- input[type=text]:invalid {
- background-color: rgba(255, 0, 0, 0.1);
- color: darkred;
- }
- input[type="color"] {
- box-sizing: border-box;
- height: 2em;
- }
- .iconset {
- display: flex;
- }
- .iconset input {
- display: block;
- }
- .iconset input[type="radio"] {
- margin: 2px 4px 0 0;
- }
- #actions {
- justify-content: space-around;
- align-items: stretch;
- flex-wrap: wrap;
- padding: .5em 1em 1em;
- white-space: nowrap;
- background-color: rgba(0, 0, 0, .05);
- margin: 0;
- border-top: 1px solid #999;
- border-bottom: none;
- min-height: min-content; /* workaround for old Chrome ~70 bug when the window height is small */
- }
- #actions button {
- width: auto;
- margin-top: .5em;
- }
- #actions button:not(:last-child) {
- margin-right: 4px;
- }
- [data-cmd="check-updates"] button {
- position: relative;
- }
- .update-in-progress [data-cmd="check-updates"] {
- opacity: .5;
- pointer-events: none;
- }
- .update-in-progress #update-progress {
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- background-color: currentColor;
- content: "";
- opacity: .35;
- }
- #updates-installed {
- position: absolute;
- font-size: 85%;
- margin-top: 1px;
- }
- #updates-installed::after {
- content: attr(data-value);
- margin-left: .5ex;
- font-weight: bold;
- }
- #updates-installed:not([data-value]),
- #updates-installed[data-value=""] {
- display: none;
- }
- #advanced.collapsible.collapsed {
- height: 30px;
- padding: 0;
- margin: 0;
- justify-content: center;
- }
- html:not(.firefox):not(.opera) #updates {
- margin-bottom: 0;
- }
- #advanced.collapsible:not(.collapsed) {
- margin-bottom: 0;
- }
- #advanced.collapsible:not(.collapsed) .collapsible-resizer,
- #advanced:not(.collapsible) .collapsible-resizer {
- padding-right: 8px;
- box-sizing: border-box;
- min-width: 30%;
- width: 30%;
- }
- #advanced.collapsible h1 {
- width: unset;
- padding: 0;
- color: #333;
- transition: color .5s;
- display: inline-flex;
- align-items: center;
- }
- #advanced:not(.collapsible) .collapsible-resizer h1 {
- width: unset;
- padding: 0;
- display: inline-flex;
- }
- #advanced.collapsible:not(.collapsed) h1:hover {
- color: #666;
- }
- #advanced.collapsible.collapsed h1 {
- padding: 0;
- color: #666;
- }
- #advanced.collapsible.collapsed:hover h1 {
- color: #333;
- }
- .collapsible-resizer .svg-icon {
- fill: #333;
- transition: fill .5s;
- height: 16px;
- width: 16px;
- }
- #advanced.collapsible.collapsed .collapsible-resizer .svg-icon,
- #advanced.collapsible:not(.collapsed) .collapsible-resizer h1:hover .svg-icon {
- fill: #666;
- }
- #advanced.collapsible.collapsed:hover .collapsible-resizer .svg-icon {
- fill: #333;
- }
- #advanced.collapsible h1 .svg-icon {
- margin-left: 2px;
- }
- #advanced.collapsible.collapsed .is-expanded,
- #advanced:not(.collapsible) .collapsible-resizer .svg-icon {
- display: none;
- }
- #advanced.collapsible:not(.collapsed) .is-collapsed {
- display: none;
- }
- .svg-inline-wrapper .svg-icon {
- width: 16px;
- height: 16px;
- fill: #666;
- vertical-align: sub;
- }
- .svg-inline-wrapper:hover .svg-icon {
- fill: #000;
- }
- #message-box.note {
- align-items: center;
- justify-content: center;
- white-space: pre-wrap;
- }
- #message-box.note > div {
- max-width: 40em;
- top: unset;
- right: unset;
- position: relative;
- }
- /* radio group */
- .radio-group-item {
- display: flex;
- align-items: center;
- min-height: 1.5em;
- }
- .radio-group-item > input {
- margin: 0 8px 0 0;
- flex-grow: 0;
- }
- .radio-group-label {
- display: block;
- margin: 0 0 .3em;
- }
- .input-sm {
- width: 3em;
- }
- /* pixel perfect radio */
- input[type="radio"].radio::after {
- position: absolute;
- top: -1px;
- right: -1px;
- bottom: -1px;
- left: -1px;
- height: auto;
- width: auto;
- transform: scale(0);
- }
- input[type="radio"].radio:checked::after {
- transform: scale(.65);
- }
- @keyframes fadeinout {
- 0% { opacity: 0 }
- 10% { opacity: 1 }
- 25% { opacity: 1 }
- 100% { opacity: 0 }
- }
- @media (hover: none) {
- .expanded-note {
- font-size: 90%;
- white-space: normal;
- color: #666;
- margin-top: .5em;
- hyphens: auto;
- }
- }
- .sync-status {
- width: 0; /* together with flex-grow makes it reuse the current width */
- flex-grow: 1;
- padding-right: 8px;
- box-sizing: border-box;
- }
- .sync-status::first-letter {
- text-transform: uppercase;
- }
- .sync-options .actions button {
- margin-top: .5em;
- }
- @keyframes scalein {
- 0% {
- transform: scale3d(.3, .3, .3);
- }
- 100% {
- transform: scale3d(1, 1, 1);
- }
- }
- @keyframes scaleout {
- 100% {
- transform: scale3d(0, 0, 0);
- }
- }
|