@import url(style/blockquote.css);
@import url(style/ref.css);
@import url(style/heading.css);
@import url(style/title.css);
@import url(style/memo.css);
@import url(style/dock.css);
@import url(style/embed.css);
@import url(style/caption.css);
@import url(style/inline.css);
@import url(style/table.css);
@import url(style/code.css);
@import url(style/custom.css);
@import url(style/plugin.css);
@import url(style/layouts.css);
@import url(style/bazzar.css);

:root {
    /* 主色 */
    --b3-theme-primary: rgb(0, 152, 209);
    --b3-theme-primary-light: rgba(0, 152, 209, 0.75);
    --b3-theme-primary-lighter: rgba(0, 152, 209, 0.50);
    --b3-theme-primary-lightest: rgba(0, 152, 209, 0.25);
    --b3-theme-primary-lightest-pro: rgba(0, 152, 209, 0.1);

    --b3-theme-secondary: rgb(171,75,75);

    --b3-theme-background-grey: #BFBFBF;
    --b3-theme-on-background-grey: #fff;

    --b3-theme-background: #fff;
    --b3-theme-background-light: #dfe0e1;

    --b3-theme-surface: rgb(245, 245, 245);
    --b3-theme-surface-light: rgba(245, 245, 245, .86);
    --b3-theme-surface-lighter: rgb(240, 240, 240);
    --b3-theme-error: #d95b4f;

    /* 文字颜色 */
    --b3-theme-on-primary: #fff;
    --b3-theme-on-secondary: #fff;
    --b3-theme-on-background: rgb(34, 34, 34);
    --b3-theme-on-background-light: rgb(34, 34, 34, 0.85);
    --b3-theme-on-surface: #5f6368;
    --b3-theme-on-surface-light: rgba(95, 99, 104, .68);
    --b3-theme-on-error: #fff;

    /* 顶部工具栏 */
    --b3-toolbar-background: var(--b3-theme-surface);
    --b3-toolbar-blur-background: #fcfcfc;
    --b3-toolbar-color: var(--b3-theme-on-surface);
    --b3-toolbar-hover: var(--b3-theme-background-light);
    --b3-toolbar-left-mac: 69px;

    /* 线条 */
    --b3-border-color: var(--b3-theme-surface-lighter);
    --b3-border-radius: 6px;
    --b3-border-radius-b: 12px;

    /* 滚动条 */
    --b3-scroll-color: rgba(0, 0, 0, .2);

    /* 列表 */
    --b3-list-hover: rgba(0, 0, 0, .075);
    --b3-list-icon-hover: rgba(33, 34, 36, .1);

    /* 菜单 */
    --b3-menu-background: var(--b3-theme-surface);

    /* 提示 */
    /* --b3-tooltips-background: rgba(0, 0, 0, .9); */
    --b3-tooltips-background: var(--b3-theme-primary-light);
    --b3-tooltips-color: var(--b3-theme-on-primary);
    --b3-tooltips-second-color: rgb(220, 220, 220);
    --b3-tooltips-shadow: 0 2px 8px rgba(0, 0, 0, .1);

    /* av */
    --b3-av-hover: #e8e8e9;
    --b3-av-background-hl: #e8eefc;

    /* 为空提示 */
    --b3-empty-color: var(--b3-theme-on-surface-light);

    /* 遮罩 */
    --b3-mask-background: rgba(220, 220, 220, .4);

    /* 卡片背景 */
    --b3-card-error-color: rgb(97, 26, 21);
    --b3-card-error-background: #f5d1cf;
    --b3-card-warning-color: rgb(102, 60, 0);
    --b3-card-warning-background: #ffe8c8;
    --b3-card-info-color: rgb(13, 60, 97);
    --b3-card-info-background: #d6eaf9;
    --b3-card-success-color: rgb(30, 70, 32);
    --b3-card-success-background: #d7eed8;

    /* 自定义文字 */
    --b3-font-color1: var(--b3-card-error-color);
    --b3-font-color2: var(--b3-card-warning-color);
    --b3-font-color3: var(--b3-card-info-color);
    --b3-font-color4: var(--b3-card-success-color);
    --b3-font-color5: var(--b3-theme-on-surface);
    --b3-font-color6: var(--b3-theme-primary);
    --b3-font-color7: var(--b3-theme-secondary);
    --b3-font-color8: var(--b3-theme-error);
    --b3-font-color9: #f5539e;
    --b3-font-color10: #944194;
    --b3-font-color11: #65b84d;
    --b3-font-color12: #f5822e;
    --b3-font-color13: var(--b3-theme-background);
    --b3-font-background1: var(--b3-card-error-background);
    --b3-font-background2: var(--b3-card-warning-background);
    --b3-font-background3: var(--b3-card-info-background);
    --b3-font-background4: var(--b3-card-success-background);
    --b3-font-background5: #e2e3e4;
    --b3-font-background6: #acd0fc;
    --b3-font-background7: #fdeed6;
    --b3-font-background8: #fae1cf;
    --b3-font-background9: #fdd5e7;
    --b3-font-background10: #e6c7e6;
    --b3-font-background11: #def0d9;
    --b3-font-background12: #fae3e4;
    --b3-font-background13: var(--b3-theme-on-background);

    /* 动画效果 */
    --b3-transition: all .2s cubic-bezier(0, 0, .2, 1) 0ms;
    --b3-width-transition: width .2s cubic-bezier(0, 0, .2, 1) 0ms;
    --b3-color-transition: color .2s cubic-bezier(0, 0, .2, 1) 0ms;

    /* 下拉菜单 */
    --b3-select-background: url("data:image/svg+xml;utf8,<svg fill='rgba(95, 99, 104, .68)' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat right 2px center var(--b3-theme-background);

    /* 阴影 */
    --b3-point-shadow: 0 0 1px 0px rgba(0, 0, 0, 0.1), 0 0 2px 0px rgba(0, 0, 0, 0.2);
    --b3-dialog-shadow: 0 8px 24px var(--b3-theme-primary-lightest);
    --b3-button-shadow: 0px 5px 5px -3px rgb(0 0 0 / 0.2), 0px 8px 10px 1px rgb(0 0 0 / 0.14), 0px 3px 14px 2px rgb(0 0 0 / 0.12);

    /* 图表颜色 */
    --b3-graph-p-point: #076f7e;
    --b3-graph-heading-point: #8250df;
    --b3-graph-math-point: #80FFA5;
    --b3-graph-code-point: #00DDFF;
    --b3-graph-table-point: #37A2FF;
    --b3-graph-list-point: #FF0087;
    --b3-graph-todo-point: #FFBF00;
    --b3-graph-olist-point: #b3005f;
    --b3-graph-listitem-point: #f65b00;
    --b3-graph-bq-point: #8d48e3;
    --b3-graph-super-point: #dd79ff;
    --b3-graph-doc-point: var(--b3-theme-secondary);
    --b3-graph-tag-point: #dbf32f;
    --b3-graph-asset-point: #05c091;
    --b3-graph-line: #5f6368;
    --b3-graph-ref-line: #d23f31;
    --b3-graph-tag-line: #5f6b06;
    --b3-graph-tag-tag-line: #dbf32f;
    --b3-graph-asset-line: #037457;
    --b3-graph-hl-point: #f3a92f;
    --b3-graph-hl-line: #4285f4;

    /* 编辑器搜索颜色 */
    --b3-protyle-search-background: #ffe955;
    --b3-protyle-search-border-color: #f2e680;
    --b3-protyle-search-current-background: #a5d3fe;

    /* 代码片段背景 */
    --b3-protyle-code-background: rgba(27, 31, 35, .05);
    --b3-protyle-code-linenumber-hl: #b9d1f4;

    /* 所见即所得行内元素颜色 */
    --b3-protyle-inline-strong-color: #000;
    --b3-protyle-inline-em-color: #000;
    --b3-protyle-inline-s-color: var(--b3-protyle-inline-strong-color);
    --b3-protyle-inline-link-color: var(--b3-theme-primary);
    /* --b3-protyle-inline-mark-background: var(--b3-theme-primary-lighter); */
    --b3-protyle-inline-mark-background: rgb(236, 236, 238);
    --b3-protyle-inline-mark-color: var(--b3-theme-secondary);
    --b3-protyle-inline-tag-color: #5f6368;
    --b3-protyle-inline-blockref-color: var(--b3-theme-primary);
    --b3-protyle-inline-fileref-color: #21862e;

    /* PDF */
    --b3-pdf-selection: #d0e9c8;
    --b3-pdf-sidebar-width: 200px;
    --b3-pdf-offset: 0;
    --b3-pdf-background1: var(--b3-theme-error);
    --b3-pdf-background2: #f5822e;
    --b3-pdf-background3: #FACA5A;
    --b3-pdf-background4: #7CC868;
    --b3-pdf-background5: #FC5C88;
    --b3-pdf-background6: #69B0F2;
    --b3-pdf-background7: #C885DA;
    --b3-pdf-dark: #212224;
}

#toolbar>.fn__ellipsis {
    font-weight: bold;
    font-size: 1.25em;
}

