367 lines
22 KiB
CSS
367 lines
22 KiB
CSS
html {
|
||
-webkit-user-select: var(--user-select-copyable);
|
||
user-select: var(--user-select-copyable);
|
||
width: 100%;
|
||
height: 100%;
|
||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||
}
|
||
html[lang^="zh-"]{
|
||
font-family: LarkEmojiFont,LarkChineseQuote,-apple-system,BlinkMacSystemFont,Helvetica Neue,Tahoma,PingFang SC,Microsoft Yahei,Arial,Hiragino Sans GB,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
|
||
}
|
||
html[lang^="en-"]{
|
||
font-family: LarkEmojiFont,-apple-system,BlinkMacSystemFont,Helvetica Neue,Tahoma,PingFang SC,Microsoft Yahei,Arial,Hiragino Sans GB,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
|
||
}
|
||
html[lang='ja-JP']{
|
||
font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","游ゴシック体","Noto Sans Japanese","Hiragino Sans GB","Yu Gothic","Microsoft Jhenghei UI","Microsoft Yahei UI","MS Pゴシック",Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
|
||
}
|
||
body {
|
||
width: 100%;
|
||
min-height: 100%;
|
||
margin: 0;
|
||
-webkit-user-select: var(--user-select-copyable);
|
||
user-select: var(--user-select-copyable);
|
||
overflow-x: hidden;
|
||
overflow-y: auto;
|
||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||
-webkit-text-size-adjust: 100% !important;
|
||
}
|
||
|
||
/* 色板地址,用到了再写 */
|
||
/* https://www.figma.com/file/mhVnz6wD1HjkpjXCZFPqGf/%F0%9F%8C%9E-Light---00-Style-Foundation-(Color%2C-Typography%2C-Shadow)?node-id=2949%3A683 */
|
||
:root {
|
||
--R300: #F98E8B;
|
||
--R400: #F76964;
|
||
--R500: #F54A45;
|
||
--R600: #D83931;
|
||
|
||
--B100: #E1EAFF;
|
||
--B200: #BACEFD;
|
||
--B300: #82A7FC;
|
||
--B400: #4E83FD;
|
||
--B500: #3370FF;
|
||
--B600: #245BDB;
|
||
|
||
--N00: #FFFFFF;
|
||
--N50: #F5F6F7;
|
||
--N100: #F2F3F5;
|
||
--N200: #EFF0F1;
|
||
--N300: #DEE0E3;
|
||
--N400: #BBBFC4;
|
||
--N500: #8F959E;
|
||
--N600: #646A73;
|
||
--N800: #2B2F36;
|
||
--N900: #1F2329;
|
||
--N900-4: rgba(31, 35, 41, 0.04);
|
||
--N900-6: rgba(31, 35, 41, 0.06);
|
||
--N900-8: rgba(31, 35, 41, 0.08);
|
||
--N900-15: rgba(31, 35, 41, 0.15);
|
||
--N900-30: rgba(31, 35, 41, 0.3);
|
||
--N900-60: rgba(31, 35, 41, 0.6);
|
||
|
||
--token-line-border-card: var(--N300);
|
||
--token-line-border-component: var(--N400);
|
||
|
||
--token-bg-base: var(--N100);
|
||
--token-bg-body: var(--N00);
|
||
--editor-bg-body: #FFFFFF;
|
||
--editor-bg-float: #FFFFFF;
|
||
--editor-bg-filter: #eff0f1;
|
||
--editor-box-shadow: rgba(0, 0, 0, 0.25);
|
||
--token-bg-overlay: var(--N50);
|
||
--token-bg-mask: rgba(0,0,0,.4);
|
||
--token-bg-float: var(--N00);
|
||
--token-bg-float-overlay: var(--N100);
|
||
--token-switch-before-bg: #FFFFFF;
|
||
|
||
--user-select-copyable: none;
|
||
}
|
||
|
||
:root[data-tt-copyable="true"] {
|
||
--user-select-copyable: auto;
|
||
}
|
||
|
||
/* https://www.figma.com/file/JuUQ0totJs5YYuzNDwjPJi/%F0%9F%8C%97-Dark---00-Style-Foundation-(Color%2C-Typography%2C-Shadow)?node-id=3124%3A63095 */
|
||
:root[data-tt-theme="dark"] {
|
||
--R300: #9E3836;
|
||
--R400: #CC4743;
|
||
--R500: #F0544F;
|
||
--R600: #FA7873;
|
||
|
||
--B100: #192A4C;
|
||
--B200: #203E78;
|
||
--B300: #2851A3;
|
||
--B400: #2E65D1;
|
||
--B500: #4382FF;
|
||
--B600: #5E94FF;
|
||
|
||
--N00: #101010;
|
||
--N50: #1F1F1F;
|
||
--N100: #2E2E2E;
|
||
--N200: #373737;
|
||
--N300: #434343;
|
||
--N400: #5F5F5F;
|
||
--N500: #939393;
|
||
--N600: #C1C1C1;
|
||
--N800: #E8E8E8;
|
||
--N900: #F0F0F0;
|
||
--N900-4: rgba(240, 240, 240, 0.04);
|
||
--N900-6: rgba(240, 240, 240, 0.06);
|
||
--N900-8: rgba(240, 240, 240, 0.08);
|
||
--N900-15: rgba(240, 240, 240, 0.15);
|
||
--N900-30: rgba(240, 240, 240, 0.3);
|
||
--N900-60: rgba(240, 240, 240, 0.6);
|
||
|
||
--token-line-border-card: var(--N400);
|
||
--token-line-border-component: #525252;
|
||
|
||
--token-bg-base: var(--N00);
|
||
--token-bg-body: var(--N50);
|
||
--token-bg-overlay: var(--N100);
|
||
--token-bg-mask: rgba(0,0,0,.7);
|
||
--token-bg-float: var(--N100);
|
||
--token-bg-float-overlay: var(--N200);
|
||
--token-bg-tips: var(--N300);
|
||
--token-switch-before-bg: rgba(120, 120, 128, 0.16);
|
||
--token-sliding-block-bg: #939393;
|
||
--editor-bg-body: #1F1F1F;
|
||
--editor-bg-float: #101010;
|
||
--editor-bg-filter: #373737;
|
||
--editor-box-shadow: rgba(0, 0, 0, 0.28);
|
||
--picker-view-bg-180: linear-gradient(180deg, rgba(31, 31, 31, 1), rgba(31, 31, 31, 0));
|
||
--picker-view-bg-0: linear-gradient(0deg, rgba(31, 31, 31, 1), rgba(31, 31, 31, 0));
|
||
--token-text-title2: var(--N900);
|
||
}
|
||
|
||
/* Token 列表,应该直接使用 token 色彩而不是色板 */
|
||
/* 因为两个模式下token-token(比如text/title--N900)的对应关系有所区别 所以这下面只应该写共通的部分 */
|
||
/* 更多样式可以查看 https://code.byted.org/universe-ui/styles */
|
||
:root {
|
||
--token-brand: var(--B500);
|
||
|
||
--token-primary-100: var(--B100);
|
||
--token-primary-200: var(--B200);
|
||
--token-primary-300: var(--B300);
|
||
--token-primary-400: var(--B400);
|
||
--token-primary-500: var(--B500);
|
||
--token-primary-600: var(--B600);
|
||
|
||
--token-danger-300: var(--R300);
|
||
--token-danger-400: var(--R400);
|
||
--token-danger-500: var(--R500);
|
||
--token-danger-600: var(--R600);
|
||
|
||
--token-info-300: var(--B300);
|
||
|
||
--token-text-title: var(--N900);
|
||
--token-text-caption: var(--N600);
|
||
--token-text-placeholder: var(--N500);
|
||
--token-text-disable: var(--N400);
|
||
--token-text-link-normal: var(--B600);
|
||
--token-text-link-hover: var(--B500);
|
||
|
||
--token-bg-filter: var(--N200);
|
||
--token-bg-pricolor: var(--B400);
|
||
--token-bg-tips: var(--N900);
|
||
|
||
--token-line-divider-default: var(--N900-15);
|
||
|
||
--token-fill-disable: var(--N400);
|
||
--token-fill-hover: var(--N900-8);
|
||
|
||
--token-icon-n1: var(--N800);
|
||
--token-icon-n2: var(--N600);
|
||
--token-icon-n3: var(--N500);
|
||
--token-icon-disable: var(--N400);
|
||
|
||
--token-palette-neutral-200: var(--N200);
|
||
--token-palette-neutral-400: var(--N400);
|
||
--token-palette-neutral-500: var(--N500);
|
||
|
||
/* 静态色值,不跟随主题变化 */
|
||
--token-static-white: #FFFFFF;
|
||
--token-static-white-hover: rgba(255, 255, 255, 0.1);
|
||
--token-static-white-pressed: rgba(255, 255, 255, .2);
|
||
--token-static-black: #000000;
|
||
--token-sliding-block-bg: #FFFFFF;
|
||
|
||
--token-transparent-neutral-900: var(--N900-15);
|
||
|
||
--token-shadow-s4-down: 0px 8px 24px 8px var(--N900-4), 0px 6px 12px var(--N900-4), 0px 4px 8px -8px var(--N900-6);
|
||
}
|
||
|
||
@font-face {
|
||
font-weight: normal;
|
||
font-style: normal;
|
||
font-family: "ttui";
|
||
src: url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAcEAAsAAAAAC1gAAQAAAAAAAAAAAAAAAAAAAAAAAAAAA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yhnSP8ACVpuyAAAAHicbcrBCsIwEEXReTVNaiuIXxiGaayBOJGkJX6+hXbpXR4udXQ00v8mdLjAoIeFw4ArRky40f1T8lL47WtIQdavifrMtgYu8hrm3DRlnq2wSkiucVyjLq5uIqFW07hoL2mfHyd5zV5i2Y3oBzjbIZ8=") format("woff");
|
||
}
|
||
|
||
/* @font-face {
|
||
font-weight: normal;
|
||
font-style: normal;
|
||
font-family: "ttui-pc";
|
||
src: url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAo8AAsAAAAACfAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIF92NtYXAAAAFoAAAAZAAAAGT9g7ivZ2FzcAAAAcwAAAAIAAAACAAAABBnbHlmAAAB1AAABfQAAAX0ZkqRxWhlYWQAAAfIAAAANgAAADYVk+hvaGhlYQAACAAAAAAkAAAAJAfCA85obXR4AAAIJAAAADQAAAA0KgADkGxvY2EAAAhYAAAAHAAAABwHSgj4bWF4cAAACHQAAAAgAAAAIAARAGZuYW1lAAAIlAAAAYYAAAGGmUoJ+3Bvc3QAAAocAAAAIAAAACAAAwAAAAMDzQGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QADwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEAEgAAAAOAAgAAgAGAAEAIOYR5hXpAP/9//8AAAAAACDmDeYT6QD//f//AAH/4xn3GfYXDAADAAEAAAAAAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAMAAP/ABAADwAAbAD4AYwAAEzQ3PgE3NjMyFx4BFxYVFAcOAQcGIyInLgEnJgUyNjc0NicHDgEnLgE/ATYmJyIGBxwBFzc+ARceAQ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AAAAEABwAAAAEAAAAAAAIABwBgAAEAAAAAAAMABwA2AAEAAAAAAAQABwB1AAEAAAAAAAUACwAVAAEAAAAAAAYABwBLAAEAAAAAAAoAGgCKAAMAAQQJAAEADgAHAAMAAQQJAAIADgBnAAMAAQQJAAMADgA9AAMAAQQJAAQADgB8AAMAAQQJAAUAFgAgAAMAAQQJAAYADgBSAAMAAQQJAAoANACkaWNvbW9vbgBpAGMAbwBtAG8AbwBuVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwaWNvbW9vbgBpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuUmVndWxhcgBSAGUAZwB1AGwAYQByaWNvbW9vbgBpAGMAbwBtAG8AbwBuRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==") format("woff");
|
||
} */
|
||
|
||
@font-face {
|
||
font-weight: normal;
|
||
font-style: normal;
|
||
font-family: "larkui";
|
||
src: url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAA8MAA8AAAAAGmAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABWAAAADsAAABUIIslek9TLzIAAAGUAAAAQwAAAFY8LUp3Y21hcAAAAdgAAACRAAACDLiWi51jdnQgAAACbAAAABMAAAAgBtX/BGZwZ20AAAKAAAAFkAAAC3CKkZBZZ2FzcAAACBAAAAAIAAAACAAAABBnbHlmAAAIGAAAA+YAAAZMJ5s/t2hlYWQAAAwAAAAAMQAAADYW9KG7aGhlYQAADDQAAAAbAAAAJAc8A19obXR4AAAMUAAAAA8AAAAwLuAAAGxvY2EAAAxgAAAAGgAAABoLMglibWF4cAAADHwAAAAgAAAAIAENC+BuYW1lAAAMnAAAAXcAAALNzJ0fIXBvc3QAAA4U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D+mFX00ephPCHtzogyL9mXw+4Os0akJMt0Mzv77T3Fhqe1aQ137brUWVcSw4MakvexW1vQePROdiuGtosG33/+7wfseIRVAHicbYxJDsIwDADtNl0I4Qt8LQqOSyOKLcWgwO/Zrsx1NAMd/PDwn4Ad9uhwwBEnnHGHHvcY8ACuyKKjVU60zlmbbJqyyyo80KbGU0vlVuTcP9lcS1X8VSvHrzvanYjNomikUmnjuGiNtDJdTvoIhVTi5/fuAV5FfCduAAB4nGPw3sFwIihiIyNjX+QGxp0cDBwMyQUbGVidNjEwMmiBGJu5mBg5ICw+BjCLzWkX0wGgNCeQze60i8EBwmZmcNmowtgRGLHBoSNiI3OKy0Y1EG8XRwMDI4tDR3JIBEhJJBBs5mFi5NHawfi/dQNL70YmBhcADHYj9AAA") format("woff");
|
||
}
|
||
|
||
body.webscreen-fix {
|
||
position: fixed !important;
|
||
top: 0 !important;
|
||
left: 0 !important;
|
||
margin: 0 !important;
|
||
padding: 0 !important;
|
||
width: 100% !important;
|
||
height: 100% !important;
|
||
overflow: hidden !important;
|
||
}
|
||
|
||
tt-video.gadget-fullscreen {
|
||
position: fixed !important;
|
||
top: 0 !important;
|
||
left: 0 !important;
|
||
width: 100% !important;
|
||
height: 100% !important;
|
||
z-index: 10000 !important;
|
||
}
|
||
tt-editor {
|
||
padding: 8px;
|
||
height: 225px;
|
||
position: relative;
|
||
box-sizing: border-box;
|
||
user-select: text;
|
||
display: block;
|
||
min-height: 225px;
|
||
background-color: var(--editor-bg-body);
|
||
}
|
||
.adit-toolbar {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
}
|
||
.editor_outer_container {
|
||
margin-top: 40px;
|
||
box-sizing: border-box;
|
||
height: calc(100% - 40px);
|
||
width: 100%;
|
||
padding: 0 8px;
|
||
position: relative;
|
||
}
|
||
.editor_outer_container.no-toolbar {
|
||
margin-top: 0;
|
||
height: 100%;
|
||
}
|
||
|
||
/* 暗黑模式 */
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container {
|
||
background-color: var(--editor-bg-float);
|
||
border: 1px solid var(--N900-15);
|
||
}
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-plate {
|
||
background-color: var(--editor-bg-float);
|
||
border: 1px solid var(--N900-15);
|
||
box-shadow: 0 6px 24px 0 var(--editor-box-shadow);
|
||
}
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-wrapper {
|
||
background-color: var(--editor-bg-float);
|
||
}
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-format-button {
|
||
color: var(--N900);
|
||
}
|
||
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-format-button svg, .editor-kit-wrapper-container.adit-wrapper-container .adit-format-button button {
|
||
fill: var(--N900);
|
||
}
|
||
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-dropdown .adit-format-button {
|
||
border: 1px solid var(--N900-15);
|
||
}
|
||
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-dropdown-content {
|
||
color: var(--N900);
|
||
background-color: var(--editor-bg-float);
|
||
border: 1px solid var(--N900-15);
|
||
box-shadow: 1px solid var(--editor-box-shadow);
|
||
}
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .menu-icon:not([adit-selected]) svg {
|
||
fill: var(--N800);
|
||
}
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-format-button:hover:not([adit-disabled]) {
|
||
background-color: var(--editor-bg-filter);
|
||
}
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-dropdown button:hover {
|
||
background-color: var(--editor-bg-filter);
|
||
}
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-color-picker {
|
||
color: var(--N900);
|
||
background-color: var(--editor-bg-float);
|
||
}
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-group:not(:first-child)::before {
|
||
background-color: var(--N900-15);
|
||
}
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-color-picker {
|
||
border: 1px solid var(--N900-15);
|
||
box-shadow: 1px solid var(--editor-box-shadow);
|
||
}
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-dropdown-content .menu-text:hover {
|
||
background-color: var(--editor-bg-filter);
|
||
}
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-format-align .menu-icon:hover {
|
||
background-color: var(--editor-bg-filter);
|
||
}
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-dropdown-box::before {
|
||
border-bottom-color: var(--N900-15);
|
||
}
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-dropdown-box::before {
|
||
border-bottom-color: var(--N900-15);
|
||
}
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-dropdown-pivot .adit-dropdown-locate.bottom > .adit-dropdown-box::after {
|
||
border-bottom-color: var(--N900-15);
|
||
}
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-dropdown-pivot .adit-dropdown-locate {
|
||
z-index: 1;
|
||
}
|
||
.adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container .adit-dropdown-pivot .adit-dropdown-locate > .adit-dropdown-box {
|
||
background-color: var(--editor-bg-float);
|
||
}
|
||
|
||
/* 图片只读模式不出拖拽 */
|
||
tt-editor .editor-kit-outer-container .editor-kit-container[contenteditable=false] .image-container .image-wrapper.selected .point.n-icon-dragable {
|
||
display: none;
|
||
}
|
||
|
||
/* hyperlink 弹窗禁止 */
|
||
tt-editor[data-popup="true"] .link-popup.layout-row {
|
||
display: none;
|
||
}
|
||
|
||
tt-editor[data-popup="true"] .link-modify-popup.layout-row {
|
||
display: none;
|
||
}
|
||
|
||
tt-editor .adit-toolbar .editor-kit-wrapper-container.adit-wrapper-container {
|
||
z-index: auto;
|
||
}
|
||
|
||
/* 窄屏适配 */
|
||
@media screen and (max-width: 450px){
|
||
.adit-popup-container .link-popup input.link-row-input {
|
||
width: 154px;
|
||
}
|
||
}
|
||
|
||
/* video */
|
||
tt-editor .editor-kit-container .video-container .video-wrapper .video-upload-loading {
|
||
height: 220px;
|
||
}
|
||
|
||
tt-editor .editor-kit-container .video-container .video-wrapper .video-upload-failed .fail-wrapper {
|
||
height: 220px;
|
||
}
|