|
@@ -1,11 +1,5 @@
|
|
@use 'variables';
|
|
@use 'variables';
|
|
-<<<<<<< HEAD
|
|
|
|
-@use 'ios-theme' as *;
|
|
|
|
-
|
|
|
|
-=======
|
|
|
|
@use 'ios-theme' as ios;
|
|
@use 'ios-theme' as ios;
|
|
-
|
|
|
|
->>>>>>> 19d7e75991c3c7dd80d08a5b73c7271184cfc708
|
|
|
|
// HR模块通用对话框样式
|
|
// HR模块通用对话框样式
|
|
// 基于新增员工面板的设计,提供统一的对话框外观
|
|
// 基于新增员工面板的设计,提供统一的对话框外观
|
|
|
|
|
|
@@ -136,13 +130,12 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-<<<<<<< HEAD
|
|
|
|
// 表单字段样式
|
|
// 表单字段样式
|
|
mat-form-field {
|
|
mat-form-field {
|
|
- margin-bottom: $ios-spacing-xs;
|
|
|
|
|
|
+ margin-bottom: ios.$ios-spacing-xs;
|
|
|
|
|
|
.mat-mdc-form-field-outline {
|
|
.mat-mdc-form-field-outline {
|
|
- border-radius: $ios-radius-md;
|
|
|
|
|
|
+ border-radius: ios.$ios-radius-md;
|
|
border-color: rgba(0, 122, 255, 0.2);
|
|
border-color: rgba(0, 122, 255, 0.2);
|
|
transition: all 0.3s ease;
|
|
transition: all 0.3s ease;
|
|
}
|
|
}
|
|
@@ -152,63 +145,63 @@
|
|
}
|
|
}
|
|
|
|
|
|
&.mat-focused .mat-mdc-form-field-outline {
|
|
&.mat-focused .mat-mdc-form-field-outline {
|
|
- border-color: $ios-primary;
|
|
|
|
|
|
+ border-color: ios.$ios-primary;
|
|
border-width: 2px;
|
|
border-width: 2px;
|
|
box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
|
|
box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
|
|
}
|
|
}
|
|
|
|
|
|
.mat-mdc-form-field-label {
|
|
.mat-mdc-form-field-label {
|
|
- color: $ios-text-secondary;
|
|
|
|
- font-family: $ios-font-family;
|
|
|
|
- font-weight: $ios-font-weight-medium;
|
|
|
|
|
|
+ color: ios.$ios-text-secondary;
|
|
|
|
+ font-family: ios.$ios-font-family;
|
|
|
|
+ font-weight: ios.$ios-font-weight-medium;
|
|
}
|
|
}
|
|
|
|
|
|
.mat-mdc-input-element {
|
|
.mat-mdc-input-element {
|
|
- color: $ios-text-primary;
|
|
|
|
- font-family: $ios-font-family;
|
|
|
|
- padding: $ios-spacing-sm;
|
|
|
|
|
|
+ color: ios.$ios-text-primary;
|
|
|
|
+ font-family: ios.$ios-font-family;
|
|
|
|
+ padding: ios.$ios-spacing-sm;
|
|
}
|
|
}
|
|
|
|
|
|
.mat-mdc-form-field-error.error-message {
|
|
.mat-mdc-form-field-error.error-message {
|
|
- color: $ios-error;
|
|
|
|
- font-family: $ios-font-family;
|
|
|
|
- font-size: $ios-font-size-caption-1;
|
|
|
|
- margin-top: $ios-spacing-xs;
|
|
|
|
|
|
+ color: ios.$ios-error;
|
|
|
|
+ font-family: ios.$ios-font-family;
|
|
|
|
+ font-size: ios.$ios-font-size-caption-1;
|
|
|
|
+ margin-top: ios.$ios-spacing-xs;
|
|
}
|
|
}
|
|
|
|
|
|
// 选择框样式
|
|
// 选择框样式
|
|
.mat-mdc-select-value {
|
|
.mat-mdc-select-value {
|
|
- color: $ios-text-primary;
|
|
|
|
- font-family: $ios-font-family;
|
|
|
|
- padding: $ios-spacing-sm 0;
|
|
|
|
|
|
+ color: ios.$ios-text-primary;
|
|
|
|
+ font-family: ios.$ios-font-family;
|
|
|
|
+ padding: ios.$ios-spacing-sm 0;
|
|
}
|
|
}
|
|
|
|
|
|
.mat-mdc-select-arrow {
|
|
.mat-mdc-select-arrow {
|
|
- color: $ios-text-secondary;
|
|
|
|
|
|
+ color: ios.$ios-text-secondary;
|
|
transition: transform 0.3s ease;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
}
|
|
|
|
|
|
&.mat-focused .mat-mdc-select-arrow {
|
|
&.mat-focused .mat-mdc-select-arrow {
|
|
transform: rotate(180deg);
|
|
transform: rotate(180deg);
|
|
- color: $ios-primary;
|
|
|
|
|
|
+ color: ios.$ios-primary;
|
|
}
|
|
}
|
|
|
|
|
|
// 后缀图标样式
|
|
// 后缀图标样式
|
|
.mat-mdc-form-field-icon-suffix {
|
|
.mat-mdc-form-field-icon-suffix {
|
|
- color: $ios-text-secondary;
|
|
|
|
|
|
+ color: ios.$ios-text-secondary;
|
|
transition: color 0.3s ease;
|
|
transition: color 0.3s ease;
|
|
}
|
|
}
|
|
|
|
|
|
&:hover .mat-mdc-form-field-icon-suffix {
|
|
&:hover .mat-mdc-form-field-icon-suffix {
|
|
- color: $ios-primary;
|
|
|
|
|
|
+ color: ios.$ios-primary;
|
|
}
|
|
}
|
|
-=======
|
|
|
|
|
|
+ }
|
|
|
|
+
|
|
// 信息展示区域
|
|
// 信息展示区域
|
|
.info-section {
|
|
.info-section {
|
|
display: flex;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
gap: ios.$ios-spacing-md;
|
|
gap: ios.$ios-spacing-md;
|
|
->>>>>>> 19d7e75991c3c7dd80d08a5b73c7271184cfc708
|
|
|
|
}
|
|
}
|
|
|
|
|
|
.info-card {
|
|
.info-card {
|
|
@@ -252,12 +245,11 @@
|
|
box-shadow: ios.$ios-shadow-md;
|
|
box-shadow: ios.$ios-shadow-md;
|
|
}
|
|
}
|
|
|
|
|
|
-<<<<<<< HEAD
|
|
|
|
.preview-header {
|
|
.preview-header {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
- gap: $ios-spacing-md;
|
|
|
|
- margin-bottom: $ios-spacing-md;
|
|
|
|
|
|
+ gap: ios.$ios-spacing-md;
|
|
|
|
+ margin-bottom: ios.$ios-spacing-md;
|
|
|
|
|
|
.preview-icon {
|
|
.preview-icon {
|
|
width: 32px;
|
|
width: 32px;
|
|
@@ -265,7 +257,7 @@
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
justify-content: center;
|
|
justify-content: center;
|
|
- border-radius: $ios-radius-md;
|
|
|
|
|
|
+ border-radius: ios.$ios-radius-md;
|
|
background: rgba(0, 122, 255, 0.1);
|
|
background: rgba(0, 122, 255, 0.1);
|
|
transition: all 0.3s ease;
|
|
transition: all 0.3s ease;
|
|
|
|
|
|
@@ -279,28 +271,28 @@
|
|
flex: 1;
|
|
flex: 1;
|
|
|
|
|
|
.preview-category {
|
|
.preview-category {
|
|
- font-size: $ios-font-size-caption-1;
|
|
|
|
- color: $ios-text-secondary;
|
|
|
|
- font-family: $ios-font-family;
|
|
|
|
|
|
+ font-size: ios.$ios-font-size-caption-1;
|
|
|
|
+ color: ios.$ios-text-secondary;
|
|
|
|
+ font-family: ios.$ios-font-family;
|
|
text-transform: uppercase;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
letter-spacing: 0.5px;
|
|
- margin-bottom: $ios-spacing-xs;
|
|
|
|
|
|
+ margin-bottom: ios.$ios-spacing-xs;
|
|
}
|
|
}
|
|
|
|
|
|
.preview-name {
|
|
.preview-name {
|
|
- font-size: $ios-font-size-body;
|
|
|
|
- color: $ios-text-primary;
|
|
|
|
- font-family: $ios-font-family;
|
|
|
|
- font-weight: $ios-font-weight-medium;
|
|
|
|
|
|
+ font-size: ios.$ios-font-size-body;
|
|
|
|
+ color: ios.$ios-text-primary;
|
|
|
|
+ font-family: ios.$ios-font-family;
|
|
|
|
+ font-weight: ios.$ios-font-weight-medium;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-=======
|
|
|
|
|
|
+ }
|
|
|
|
+
|
|
.content-grid {
|
|
.content-grid {
|
|
display: grid;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: ios.$ios-spacing-md;
|
|
gap: ios.$ios-spacing-md;
|
|
margin-bottom: ios.$ios-spacing-md;
|
|
margin-bottom: ios.$ios-spacing-md;
|
|
->>>>>>> 19d7e75991c3c7dd80d08a5b73c7271184cfc708
|
|
|
|
}
|
|
}
|
|
|
|
|
|
.content-item {
|
|
.content-item {
|
|
@@ -310,37 +302,15 @@
|
|
background: #f8f9fa;
|
|
background: #f8f9fa;
|
|
border-radius: ios.$ios-radius-md;
|
|
border-radius: ios.$ios-radius-md;
|
|
|
|
|
|
-<<<<<<< HEAD
|
|
|
|
- .metric-name {
|
|
|
|
- font-size: $ios-font-size-caption-1;
|
|
|
|
- color: $ios-text-secondary;
|
|
|
|
- font-family: $ios-font-family;
|
|
|
|
-=======
|
|
|
|
.label {
|
|
.label {
|
|
font-size: ios.$ios-font-size-caption-1;
|
|
font-size: ios.$ios-font-size-caption-1;
|
|
color: ios.$ios-text-secondary;
|
|
color: ios.$ios-text-secondary;
|
|
font-family: ios.$ios-font-family;
|
|
font-family: ios.$ios-font-family;
|
|
->>>>>>> 19d7e75991c3c7dd80d08a5b73c7271184cfc708
|
|
|
|
text-transform: uppercase;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
letter-spacing: 0.5px;
|
|
margin-bottom: ios.$ios-spacing-xs;
|
|
margin-bottom: ios.$ios-spacing-xs;
|
|
}
|
|
}
|
|
|
|
|
|
-<<<<<<< HEAD
|
|
|
|
- .metric-value {
|
|
|
|
- font-size: $ios-font-size-title-2;
|
|
|
|
- font-weight: $ios-font-weight-bold;
|
|
|
|
- color: $ios-primary;
|
|
|
|
- font-family: $ios-font-family;
|
|
|
|
- display: flex;
|
|
|
|
- align-items: baseline;
|
|
|
|
- gap: $ios-spacing-xs;
|
|
|
|
-
|
|
|
|
- .metric-unit {
|
|
|
|
- font-size: $ios-font-size-caption-1;
|
|
|
|
- color: $ios-text-secondary;
|
|
|
|
- font-weight: $ios-font-weight-regular;
|
|
|
|
-=======
|
|
|
|
.value {
|
|
.value {
|
|
font-size: ios.$ios-font-size-body;
|
|
font-size: ios.$ios-font-size-body;
|
|
color: ios.$ios-text-primary;
|
|
color: ios.$ios-text-primary;
|
|
@@ -376,7 +346,6 @@
|
|
font-size: ios.$ios-font-size-caption-1;
|
|
font-size: ios.$ios-font-size-caption-1;
|
|
color: ios.$ios-text-secondary;
|
|
color: ios.$ios-text-secondary;
|
|
font-weight: ios.$ios-font-weight-regular;
|
|
font-weight: ios.$ios-font-weight-regular;
|
|
->>>>>>> 19d7e75991c3c7dd80d08a5b73c7271184cfc708
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|