File tree Expand file tree Collapse file tree
src/test/resources/META-INF/resources/frontend/styles/granitealert Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,13 +33,36 @@ granite-alert-mixin.funny::part(alert) {
3333 border : none;
3434}
3535
36+ granite-alert-mixin {
37+ position : relative;
38+ }
39+
40+ granite-alert-mixin span {
41+ padding-right : 20px ;
42+ display : block;
43+ }
44+
3645granite-alert-mixin vaadin-button {
3746 background-color : transparent;
47+ --vaadin-button-background : transparent;
3848 float : right;
3949 cursor : pointer;
4050 height : 26px ;
4151 margin : 0 ;
4252 padding : 0 ;
53+
54+ position : absolute;
55+ box-shadow : none;
56+ border : none;
57+ height : 100% ;
58+ margin-top : 0.5px ;
59+ top : 0 ;
60+ bottom : 0 ;
61+ right : 0 ;
62+ }
63+
64+ # content .demos-v25 granite-alert-mixin vaadin-button {
65+ right : calc (8px * (1 - var (--vaadin-lumo-theme , 0 )));
4366}
4467
4568granite-alert-mixin [level = "success" ] vaadin-button {
You can’t perform that action at this time.
0 commit comments