MSP-3104 update styleConst
This commit is contained in:
1 parent
89151474b7
commit
8cfb1ad921
5 files changed
+36
-21
No files matched your search
@@ -1,3 +1,4 @@
|
||||
@import 'src/constants/style/styleConst';
|
||||
|
||||
.layout {
|
||||
min-height: 100vh !important;
|
||||
@@ -12,6 +13,7 @@
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -19,12 +21,14 @@
|
||||
line-height: 18px;
|
||||
background: #fff;
|
||||
padding: 0;
|
||||
|
||||
&__search {
|
||||
max-width: 300px;
|
||||
border: none;
|
||||
margin-right: auto;
|
||||
padding-right: 40px;
|
||||
position: relative;
|
||||
|
||||
&:after {
|
||||
content: '';
|
||||
background: url("/src/assets/icon/search-icon.svg");
|
||||
@@ -35,27 +39,45 @@
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.ant-input-search .ant-input:focus, .ant-input-search .ant-input:hover {
|
||||
border-color: red !important;
|
||||
}
|
||||
|
||||
& .ant-input {
|
||||
border: none;
|
||||
}
|
||||
|
||||
& button {
|
||||
border: none;
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
& .user {
|
||||
padding-right: 34px;
|
||||
}
|
||||
}
|
||||
|
||||
.ant-menu {
|
||||
border-inline-end: none !important;
|
||||
}
|
||||
|
||||
.ant-layout-sider {
|
||||
padding-top: 64px;
|
||||
}
|
||||
|
||||
.ant-menu-title-content {
|
||||
color: #1B1B1B;
|
||||
padding-left: 15px;
|
||||
|
||||
}
|
||||
|
||||
.site-layout {
|
||||
|
||||
&__content {
|
||||
padding: $basic-padding * 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
.user-menu {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import "src/constants/styleConstants";
|
||||
@import "src/constants/style/styleConst";
|
||||
|
||||
*, html {
|
||||
margin:0;
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
$basic-margin: 8px;
|
||||
$basic-padding: 8px;
|
||||
|
||||
$text-size: 1rem;
|
||||
$text-size-header1: 1.7rem;
|
||||
$text-size-header2: 1.25rem;
|
||||
|
||||
$text-color-gray: var(--ant-primary-color);
|
||||
$background-color: #F0F2F5;
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
$background-color: #F0F2F5;
|
||||
$text-color-gray: var(--ant-primary-color);
|
||||
$text-color-blue: #1890FF;
|
||||
|
||||
$basic-margin: 8px;
|
||||
$basic-padding: 8px;
|
||||
|
||||
$text-size: 14px;
|
||||
|
||||
$border-color: #F0F0F0;
|
||||
|
||||
$blue-color: #40A9FF;
|
||||
$blue-light: #E6F7FF;
|
||||
|
||||
$grey:#606060;
|
||||
$red: #FF4D4F;
|
||||
$green: #52C41A;
|
||||
$yellow: #FAAD14;
|
||||
@@ -1,4 +1,4 @@
|
||||
@import "src/constants/styleConstants";
|
||||
@import "src/constants/style/styleConst";
|
||||
|
||||
.login-page {
|
||||
height: 100vh;
|
||||
@@ -32,7 +32,7 @@
|
||||
&__title {
|
||||
text-align: center;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 14px;
|
||||
font-size: $text-size;
|
||||
line-height: 20px;
|
||||
color: $text-color-gray;
|
||||
}
|
||||
@@ -40,6 +40,7 @@
|
||||
&__submit-sudir-btn {
|
||||
background: #0000000f;
|
||||
margin-top: 4 * $basic-margin;
|
||||
|
||||
&:hover {
|
||||
background: rgba(0, 0, 0, 0.09) !important;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user