mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Slight adjustment to make sure icons don't effect text
This commit is contained in:
parent
f0d6f6b04e
commit
25f118657e
4
admin/client/dist/styles/bundle.css
vendored
4
admin/client/dist/styles/bundle.css
vendored
File diff suppressed because one or more lines are too long
@ -9,26 +9,28 @@
|
||||
}
|
||||
|
||||
// Button icons
|
||||
.btn[class*="font-icon-"]::before,
|
||||
.btn--icon-large[class*="font-icon-"]::before,
|
||||
.btn--icon-xl[class*="font-icon-"]::before {
|
||||
position: relative;
|
||||
margin-right: 6px;
|
||||
line-height: $line-height-base;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.btn[class*="font-icon-"]::before {
|
||||
font-size: 16px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
margin-right: 6px;
|
||||
line-height: 13px;
|
||||
}
|
||||
|
||||
// Gives button a larger icon
|
||||
.btn--icon-large[class*="font-icon-"]::before {
|
||||
font-size: 20px;
|
||||
line-height: 20px;
|
||||
top: 0;
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
.btn--icon-xl[class*="font-icon-"]::before {
|
||||
font-size: 22px;
|
||||
line-height: 20px;
|
||||
top: -1px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user