mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Add back button style if it has text
This commit is contained in:
parent
3fd5a6d4e6
commit
4ce2bcc360
@ -73,12 +73,18 @@
|
||||
background-color: $background-main;
|
||||
}
|
||||
|
||||
.toolbar__back-button,
|
||||
.cms-backlink .toolbar__back-button { // TEMP: Needed for anchor buttons to override legacy styles
|
||||
.toolbar__back-button {
|
||||
float: left;
|
||||
margin: $spacer-xs $spacer-x / 2 $spacer-xs #{-$spacer-xs};
|
||||
padding-left: $spacer-x / 4;
|
||||
padding-right: $spacer-x / 4;
|
||||
border: 0;
|
||||
color: $body-color-light; // TEMP: Needed for anchor buttons to override legacy styles
|
||||
|
||||
.toolbar--south & {
|
||||
margin-top: 0;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
&.btn--no-text {
|
||||
padding-right: $spacer-x / 4;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user