mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00: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;
|
background-color: $background-main;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toolbar__back-button,
|
.toolbar__back-button {
|
||||||
.cms-backlink .toolbar__back-button { // TEMP: Needed for anchor buttons to override legacy styles
|
|
||||||
float: left;
|
float: left;
|
||||||
margin: $spacer-xs $spacer-x / 2 $spacer-xs #{-$spacer-xs};
|
margin: $spacer-xs $spacer-x / 2 $spacer-xs #{-$spacer-xs};
|
||||||
padding-left: $spacer-x / 4;
|
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
|
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…
x
Reference in New Issue
Block a user