🔖chore: remove useless index.css style
This commit is contained in:
@@ -36,30 +36,8 @@ body {
|
|||||||
font-weight: 600 !important;
|
font-weight: 600 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.semi-descriptions-double-small .semi-descriptions-item {
|
|
||||||
padding-right: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (max-width: 767px) {
|
@media only screen and (max-width: 767px) {
|
||||||
|
|
||||||
/*.semi-navigation-sub-wrap .semi-navigation-sub-title, .semi-navigation-item {*/
|
|
||||||
/* padding: 0 0;*/
|
|
||||||
/*}*/
|
|
||||||
.topnav {
|
|
||||||
padding: 0 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.topnav .semi-navigation-item {
|
|
||||||
margin: 0 1px;
|
|
||||||
padding: 0 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.topnav .semi-navigation-list-wrapper {
|
|
||||||
max-width: calc(55vw - 20px);
|
|
||||||
overflow-x: auto;
|
|
||||||
scrollbar-width: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#root>section>header>section>div>div>div>div.semi-navigation-footer>div>a>li {
|
#root>section>header>section>div>div>div>div.semi-navigation-footer>div>a>li {
|
||||||
padding: 0 0;
|
padding: 0 0;
|
||||||
}
|
}
|
||||||
@@ -72,20 +50,6 @@ body {
|
|||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.semi-navigation-footer {
|
|
||||||
padding-left: 0;
|
|
||||||
padding-right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.semi-space {
|
|
||||||
/*display: block!important;*/
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
row-gap: 3px;
|
|
||||||
column-gap: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.semi-navigation-horizontal .semi-navigation-header {
|
.semi-navigation-horizontal .semi-navigation-header {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
@@ -116,10 +80,6 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*.semi-layout {*/
|
|
||||||
/* height: 100%;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
.tableShow {
|
.tableShow {
|
||||||
display: revert;
|
display: revert;
|
||||||
}
|
}
|
||||||
@@ -148,100 +108,10 @@ code {
|
|||||||
source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
|
source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
.semi-navigation-item {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 自定义侧边栏按钮悬停效果 */
|
|
||||||
.semi-navigation-item:hover {
|
|
||||||
transform: translateX(2px);
|
|
||||||
box-shadow: 0 2px 8px rgba(var(--semi-color-primary-rgb), 0.2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 自定义侧边栏按钮选中效果 */
|
|
||||||
.semi-navigation-item-selected {
|
|
||||||
position: relative;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.semi-navigation-item-selected::before {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
top: 0;
|
|
||||||
height: 100%;
|
|
||||||
width: 4px;
|
|
||||||
background-color: var(--semi-color-primary);
|
|
||||||
animation: slideIn 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes slideIn {
|
|
||||||
from {
|
|
||||||
transform: translateY(-100%);
|
|
||||||
}
|
|
||||||
|
|
||||||
to {
|
|
||||||
transform: translateY(0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*.semi-navigation-vertical {*/
|
|
||||||
/* !*flex: 0 0 auto;*!*/
|
|
||||||
/* !*display: flex;*!*/
|
|
||||||
/* !*flex-direction: column;*!*/
|
|
||||||
/* !*width: 100%;*!*/
|
|
||||||
/* height: 100%;*/
|
|
||||||
/* overflow: hidden;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
.main-content {
|
|
||||||
padding: 4px;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-icon .icon {
|
|
||||||
font-size: 1em !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.custom-footer {
|
.custom-footer {
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 顶部栏样式 */
|
|
||||||
.topnav {
|
|
||||||
padding: 0 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.topnav .semi-navigation-item {
|
|
||||||
border-radius: 4px;
|
|
||||||
margin: 0 2px;
|
|
||||||
transition: all 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.topnav .semi-navigation-item:hover {
|
|
||||||
background-color: var(--semi-color-primary-light-default);
|
|
||||||
transform: translateY(-2px);
|
|
||||||
box-shadow: 0 2px 8px rgba(var(--semi-color-primary-rgb), 0.2);
|
|
||||||
}
|
|
||||||
|
|
||||||
.topnav .semi-navigation-item-selected {
|
|
||||||
background-color: var(--semi-color-primary-light-default);
|
|
||||||
color: var(--semi-color-primary);
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 顶部栏文本样式 */
|
|
||||||
.header-bar-text {
|
|
||||||
color: var(--semi-color-text-0);
|
|
||||||
font-weight: 500;
|
|
||||||
transition: all 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-bar-text:hover {
|
|
||||||
color: var(--semi-color-primary);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 自定义滚动条样式 */
|
|
||||||
.semi-layout-content::-webkit-scrollbar,
|
.semi-layout-content::-webkit-scrollbar,
|
||||||
.semi-sider::-webkit-scrollbar {
|
.semi-sider::-webkit-scrollbar {
|
||||||
width: 6px;
|
width: 6px;
|
||||||
@@ -264,14 +134,7 @@ code {
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Custom sidebar shadow */
|
.semi-navigation-item,
|
||||||
/*.custom-sidebar-nav {*/
|
|
||||||
/* box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08) !important;*/
|
|
||||||
/* -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08) !important;*/
|
|
||||||
/* -moz-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08) !important;*/
|
|
||||||
/* min-height: 100%;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
.semi-tag-closable,
|
.semi-tag-closable,
|
||||||
.semi-datepicker-range-input {
|
.semi-datepicker-range-input {
|
||||||
border-radius: 9999px;
|
border-radius: 9999px;
|
||||||
|
|||||||
Reference in New Issue
Block a user