191 lines
3.3 KiB
Plaintext
191 lines
3.3 KiB
Plaintext
@import 'antd/dist/antd.less';
|
|
// @import 'antd/dist/antd.compact.less';
|
|
// @import './themes/light.less';
|
|
@import './themes/dark.less';
|
|
@import './themes/common.less';
|
|
@import './themes/ant.less';
|
|
|
|
:root {
|
|
--background: @component-background;
|
|
--foreground: @text;
|
|
--a1: @main;
|
|
--border: @border-color-split;
|
|
--shadow: @shadow-2;
|
|
}
|
|
|
|
body {
|
|
overflow: hidden;
|
|
}
|
|
|
|
html, body {
|
|
overscroll-behavior-x: none;
|
|
}
|
|
|
|
.border-right {
|
|
border-right-width: 1px;
|
|
border-right-color: @border-color-split;
|
|
border-right-style: solid;
|
|
}
|
|
|
|
.row {
|
|
margin: 20px;
|
|
}
|
|
|
|
.app-top-bar {
|
|
box-shadow: @shadow-2;
|
|
z-index: @bars-z-index;
|
|
}
|
|
|
|
.app-sidebar {
|
|
height: calc(100vh - @layout-header-height - @layout-footer-height);
|
|
position: fixed;
|
|
left: 0;
|
|
user-select: none;
|
|
}
|
|
|
|
.app-status-bar {
|
|
position: fixed;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: @layout-footer-height;
|
|
font-size: @font-size-sm;
|
|
color: @text-color;
|
|
z-index: @bars-z-index;
|
|
padding-top: 5px;
|
|
|
|
a {
|
|
color: @text;
|
|
}
|
|
}
|
|
|
|
.app-content {
|
|
height: calc(100vh - @layout-header-height - @layout-footer-height);
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.small-container,
|
|
.large-container {
|
|
padding: 20px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.small-container {
|
|
max-width: 600px;
|
|
}
|
|
|
|
.large-container {
|
|
max-width: 1400px;
|
|
}
|
|
|
|
.ant-tabs-tabpane {
|
|
height: calc(100vh - @layout-header-height - @layout-footer-height - @layout-trigger-height - @tabs-nav-height);
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.ant-checkbox-wrapper {
|
|
user-select: none;
|
|
}
|
|
|
|
.ant-upload-list-picture-card
|
|
.ant-upload-list-item-actions
|
|
.anticon-delete,
|
|
.ant-upload-list-picture-card
|
|
.ant-upload-list-item-actions
|
|
.anticon-eye {
|
|
color: @text;
|
|
}
|
|
|
|
.table {
|
|
margin: 20px;
|
|
|
|
table {
|
|
width: 100%;
|
|
}
|
|
|
|
td {
|
|
text-align: center;
|
|
border: 1px solid @component-background;
|
|
height: 50px;
|
|
// transition: all 0.1s;
|
|
|
|
&.value {
|
|
color: rgba(0, 0, 0, 1);
|
|
width: 5%;
|
|
font-weight: 600;
|
|
}
|
|
|
|
&.title-curve {
|
|
width: 15%;
|
|
}
|
|
|
|
&.title-map {
|
|
width: 5%;
|
|
}
|
|
|
|
&.cell-selected {
|
|
box-shadow: inset 0 0 25px 2px @info-color;
|
|
}
|
|
|
|
&.cell-being-selected {
|
|
box-shadow: inset 0 0 25px 2px @warning-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
.log-canvas {
|
|
color: @text;
|
|
--background-overlay: rgba(34, 38, 41, 0.9);
|
|
}
|
|
|
|
// Fix autocomplete yellow/white background color in Chrome and Safari
|
|
input:-webkit-autofill,
|
|
input:-webkit-autofill:hover,
|
|
input:-webkit-autofill:focus,
|
|
textarea:-webkit-autofill,
|
|
textarea:-webkit-autofill:hover,
|
|
textarea:-webkit-autofill:focus,
|
|
select:-webkit-autofill,
|
|
select:-webkit-autofill:hover,
|
|
select:-webkit-autofill:focus {
|
|
border: 0;
|
|
-webkit-text-fill-color: @text;
|
|
caret-color: @text;
|
|
-webkit-box-shadow: 0 0 0px 1000px @component-background inset;
|
|
box-shadow: 0 0 0px 1000px @component-background inset;
|
|
transition: background-color 5000s ease-in-out 0s;
|
|
}
|
|
|
|
.markdown-preview {
|
|
background-color: @component-background;
|
|
padding: 5px 11px;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
border-radius: @border-radius-base;
|
|
border-color: @border-color-split;
|
|
|
|
h1 {
|
|
font-size: 2em;
|
|
}
|
|
|
|
code, pre {
|
|
background-color: @main;
|
|
border-radius: @border-radius-base;
|
|
}
|
|
|
|
pre {
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
p code {
|
|
padding: 0.3rem;
|
|
}
|
|
}
|
|
|
|
.upload-readme {
|
|
textarea {
|
|
resize: none;
|
|
}
|
|
}
|