mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #6003 from open-sausages/pulls/4.0/readonly-field-icon
Adjustment for icons within readonly fields
This commit is contained in:
commit
c2292a4cc1
@ -75,7 +75,7 @@ class Image extends File implements ShortcodeHandler {
|
|||||||
'ClickableURL',
|
'ClickableURL',
|
||||||
_t('AssetTableField.URL','URL'),
|
_t('AssetTableField.URL','URL'),
|
||||||
sprintf('<i class="%s"></i><a href="%s" target="_blank">%s</a>',
|
sprintf('<i class="%s"></i><a href="%s" target="_blank">%s</a>',
|
||||||
'icon font-icon-link editor__url-icon', $link, $link)
|
'font-icon-link btn--icon-large form-control-static__icon', $link, $link)
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
Tab::create('Usage',
|
Tab::create('Usage',
|
||||||
|
10
admin/client/dist/styles/bundle.css
vendored
10
admin/client/dist/styles/bundle.css
vendored
File diff suppressed because one or more lines are too long
@ -92,6 +92,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Icons used in readonly fields (eg URL field in assetAdmin)
|
||||||
|
.form-control-static__icon::before {
|
||||||
|
color: lighten($text-muted, 20%);
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-right: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Readonlys should be converted to an input
|
// Readonlys should be converted to an input
|
||||||
// scss-lint:disable all
|
// scss-lint:disable all
|
||||||
|
2
client/dist/styles/AssetUploadField.css
vendored
2
client/dist/styles/AssetUploadField.css
vendored
File diff suppressed because one or more lines are too long
6
client/dist/styles/GridField.css
vendored
6
client/dist/styles/GridField.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user