This commit is contained in:
2023-04-28 15:06:47 +08:00
parent 58de68a878
commit 9bf9e7da27
6 changed files with 64 additions and 48 deletions

View File

@ -42,7 +42,7 @@
&:hover {
background-color: var(--dark-fore-opacity-color);
>svg {
> svg {
opacity: .6;
}
}
@ -52,12 +52,12 @@
fill: lightgray;
background-color: transparent !important;
&:hover>svg {
&:hover > svg {
opacity: unset;
}
}
>svg {
> svg {
width: 13px;
height: 14px;
display: block;
@ -75,16 +75,16 @@
align-items: center;
font-size: var(--font-larger-size);
>div {
> div {
flex: 1 1 auto;
}
>.title-functions {
> .title-functions {
flex: 0 0 auto;
display: flex;
padding: 4px;
>label {
> label {
margin: 0 4px;
box-sizing: border-box;
cursor: pointer;
@ -97,7 +97,7 @@
justify-content: center;
transition: background-color .2s;
>svg {
> svg {
fill: var(--strong-color);
width: 14px;
height: 14px;
@ -107,7 +107,7 @@
&:hover {
background-color: var(--dark-fore-opacity-color);
>svg {
> svg {
opacity: .6;
}
}
@ -119,7 +119,7 @@
&:hover {
background-color: var(--dark-fore-color);
>svg {
> svg {
opacity: unset;
}
}
@ -134,26 +134,31 @@
display: flex;
border-bottom: 1px solid var(--title-bg-color);
>.bar-icon {
> .bar-icon {
flex: 0 0 auto;
>svg {
> svg {
width: 30px;
height: 30px;
margin: 0 8px;
}
}
>.bar-list {
> .bar-list {
flex: 1 1 auto;
width: calc(100% - 46px);
.bar-list-container {
max-height: 120px;
overflow: auto;
}
.contact-item {
display: flex;
align-items: center;
line-height: 22px;
>svg {
> svg {
flex: 0 0 auto;
width: 16px;
height: 16px;
@ -161,7 +166,7 @@
fill: var(--strong-color);
}
>span {
> span {
// flex: 1 1 auto;
color: var(--strong-color);
font-size: var(--font-size);
@ -177,7 +182,7 @@
float: right;
margin: 4px 10px 10px;
>svg {
> svg {
width: 16px;
}
}
@ -189,7 +194,7 @@
display: flex;
flex-direction: column;
>textarea {
> textarea {
padding: 10px 10px 0;
border: none;
height: 70px;
@ -200,17 +205,17 @@
@include outline();
}
>div {
> div {
padding: 0 10px 10px;
>.customer-name {
> .customer-name {
float: left;
>span {
> span {
font-size: var(--font-smaller-size);
}
>.ui-input {
> .ui-input {
margin-left: 4px;
width: 150px;
border-top: none;
@ -219,7 +224,7 @@
}
}
>.prompt-count {
> .prompt-count {
display: inline-block;
color: var(--light-color);
font-size: var(--font-smaller-size);
@ -254,7 +259,7 @@
font-size: var(--font-size);
align-self: flex-start;
.ui-tooltip-wrapper>.ui-tooltip-content {
.ui-tooltip-wrapper > .ui-tooltip-content {
font-weight: normal;
}
}
@ -268,7 +273,7 @@
max-width: 240px;
background-color: rgb(244, 244, 244);
a>svg {
a > svg {
width: 13px;
height: 13px;
fill: #2140fb;
@ -278,7 +283,7 @@
}
}
>span::after {
> span::after {
content: '';
display: block;
}
@ -330,7 +335,7 @@
height: 100%;
min-height: 120px;
>.ui-grid-body .ui-grid-body-content>.ui-grid-row>td {
> .ui-grid-body .ui-grid-body-content > .ui-grid-row > td {
vertical-align: top;
.col-icon {
@ -340,11 +345,11 @@
.icon-contact-type {
cursor: unset;
>svg {
> svg {
fill: #333;
}
&:hover>svg {
&:hover > svg {
opacity: unset;
}
}
@ -370,22 +375,22 @@
flex-direction: column;
width: 600px;
>.follower-search {
> .follower-search {
margin-bottom: 6px;
}
>.follower-grid {
> .follower-grid {
height: 380px;
}
}
}
}
@media (prefers-color-scheme: dark) {
/*@media (prefers-color-scheme: dark) {
.comm {
--dark-fore-color: #000;
--dark-fore-opacity-color: rgba(0, 0, 0, .4);
--strong-color: #ccc;
--light-color: #333;
}
}
}*/