|
2454 | 2454 |
|
2455 | 2455 | & > div {
|
2456 | 2456 | border: 1px solid @panelBorderColor;
|
| 2457 | + overflow: hidden; |
2457 | 2458 | }
|
2458 | 2459 |
|
2459 | 2460 | & > div:nth-child(1) {
|
|
2489 | 2490 | > .EezStudio_TreeRow.part {
|
2490 | 2491 | padding-top: 5px;
|
2491 | 2492 | }
|
| 2493 | + |
| 2494 | + .EezStudio_TreeRowLabel { |
| 2495 | + margin-left: 13px; |
| 2496 | + } |
2492 | 2497 | }
|
2493 | 2498 |
|
2494 | 2499 | .EezStudio_TreeRowTriangle {
|
|
2526 | 2531 | color: @inErrorTextColor;
|
2527 | 2532 | background-color: @inErrorBackgroundColor;
|
2528 | 2533 | }
|
2529 |
| - padding-left: 10px; |
| 2534 | + padding-left: 5px; |
| 2535 | + padding-right: 5px; |
2530 | 2536 | display: flex;
|
2531 | 2537 | align-items: baseline;
|
2532 | 2538 | .EezStudio_LVGLStylesDefinition_Name {
|
2533 |
| - font-size: 95%; |
2534 |
| - min-width: 120px; |
| 2539 | + white-space: nowrap; |
| 2540 | + overflow: hidden; |
| 2541 | + text-overflow: ellipsis; |
| 2542 | + width: 33%; |
| 2543 | + |
2535 | 2544 | .form-check-label {
|
2536 |
| - transform: translateY(-3px); |
| 2545 | + padding: 4px; |
| 2546 | + span { |
| 2547 | + font-size: 95%; |
| 2548 | + white-space: nowrap; |
| 2549 | + overflow: hidden; |
| 2550 | + text-overflow: ellipsis; |
| 2551 | + } |
2537 | 2552 | }
|
2538 | 2553 | }
|
2539 | 2554 | .EezStudio_LVGLStylesDefinition_Value {
|
|
2565 | 2580 | .EezStudio_LVGLGeometryProperty {
|
2566 | 2581 | width: 100%;
|
2567 | 2582 | display: flex;
|
| 2583 | + & > :first-child { |
| 2584 | + width: 100%; |
| 2585 | + } |
2568 | 2586 | & > select {
|
2569 | 2587 | min-width: 95px;
|
2570 | 2588 | margin-left: 2px;
|
|
2576 | 2594 | width: 100%;
|
2577 | 2595 | display: flex;
|
2578 | 2596 | align-items: baseline;
|
2579 |
| - justify-content: space-between; |
| 2597 | + |
| 2598 | + & > :first-child { |
| 2599 | + width: 67%; |
| 2600 | + } |
| 2601 | + |
2580 | 2602 | & > select {
|
2581 |
| - min-width: 130px; |
| 2603 | + width: 33%; |
| 2604 | + max-width: 130px; |
2582 | 2605 | margin-left: 2px;
|
2583 |
| - flex: 0; |
2584 | 2606 | }
|
2585 | 2607 | }
|
2586 | 2608 |
|
|
2897 | 2919 |
|
2898 | 2920 | margin-top: 2px;
|
2899 | 2921 | margin-bottom: 2px;
|
| 2922 | + &:last-child { |
| 2923 | + margin-bottom: 0; |
| 2924 | + } |
2900 | 2925 |
|
2901 | 2926 | input[type="color"] {
|
2902 | 2927 | height: 28px;
|
|
2928 | 2953 | min-height: auto;
|
2929 | 2954 | }
|
2930 | 2955 |
|
2931 |
| - table { |
2932 |
| - & > tbody { |
2933 |
| - & > tr.inError { |
2934 |
| - color: @inErrorTextColor; |
2935 |
| - background-color: @inErrorBackgroundColor; |
2936 |
| - } |
2937 |
| - & > td.highlighted { |
2938 |
| - background-color: #ff6666; |
2939 |
| - } |
2940 |
| - |
2941 |
| - & > tr > td { |
2942 |
| - &:nth-child(2) { |
2943 |
| - padding-left: 10px; |
2944 |
| - width: 100%; |
2945 |
| - } |
2946 |
| - } |
2947 |
| - } |
2948 |
| - } |
2949 |
| - |
2950 | 2956 | .EezStudio_ArrayPropertyContent {
|
2951 | 2957 | position: relative;
|
2952 | 2958 | border-top: 1px solid @borderColor;
|
2953 | 2959 |
|
2954 |
| - border-radius: 0 0 4px px; |
2955 |
| - |
2956 | 2960 | padding: 10px;
|
2957 | 2961 | padding-bottom: 0;
|
2958 | 2962 |
|
|
2963 | 2967 | border-radius: 4px;
|
2964 | 2968 |
|
2965 | 2969 | margin-bottom: 10px;
|
| 2970 | + &:last-item { |
| 2971 | + margin-bottom: 0; |
| 2972 | + } |
2966 | 2973 |
|
2967 | 2974 | .EezStudio_ArrayElementProperty_Header {
|
2968 | 2975 | background-color: @panelHeaderColor;
|
2969 | 2976 |
|
2970 | 2977 | border-radius: 4px 4px 0 0;
|
2971 | 2978 |
|
2972 | 2979 | border-bottom: 1px solid @borderColor;
|
2973 |
| - padding: 5px; |
| 2980 | + padding: 2px; |
2974 | 2981 |
|
2975 | 2982 | display: flex;
|
2976 | 2983 | align-items: center;
|
|
2994 | 3001 | background-color: @backgroundColor;
|
2995 | 3002 |
|
2996 | 3003 | border-radius: 0 0 4px 4px;
|
2997 |
| - } |
2998 | 3004 |
|
2999 |
| - table { |
3000 |
| - width: 100%; |
| 3005 | + .EezStudio_ArrayElementProperty_Body_Property { |
| 3006 | + display: flex; |
| 3007 | + align-items: baseline; |
3001 | 3008 |
|
3002 |
| - tr { |
3003 |
| - td:first-child { |
| 3009 | + & > div:first-child { |
| 3010 | + width: 33%; |
3004 | 3011 | white-space: nowrap;
|
| 3012 | + overflow: hidden; |
| 3013 | + text-overflow: ellipsis; |
| 3014 | + } |
| 3015 | + & > div:nth-child(2) { |
| 3016 | + width: 100%; |
| 3017 | + } |
| 3018 | + |
| 3019 | + &:not(:last-child) { |
| 3020 | + margin-bottom: 2px; |
| 3021 | + } |
| 3022 | + |
| 3023 | + &.inError { |
| 3024 | + color: @inErrorTextColor; |
| 3025 | + background-color: @inErrorBackgroundColor; |
| 3026 | + padding: 2px; |
| 3027 | + margin: 0; |
| 3028 | + |
| 3029 | + .form-text { |
| 3030 | + color: @inErrorTextColor; |
| 3031 | + } |
3005 | 3032 | }
|
3006 | 3033 | }
|
3007 | 3034 | }
|
|
3036 | 3063 | }
|
3037 | 3064 |
|
3038 | 3065 | .EezStudio_EmbeddedNonCollapsablePropertyGrid {
|
| 3066 | + width: 100%; |
3039 | 3067 | & > div {
|
3040 | 3068 | padding: 0;
|
3041 | 3069 | overflow: hidden;
|
|
3045 | 3073 |
|
3046 | 3074 | .EezStudio_PropertyGrid {
|
3047 | 3075 | flex-grow: 1;
|
3048 |
| - padding: 5px 2px 10px 0px; |
3049 | 3076 | overflow-x: hidden;
|
3050 | 3077 | overflow-y: auto;
|
3051 | 3078 |
|
@@ -3088,115 +3115,102 @@
|
3088 | 3115 | min-width: 15.39px;
|
3089 | 3116 | }
|
3090 | 3117 |
|
3091 |
| - & > table { |
3092 |
| - width: 100%; |
| 3118 | + & > .EezStudio_PropertyGrid_Group { |
| 3119 | + margin-bottom: 10px; |
| 3120 | + &:last-child { |
| 3121 | + margin-bottom: 0; |
| 3122 | + } |
3093 | 3123 |
|
3094 |
| - & > tbody { |
3095 |
| - & > tr { |
3096 |
| - &.inError { |
3097 |
| - color: @inErrorTextColor; |
3098 |
| - background-color: @inErrorBackgroundColor; |
| 3124 | + & > .EezStudio_PropertyGrid_Group_Header { |
| 3125 | + width: 100%; |
3099 | 3126 |
|
3100 |
| - .form-text { |
3101 |
| - color: @inErrorTextColor; |
3102 |
| - } |
3103 |
| - } |
| 3127 | + display: flex; |
| 3128 | + align-items: end; |
3104 | 3129 |
|
3105 |
| - &.highlighted { |
3106 |
| - background-color: #ff6666; |
3107 |
| - } |
| 3130 | + background-color: var(--bs-secondary-bg); |
3108 | 3131 |
|
3109 |
| - & > td { |
3110 |
| - vertical-align: baseline; |
3111 |
| - padding-top: 1px; |
3112 |
| - padding-bottom: 1px; |
3113 |
| - } |
| 3132 | + padding: 5px 0; |
3114 | 3133 |
|
3115 |
| - & > td:first-child { |
3116 |
| - padding-left: 20px; |
3117 |
| - &:not([colspan="2"]) { |
3118 |
| - padding-right: 10px; |
3119 |
| - } |
3120 |
| - } |
| 3134 | + font-size: 95%; |
| 3135 | + text-transform: uppercase; |
| 3136 | + font-weight: bold; |
3121 | 3137 |
|
3122 |
| - & > td > div.EezStudio_CodeEditor { |
3123 |
| - display: list-item; |
3124 |
| - } |
| 3138 | + cursor: pointer; |
| 3139 | + } |
3125 | 3140 |
|
3126 |
| - & > td.property-name { |
3127 |
| - white-space: nowrap; |
3128 |
| - height: 26px; |
| 3141 | + & > .EezStudio_PropertyGrid_Group_Body { |
| 3142 | + padding: 10px 10px 0 10px; |
| 3143 | + } |
3129 | 3144 |
|
3130 |
| - & > .collapsable { |
3131 |
| - transform: translateX(-10px); |
3132 |
| - cursor: pointer; |
3133 |
| - &:hover { |
3134 |
| - background-color: #eee; |
3135 |
| - } |
3136 |
| - } |
3137 |
| - } |
| 3145 | + &.collapsed { |
| 3146 | + & > .EezStudio_PropertyGrid_Group_Body { |
| 3147 | + display: none; |
| 3148 | + } |
| 3149 | + } |
| 3150 | + } |
3138 | 3151 |
|
3139 |
| - & > td:nth-child(2) { |
3140 |
| - width: 100%; |
3141 |
| - } |
| 3152 | + & .EezStudio_PropertyGrid_Property { |
| 3153 | + display: flex; |
| 3154 | + align-items: baseline; |
3142 | 3155 |
|
3143 |
| - & > td.group-cell { |
3144 |
| - padding-left: 0; |
3145 |
| - padding-right: 0; |
3146 |
| - & > div.group-container { |
3147 |
| - width: 100%; |
3148 |
| - display: flex; |
3149 |
| - justify-content: space-between; |
3150 |
| - align-items: center; |
3151 |
| - & > div.group-title { |
3152 |
| - font-size: 85%; |
3153 |
| - text-transform: uppercase; |
3154 |
| - font-weight: bold; |
3155 |
| - display: inline-flex; |
3156 |
| - align-items: center; |
3157 |
| - } |
| 3156 | + margin-bottom: 2px; |
| 3157 | + &:last-child { |
| 3158 | + margin-bottom: 0; |
| 3159 | + } |
3158 | 3160 |
|
3159 |
| - cursor: pointer; |
3160 |
| - &:hover { |
3161 |
| - background-color: #eee; |
3162 |
| - } |
3163 |
| - } |
3164 |
| - } |
| 3161 | + & > .property-name { |
| 3162 | + white-space: nowrap; |
| 3163 | + overflow: hidden; |
| 3164 | + text-overflow: ellipsis; |
3165 | 3165 |
|
3166 |
| - & > td.embedded-property-cell { |
3167 |
| - padding-left: 20px; |
3168 |
| - padding-right: 0; |
| 3166 | + height: 26px; |
| 3167 | + width: 33%; |
3169 | 3168 |
|
3170 |
| - & > .collapsable > div.collapsable-property-name { |
3171 |
| - margin-top: 4px; |
3172 |
| - transform: translateX(-10px); |
3173 |
| - cursor: pointer; |
3174 |
| - &:hover { |
3175 |
| - background-color: #eee; |
3176 |
| - } |
3177 |
| - } |
| 3169 | + & > .collapsable { |
| 3170 | + transform: translateX(-10px); |
| 3171 | + cursor: pointer; |
| 3172 | + &:hover { |
| 3173 | + background-color: #eee; |
3178 | 3174 | }
|
| 3175 | + } |
| 3176 | + } |
3179 | 3177 |
|
3180 |
| - textarea.pre { |
3181 |
| - font-family: "EEZ Studio Font Monospace"; |
3182 |
| - font-size: 0.72rem; |
| 3178 | + & > .embedded-property-cell { |
| 3179 | + width: 100%; |
| 3180 | + |
| 3181 | + & > .collapsable > div.collapsable-property-name { |
| 3182 | + margin-top: 4px; |
| 3183 | + transform: translateX(-10px); |
| 3184 | + cursor: pointer; |
| 3185 | + &:hover { |
| 3186 | + background-color: #eee; |
3183 | 3187 | }
|
3184 | 3188 | }
|
3185 | 3189 | }
|
3186 |
| - } |
3187 | 3190 |
|
3188 |
| - &.EezStudio_PropertyGrid_NoGroups { |
3189 |
| - padding: 5px; |
| 3191 | + &.inError { |
| 3192 | + color: @inErrorTextColor; |
| 3193 | + background-color: @inErrorBackgroundColor; |
| 3194 | + padding: 2px; |
| 3195 | + margin: 0; |
3190 | 3196 |
|
3191 |
| - & > table { |
3192 |
| - & > tbody { |
3193 |
| - & > tr { |
3194 |
| - & > td:first-child { |
3195 |
| - padding-left: 0px; |
3196 |
| - } |
3197 |
| - } |
| 3197 | + .form-text { |
| 3198 | + color: @inErrorTextColor; |
3198 | 3199 | }
|
3199 | 3200 | }
|
| 3201 | + |
| 3202 | + &.highlighted { |
| 3203 | + background-color: #ff6666; |
| 3204 | + } |
| 3205 | + |
| 3206 | + .EezStudio_CodeEditor { |
| 3207 | + display: list-item; |
| 3208 | + } |
| 3209 | + |
| 3210 | + textarea.pre { |
| 3211 | + font-family: "EEZ Studio Font Monospace"; |
| 3212 | + font-size: 0.72rem; |
| 3213 | + } |
3200 | 3214 | }
|
3201 | 3215 | }
|
3202 | 3216 |
|
|
3212 | 3226 | padding: 6px;
|
3213 | 3227 | width: 20px;
|
3214 | 3228 | height: 20px;
|
| 3229 | + flex: 0; |
3215 | 3230 |
|
3216 | 3231 | &:hover {
|
3217 | 3232 | background-color: #eee;
|
|
0 commit comments