Skip to content

Commit 9badf25

Browse files
committed
Update project-editor.less
1 parent 1d64f63 commit 9badf25

File tree

1 file changed

+24
-12
lines changed

1 file changed

+24
-12
lines changed

packages/eez-studio-ui/_stylesheets/project-editor.less

+24-12
Original file line numberDiff line numberDiff line change
@@ -2964,7 +2964,7 @@
29642964

29652965
.EezStudio_ArrayElementProperty_Item {
29662966
border: 1px solid @borderColor;
2967-
border-radius: 4px;
2967+
border-radius: var(--bs-border-radius);
29682968

29692969
margin-bottom: 10px;
29702970
&:last-item {
@@ -2974,7 +2974,8 @@
29742974
.EezStudio_ArrayElementProperty_Header {
29752975
background-color: @panelHeaderColor;
29762976

2977-
border-radius: 4px 4px 0 0;
2977+
border-radius: var(--bs-border-radius) var(--bs-border-radius) 0
2978+
0;
29782979

29792980
border-bottom: 1px solid @borderColor;
29802981
padding: 2px;
@@ -3000,7 +3001,8 @@
30003001
padding: 10px;
30013002
background-color: @backgroundColor;
30023003

3003-
border-radius: 0 0 4px 4px;
3004+
border-radius: 0 0 var(--bs-border-radius)
3005+
var(--bs-border-radius);
30043006

30053007
.EezStudio_ArrayElementProperty_Body_Property {
30063008
display: flex;
@@ -3039,7 +3041,7 @@
30393041
.EezStudio_ArrayPropertyToolbar {
30403042
background-color: @panelHeaderColor;
30413043
padding: 4px 8px;
3042-
border-radius: 4px 4px 0 0;
3044+
border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0;
30433045
}
30443046

30453047
.EezStudio_EmbeddedPropertyGrid {
@@ -3116,30 +3118,40 @@
31163118
}
31173119

31183120
& > .EezStudio_PropertyGrid_Group {
3119-
margin-bottom: 10px;
3120-
&:last-child {
3121-
margin-bottom: 0;
3122-
}
3123-
31243121
& > .EezStudio_PropertyGrid_Group_Header {
31253122
width: 100%;
31263123

31273124
display: flex;
31283125
align-items: end;
31293126

31303127
background-color: var(--bs-secondary-bg);
3128+
&:hover {
3129+
filter: brightness(90%);
3130+
}
3131+
&:active {
3132+
filter: brightness(80%);
3133+
}
3134+
3135+
border-top: 1px solid @borderColor;
3136+
border-bottom: 1px solid @borderColor;
31313137

3132-
padding: 5px 0;
3138+
padding: 3px 0;
31333139

3134-
font-size: 95%;
3140+
font-size: 90%;
31353141
text-transform: uppercase;
31363142
font-weight: bold;
31373143

31383144
cursor: pointer;
31393145
}
31403146

3147+
&:first-child {
3148+
& > .EezStudio_PropertyGrid_Group_Header {
3149+
border-top: none;
3150+
}
3151+
}
3152+
31413153
& > .EezStudio_PropertyGrid_Group_Body {
3142-
padding: 10px 10px 0 10px;
3154+
padding: 10px;
31433155
}
31443156

31453157
&.collapsed {

0 commit comments

Comments
 (0)