Skip to content

Commit 6c45b31

Browse files
author
hikki
committed
搜索bug 样式调整
1 parent 0ae26fa commit 6c45b31

File tree

2 files changed

+227
-55
lines changed

2 files changed

+227
-55
lines changed

resources/assets/component.css

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
border: none;
2626
vertical-align: baseline;
2727
background: #d6d6d6;
28-
color: rgba(0,0,0,.6);
28+
color: rgba(0,0,0,.7);
2929
font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;
3030
margin: 0 0.25em 0;
3131
padding: 2px 4px 2px 4px;
@@ -52,7 +52,7 @@
5252
background-image: none;
5353
-webkit-box-shadow: 0 0 0 1px transparent inset, 0 0 0 0 rgb(34 36 38 / 15%) inset;
5454
box-shadow: 0 0 0 1px transparent inset, 0 0 0 0 rgb(34 36 38 / 15%) inset;
55-
color: rgba(0,0,0,.8);
55+
color: rgba(0,0,0,1);
5656
}
5757

5858
.dlp-scroll{overflow-y: auto;overflow-x: hidden;}
@@ -95,7 +95,7 @@
9595
.dot-selected{width: 100%}
9696
.dot-selected>.dlp-label{background: white}
9797
.dot-body{padding:3px 0 3px 0;background: rgb(43 43 43);border-radius: 0 0 5px 5px;position: relative;}
98-
.dot-select{position: absolute;top:5px;left:0;bottom:5px;right:0;z-index: 1050;}
98+
.dot-select{position: absolute;top:3px;left:0;bottom:3px;right:0;z-index: 1050;}
9999
.dot-select-cover{background: rgb(43 43 43);position: absolute;top:3px;left:0;bottom:3px;right:0;z-index: 1050;}
100100
.dot-select-cascade{
101101
display: flex;
@@ -107,9 +107,9 @@
107107
border-radius: 3px;
108108
flex-grow:1;
109109
text-align: center;
110-
padding-left: 3px;
110+
margin:0 3px 0;
111+
background: #222222;
111112
}
112-
.dot-cascade-stack:first-child{padding: 0}
113113
.dot-cascade-stack>.dlp-label{
114114
display: block;
115115
max-width: unset;
@@ -123,6 +123,10 @@
123123
right: 4px!important;
124124
top: 4px!important;
125125
}
126+
.dlp-label>i.left{
127+
left: 0!important;
128+
right: unset!important;
129+
}
126130
.dot-cascade-stack>.dlp-label-silence{
127131
opacity: 0.5;
128132
}

0 commit comments

Comments
 (0)