@@ -107,7 +107,7 @@ div:focus-visible {
107107 max-width : 1px ;
108108 white-space : nowrap ;
109109
110- > div {
110+ > div , > span {
111111 overflow : hidden ;
112112 text-overflow : ellipsis ;
113113 }
@@ -128,6 +128,7 @@ div:focus-visible {
128128/* layout */
129129.layout-main {
130130 margin : 1rem ;
131+ min-height : 600px ; // ensure adequte space below main content on short screens
131132 @media screen and (min-width : 992px ) {
132133 margin : 1rem 5rem 1rem 5rem ;
133134 }
@@ -164,9 +165,20 @@ div:focus-visible {
164165 }
165166}
166167
167- /* buttons */
168+ /* icons and buttons */
169+
170+ .material-icons-round ,
171+ .material-icons-outlined {
172+ color : $bcbox-icon-default ;
173+ & :hover {
174+ color : $bcbox-primary ;
175+ text-decoration : none ;
176+ }
177+ & .icon-medium { font-size : 200% ; }
178+ & .icon-large { font-size : 250% ; }
179+ }
180+
168181.p-button :hover {
169- text-decoration : underline ;
170182 opacity : 0.8 ;
171183}
172184.p-button .p-button-icon :before {
@@ -178,17 +190,40 @@ div:focus-visible {
178190 border-width : 2px ;
179191 & :not (.p-button-secondary , .p-button-success , .p-button-info , .p-button-warning , .p-button-help , .p-button-danger ) {
180192 color : $bcbox-primary ;
193+
194+ & :not (.p-button-text ) span [class ^= " material-icons-" ] {
195+ color : $bcbox-primary ;
196+ }
197+
181198 & :not (.p-button-outlined , .p-button-text ) {
182199 background-color : $bcbox-primary ;
183200 border-color : $bcbox-primary ;
184201 color : $bcbox-outline-on-primary ;
202+
203+ span [class ^= " material-icons-" ] {
204+ color : white ;
205+ }
185206 }
186207 }
187208}
188209
189210.p-button-outlined {
190211 border-width : 2px ;
212+ & .p-disabled , & .p-disabled span {
213+ color : var (--text-color ) !important ;
214+ }
215+ }
216+
217+ // 'permanently delete' button
218+ .deleted-object-list {
219+ .btn-delete {
220+ & , & span { color : red !important ; }
221+ & .p-disabled , & .p-disabled span {
222+ color : var (--text-color ) !important ;
223+ }
224+ }
191225}
226+
192227.p-confirm-dialog-reject {
193228 border : 2px solid $bcbox-primary ;
194229}
@@ -271,7 +306,7 @@ div:focus-visible {
271306
272307 .action-buttons .p-button {
273308 padding : 0 ;
274- margin-left : 1 rem ;
309+ margin-left : .8 rem ;
275310 font-size : 1.25rem ;
276311 }
277312}
@@ -294,8 +329,8 @@ div:focus-visible {
294329 .p-dialog-header {
295330 padding-bottom : 0 ;
296331
297- .svg-inline--fa {
298- color : $bcbox-primary ;
332+ .svg-inline--fa ,
333+ span [ class ^= " material-icons- " ] {
299334 font-size : 1.8rem ;
300335 padding-right : 0.75rem ;
301336 border : 0 ;
@@ -310,7 +345,7 @@ div:focus-visible {
310345 .bcbox-info-dialog-subhead {
311346 font-weight : normal ;
312347 margin-bottom : 1.5rem ;
313- padding-left : 3.1 rem ;
348+ padding-left : 2.6 rem ;
314349 @extend .wrap-block ;
315350 }
316351}
0 commit comments