|
18 | 18 | display: flex;
|
19 | 19 | justify-content: center;
|
20 | 20 | align-items: center;
|
21 |
| - height: 24px; |
22 |
| - width: 24px; |
| 21 | + height: 28px; |
| 22 | + width: 28px; |
| 23 | +} |
| 24 | + |
| 25 | +.p-TabBar-toolbar .item.arduino-tool-item .arduino-upload-sketch--toolbar, |
| 26 | +.p-TabBar-toolbar .item.arduino-tool-item .arduino-verify-sketch--toolbar { |
23 | 27 | background: var(--theia-arduino-toolbar-button-background);
|
24 | 28 | }
|
25 | 29 |
|
|
29 | 33 |
|
30 | 34 | .arduino-verify-sketch--toolbar,
|
31 | 35 | .arduino-upload-sketch--toolbar {
|
32 |
| - border-radius: 12px; |
| 36 | + border-radius: 14px; |
33 | 37 | }
|
34 | 38 |
|
35 | 39 | .item.arduino-tool-item.toggled {
|
|
43 | 47 | }
|
44 | 48 |
|
45 | 49 | .arduino-tool-icon {
|
46 |
| - height: 24px; |
47 |
| - width: 24px; |
48 |
| - background-color: var(--theia-titleBar-activeBackground); |
49 |
| - -webkit-mask: url(../icons/mask-buttons.svg); |
50 |
| - mask: url(../icons/mask-buttons.svg); |
51 |
| - -webkit-mask-size: 800%; |
52 |
| - mask-size: 800%; |
53 |
| -} |
54 |
| - |
55 |
| -.arduino-save-sketch--toolbar-icon { |
56 |
| - -webkit-mask-position: 59px -4px; |
57 |
| - mask-position: 59px -4px; |
| 50 | + height: 28px; |
| 51 | + width: 28px; |
58 | 52 | }
|
59 | 53 |
|
60 | 54 | .arduino-verify-sketch--toolbar-icon {
|
61 |
| - -webkit-mask-position: 188px -4px; |
62 |
| - mask-position: 188px -4px; |
| 55 | + -webkit-mask: url(../icons/verify.svg) center no-repeat; |
| 56 | + background-color: var(--theia-titleBar-activeBackground); |
63 | 57 | }
|
64 | 58 |
|
65 | 59 | .arduino-upload-sketch--toolbar-icon {
|
66 |
| - -webkit-mask-position: 156px -4px; |
67 |
| - mask-position: 156px -4px; |
68 |
| -} |
69 |
| - |
70 |
| -.arduino-new-sketch--toolbar-icon { |
71 |
| - -webkit-mask-position: 124px -4px; |
72 |
| - mask-position: 124px -4px; |
| 60 | + -webkit-mask: url(../icons/upload.svg) center no-repeat; |
| 61 | + background-color: var(--theia-titleBar-activeBackground); |
73 | 62 | }
|
74 | 63 |
|
75 |
| -.arduino-open-sketch--toolbar-icon { |
76 |
| - -webkit-mask-position: 92px -4px; |
77 |
| - mask-position: 92px -4px; |
| 64 | +.toggle-serial-monitor-icon { |
| 65 | + -webkit-mask: url(../icons/monitor.svg) center no-repeat; |
| 66 | + background-color: var(--theia-menu-selectionBackground); |
78 | 67 | }
|
79 | 68 |
|
80 |
| -.toggle-serial-monitor-icon { |
81 |
| - -webkit-mask-position: 28px -4px; |
82 |
| - mask-position: 28px -4px; |
| 69 | +.toggle-serial-plotter-icon { |
| 70 | + -webkit-mask: url(../icons/plotter.svg) center no-repeat; |
| 71 | + background-color: var(--theia-menu-selectionBackground); |
83 | 72 | }
|
84 | 73 |
|
85 | 74 | .arduino-start-debug-icon {
|
|
114 | 103 | }
|
115 | 104 |
|
116 | 105 | #theia-top-panel .p-TabBar-toolbar {
|
117 |
| - padding-left: 4px !important; /* moves the `verify`, upload and other toolbar items to the left */ |
| 106 | + padding-left: 12px !important; /* moves the `verify`, upload and other toolbar items to the left */ |
118 | 107 | }
|
119 | 108 |
|
120 | 109 | .p-Widget .p-MenuBar {
|
|
181 | 170 | margin-left: 10px;
|
182 | 171 | }
|
183 | 172 |
|
184 |
| -#arduino-open-sketch-control--toolbar--container { |
185 |
| - background-color: var(--theia-arduino-toolbar-button-background); |
186 |
| - border-radius: 1px; |
| 173 | +#arduino-open-sketch-control--toolbar { |
| 174 | + -webkit-mask: url(../icons/sketch-tabs-menu.svg) center no-repeat; |
| 175 | + background-color: var(--theia-dropdown-foreground); |
187 | 176 | }
|
188 | 177 |
|
189 |
| -#arduino-open-sketch-control--toolbar { |
190 |
| - height: unset; |
191 |
| - width: unset; |
192 |
| - line-height: unset; |
193 |
| - color: var(--theia-titleBar-activeBackground); |
194 |
| - padding: 5px 8px; /* based on pure heuristics */ |
| 178 | +.p-TabBar.theia-app-sides .p-TabBar-tabIcon.arduino-boards-manager { |
| 179 | + -webkit-mask: url(../icons/boards-manager.svg) center no-repeat; |
195 | 180 | }
|
196 | 181 |
|
197 | 182 | /* Output */
|
|
0 commit comments