Merge pull request #6003 from open-sausages/pulls/4.0/readonly-field-icon

Adjustment for icons within readonly fields
This commit is contained in:
Ingo Schommer 2016-09-14 16:06:20 +12:00 committed by GitHub
commit c2292a4cc1
5 changed files with 12 additions and 15 deletions

View File

@ -75,7 +75,7 @@ class Image extends File implements ShortcodeHandler {
'ClickableURL',
_t('AssetTableField.URL','URL'),
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',

File diff suppressed because one or more lines are too long

View File

@ -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
// scss-lint:disable all

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long