33 --vaadin-button-shadow : var (--aura-shadow-xs );
44}
55
6+ vaadin-message ::part (attachment ),
67: is (vaadin-button , vaadin-upload-button , vaadin-menu-bar-button , vaadin-drawer-toggle , vaadin-crud-edit ) {
78 transition : scale 180ms ;
89 position : relative;
@@ -14,6 +15,7 @@ vaadin-drawer-toggle[theme~='tertiary']::part(icon) {
1415 opacity : 0.6 ;
1516}
1617
18+ vaadin-message ::part (attachment ),
1719: is (vaadin- butto n, vaadin-upload-button , vaadin-menu-bar-button , vaadin-drawer-toggle , vaadin-crud-edit ): where (
1820 : not ([theme ~= 'tertiary' ])
1921) {
@@ -23,11 +25,13 @@ vaadin-drawer-toggle[theme~='tertiary']::part(icon) {
2325}
2426
2527/* prettier-ignore */
28+ vaadin-message ::part (attachment ),
2629: is (vaadin- butto n, vaadin-upload-button , vaadin-menu-bar-button , vaadin-drawer-toggle , vaadin-crud-edit ): not ([theme ~= 'primary' ], [theme ~= 'tertiary' ]) {
2730 background : var (--vaadin-button-background , var (--_background ));
2831 border-color : var (--vaadin-button-border-color , var (--aura-accent-border-color ));
2932}
3033
34+ vaadin-message ::part (attachment ),
3135: is (vaadin- butto n, vaadin-upload-button , vaadin-menu-bar-button , vaadin-drawer-toggle , vaadin-crud-edit ): where (
3236 : not ([theme ~= 'primary' ])
3337) {
@@ -75,6 +79,7 @@ vaadin-menu-bar-button[aria-haspopup='true']:not([slot='overflow']) {
7579 color : color-mix (in srgb, currentColor 50% , transparent);
7680}
7781
82+ vaadin-message ::part (attachment )::before ,
7883: is (vaadin-button , vaadin-upload-button , vaadin-menu-bar-button , vaadin-drawer-toggle , vaadin-crud-edit ): not (
7984 [disabled ]
8085 )::before {
@@ -91,6 +96,7 @@ vaadin-menu-bar-button[aria-haspopup='true']:not([slot='overflow']) {
9196}
9297
9398@supports (color : hsl (0 0 0 )) {
99+ vaadin-message ::part (attachment )::before ,
94100 : is (vaadin-button , vaadin-upload-button , vaadin-menu-bar-button , vaadin-drawer-toggle , vaadin-crud-edit ): not (
95101 [disabled ]
96102 )::before {
@@ -100,6 +106,7 @@ vaadin-menu-bar-button[aria-haspopup='true']:not([slot='overflow']) {
100106
101107@media (any-hover : hover) {
102108 /* prettier-ignore */
109+ vaadin-message ::part (attachment ): hover : not (: active )::before ,
103110 : is (vaadin-button , vaadin-upload-button , vaadin-menu-bar-button , vaadin-drawer-toggle , vaadin-crud-edit ): hover : not ([disabled ], [active ])::before {
104111 opacity : 0.03 ;
105112 }
@@ -112,18 +119,21 @@ vaadin-menu-bar-button[aria-haspopup='true']:not([slot='overflow']) {
112119
113120@media (min-resolution : 2x ) {
114121 /* prettier-ignore */
122+ vaadin-message ::part (attachment ): active,
115123 : is (vaadin- butto n, vaadin-upload-button , vaadin-menu-bar-button [first-visible ][last-visible ], vaadin-drawer-toggle )[active ]: not ([disabled ], [aria-disabled = 'true' ]) {
116124 scale : 0.98 ;
117125 transition-duration : 50ms ;
118126 }
119127}
120128
129+ vaadin-message ::part (attachment ): active ,
121130: is (vaadin-button , vaadin-upload-button , vaadin-menu-bar-button , vaadin-drawer-toggle , vaadin-crud-edit )[active ]: not (
122131 [disabled ]
123132 ) {
124133 box-shadow : none;
125134}
126135
136+ vaadin-message ::part (attachment ): active ::before ,
127137: is (vaadin-button , vaadin-upload-button , vaadin-menu-bar-button , vaadin-drawer-toggle , vaadin-crud-edit )[active ]: not (
128138 [disabled ]
129139 )::before {
0 commit comments