style: 缩小编辑器工具栏间距与字体,适应小屏幕
This commit is contained in:
@@ -94,7 +94,7 @@ html, body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 10px 16px;
|
||||
padding: 8px 12px;
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #e0e0e0;
|
||||
flex-shrink: 0;
|
||||
@@ -113,7 +113,7 @@ html, body {
|
||||
display: none;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.toolbar-group.active {
|
||||
@@ -121,12 +121,12 @@ html, body {
|
||||
}
|
||||
|
||||
.toolbar-btn {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
font-size: 18px;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
background: #fff;
|
||||
color: #333;
|
||||
cursor: pointer;
|
||||
@@ -149,39 +149,39 @@ html, body {
|
||||
|
||||
.toolbar-divider {
|
||||
width: 1px;
|
||||
height: 28px;
|
||||
height: 24px;
|
||||
background: #ddd;
|
||||
margin: 0 4px;
|
||||
margin: 0 2px;
|
||||
}
|
||||
|
||||
.toolbar-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 13px;
|
||||
gap: 4px;
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.toolbar-label select {
|
||||
padding: 6px 8px;
|
||||
font-size: 13px;
|
||||
padding: 4px 6px;
|
||||
font-size: 12px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 6px;
|
||||
border-radius: 4px;
|
||||
background: #fff;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.opacity-slider {
|
||||
width: 120px;
|
||||
height: 40px;
|
||||
width: 100px;
|
||||
height: 32px;
|
||||
cursor: pointer;
|
||||
accent-color: #4a90e2;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.scale-slider {
|
||||
width: 120px;
|
||||
height: 40px;
|
||||
width: 100px;
|
||||
height: 32px;
|
||||
cursor: pointer;
|
||||
accent-color: #4a90e2;
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user