/* 桌面端 pre-boot 窗口(init.html / workspace.html)共享样式 */
body {
margin: 0;
background-color: #fff;
text-align: center;
color: #222;
font-size: 16px;
font-family: BlinkMacSystemFont, Helvetica, "PingFang SC", "Luxi Sans", "DejaVu Sans", arial, "Microsoft Yahei", "Hiragino Sans GB", "Source Han Sans SC", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Twemoji Mozilla", "Android Emoji", "EmojiSymbols";
}
.fn__flex-column {
display: flex;
flex-direction: column;
width: 100%;
margin: 0 auto;
min-height: 100vh;
box-sizing: border-box;
padding: 0 calc((100vw - 608px) * 0.3);
}
.fn__flex-1 {
flex: 1;
min-height: 32px;
flex-shrink: 0;
min-width: 8px;
}
h2 {
margin: 0 0 16px 0;
font-size: 28px;
}
.b3-select {
border-radius: 6px;
color: #222;
height: 28px;
width: 96px;
border: 0;
padding: 4px 26px 4px 8px;
box-sizing: border-box;
line-height: 20px;
transition: box-shadow 120ms 0ms cubic-bezier(0, 0, 0.2, 1), background-color 0.2s cubic-bezier(0, 0, 0.2, 1) 0ms;
font-size: 14px;
box-shadow: inset 0 0 0 0.6px rgba(0, 0, 0, .6);
background: url("data:image/svg+xml;utf8,") no-repeat right 2px center #fff;
appearance: none;
cursor: pointer;
overflow: hidden;
flex-shrink: 0;
}
.b3-select:focus {
box-shadow: inset 0 0 0 1px #3575f0, 0 0 0 3px rgba(53, 117, 240, .12);
}
.b3-button {
cursor: pointer;
color: #fff;
border-radius: 6px;
line-height: 20px;
padding: 4px 8px;
background-color: #3575f0;
white-space: nowrap;
display: inline-flex;
align-items: center;
justify-content: center;
transition: box-shadow 280ms ease;
border: 0;
box-sizing: border-box;
text-align: center;
width: 96px;
flex-shrink: 0;
}
.b3-button:hover, .b3-button:focus {
text-decoration: none;
box-shadow: 0 1px 2px 0 rgb(0 0 0 / .3), 0 1px 3px 1px rgb(0 0 0 /.15);
}
.b3-button:active {
box-shadow: 0 2px 3px 1px rgb(0 0 0 / .3), 0 2px 4px 2px rgb(0 0 0 /.15);
}
.b3-label {
padding: 16px 24px 0;
margin-bottom: 16px;
display: flex;
text-align: left;
box-shadow: 0 15px 0 0 #fff, 0 16px 0 0 #e0e0e0;
}
.b3-label__text {
color: rgba(0, 0, 0, .6);
font-size: 14px;
margin-top: 4px;
overflow: hidden;
line-height: 1.65;
}
.fn__flex-center {
align-self: center;
}
.svg {
position: fixed;
right: 32px;
top: 0;
width: 13px;
fill: rgba(0, 0, 0, .6);
padding: 9.5px;
cursor: pointer;
z-index: 1;
}
.svg:hover {
background: #dfe0e1;
fill: #222;
}
#close {
right: 0;
width: 10px;
padding: 11px 11px;
}
#close:hover {
background-color: #d23f31;
fill: #fff;
}
a {
text-decoration: none;
color: #3575f0;
}
a:hover {
text-decoration: underline;
}
.fn__none {
display: none !important;
}
.slogan {
color: rgba(0, 0, 0, .6);
font-size: 15px;
}
.notice {
font-size: 14px;
color: rgba(0, 0, 0, .6);
text-align: center;
}
.icon {
width: 96px;
margin: 0 auto 16px;
}
kbd {
font: 75% SFMono-Regular, Consolas, "Liberation Mono";
line-height: 1;
border-radius: 6px;
padding: 2px 4px;
color: rgba(0, 0, 0, .6);
vertical-align: middle;
background-color: #f6f6f6;
border: solid 1px #e0e0e0;
box-shadow: inset 0 -1px 0 #e0e0e0;
}
.feedback {
display: flex;
justify-content: space-around;
font-size: 14px
}
.drag {
-webkit-app-region: drag;
height: 32px;
cursor: pointer;
position: fixed;
top: 0;
left: 0;
right: 64px;
}
.darwin #min,
.darwin #close {
display: none;
}
.darwin .drag {
right: 0;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #1e1e1e;
color: #dadada;
}
.b3-select {
color: #dadada;
box-shadow: inset 0 0 0 0.6px #9aa0a6;
background: url("data:image/svg+xml;utf8,") no-repeat right 2px center #1e1e1e;
}
.b3-select:focus {
box-shadow: inset 0 0 0 1px #3573f0, 0 0 0 3px rgba(53, 115, 240, .24);
}
.b3-button {
background-color: #3573f0;
}
.b3-button:hover, .b3-button:focus {
box-shadow: 0 1px 2px 0 rgb(0 0 0 / .3), 0 1px 3px 1px rgb(255 255 255 /.15);
}
.b3-button:active {
box-shadow: 0 2px 3px 1px rgb(0 0 0 / .3), 0 2px 4px 2px rgb(255 255 255 /.15);
}
.b3-label {
box-shadow: 0 15px 0 0 #1e1e1e, 0 16px 0 0 #363636;
}
.b3-label__text {
color: #9aa0a6;
}
.svg {
fill: #9aa0a6;
}
.svg:hover {
background: rgba(255, 255, 255, .075);
fill: #dadada;
}
a {
color: #3573f0;
}
.slogan {
color: #9aa0a6;
}
.notice {
color: #9aa0a6;
}
kbd {
color: #9aa0a6;
background-color: #262626;
border: solid 1px rgba(230, 230, 230, .06);
box-shadow: inset 0 -1px 0 rgba(230, 230, 230, .06);
}
}