mirror of
https://github.com/flextype/flextype.git
synced 2025-08-20 11:51:28 +02:00
feat(admin-plugin): add styles fore all icons #211
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
@import 'base/variables';
|
||||
@import 'base/common';
|
||||
@import 'base/content';
|
||||
@import 'base/icons';
|
||||
|
||||
/* Vendor */
|
||||
@import 'vendor/codemirror';
|
||||
|
17
site/plugins/admin/assets/src/base/icons.css
Normal file
17
site/plugins/admin/assets/src/base/icons.css
Normal file
@@ -0,0 +1,17 @@
|
||||
.icon > svg
|
||||
{
|
||||
font-size: inherit;
|
||||
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
|
||||
width: .85rem;
|
||||
height: .85rem;
|
||||
|
||||
vertical-align: -.05rem;
|
||||
}
|
||||
|
||||
.icon--white > svg
|
||||
{
|
||||
fill: white;
|
||||
}
|
@@ -25,21 +25,3 @@
|
||||
{
|
||||
@apply bg-gray-900 h-px my-1;
|
||||
}
|
||||
|
||||
.dropdown__icon
|
||||
{
|
||||
@apply flex mr-3 items-center;
|
||||
}
|
||||
|
||||
.dropdown__icon > svg
|
||||
{
|
||||
font-size: var(--font-size);
|
||||
line-height: var(--font-size);
|
||||
|
||||
width: var(--font-size);
|
||||
height: var(--font-size);
|
||||
|
||||
fill: white;
|
||||
|
||||
@apply inline-block;
|
||||
}
|
||||
|
Reference in New Issue
Block a user