mirror of
https://github.com/flextype/flextype.git
synced 2025-08-20 20:01:37 +02:00
feat(admin-plugin): refact styles #211
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
/**
|
||||
* COMPONENTS / DROPDOWN
|
||||
* COMPONENTS / BUTTONS
|
||||
*
|
||||
* INDEX:
|
||||
* - dropdown
|
||||
* - button
|
||||
* - button--white
|
||||
* - button-group
|
||||
*
|
||||
*/
|
||||
|
||||
|
@@ -36,10 +36,10 @@
|
||||
font-size: 14px;
|
||||
line-height: 14px;
|
||||
|
||||
display: inline-block;
|
||||
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
|
||||
fill: white;
|
||||
|
||||
@apply inline-block;
|
||||
}
|
||||
|
@@ -1,3 +1,13 @@
|
||||
/**
|
||||
* COMPONENTS / FORMS
|
||||
*
|
||||
* INDEX:
|
||||
* - form-control-title
|
||||
* - form-control
|
||||
* - form-group
|
||||
*
|
||||
*/
|
||||
|
||||
.form-control-title
|
||||
{
|
||||
@apply font-bold;
|
||||
|
@@ -42,12 +42,12 @@
|
||||
</button>
|
||||
<div class="js-dropdown dropdown">
|
||||
<a class="dropdown__item" href="{{ path_for('admin.api_tokens.edit') }}?api={{ api }}&api_token={{ token.dirname }}">
|
||||
<i class="fas fa-edit dropdown__icon"></i>
|
||||
<i class="dropdown__icon">{{ filesystem_read(PATH_PLUGINS ~ '/admin/assets/icons/solid/edit.svg')|raw }}</i>
|
||||
{{ tr('admin_edit') }}</a>
|
||||
<div class="dropdown__divider"></div>
|
||||
<a class="dropdown__item" href="javascript:;" onclick="event.preventDefault();
|
||||
document.getElementById('delete-api-token-id-{{ token.dirname }}').submit();">
|
||||
<i class="fas fa-trash-alt dropdown__icon"></i>
|
||||
<i class="dropdown__icon">{{ filesystem_read(PATH_PLUGINS ~ '/admin/assets/icons/solid/trash-alt.svg')|raw }}</i>
|
||||
{{ tr('admin_delete') }}</a>
|
||||
<form id="delete-api-token-id-{{ token.dirname }}" action="{{ path_for('admin.api_tokens.deleteProcess') }}" method="POST" style="display: none;">
|
||||
{{ csrf() }}
|
||||
|
Reference in New Issue
Block a user