From 0081e0178b6a5cd4af2675e79e09f32868c93fef Mon Sep 17 00:00:00 2001 From: Zacharie Guet Date: Sun, 19 Jun 2022 14:42:18 +0200 Subject: [PATCH] Factorization of the css on the admin part * Factorization of the head-button component --- .../themes/default/css/components/general.css | 5 +++ admin/themes/default/template/albums.tpl | 9 ++--- admin/themes/default/template/tags.tpl | 2 +- admin/themes/default/template/user_list.tpl | 21 +++--------- admin/themes/default/theme.css | 34 ------------------- admin/themes/roma/theme.css | 25 ++++---------- 6 files changed, 19 insertions(+), 77 deletions(-) diff --git a/admin/themes/default/css/components/general.css b/admin/themes/default/css/components/general.css index f8f01c938..11cd823a2 100644 --- a/admin/themes/default/css/components/general.css +++ b/admin/themes/default/css/components/general.css @@ -32,6 +32,11 @@ or box-shadow: 0px 2px #bb7932; } +.head-button-1 p, .head-button-2 p { + margin: 0; + white-space: nowrap; +} + .head-button-1:hover { background: #ff7700; } diff --git a/admin/themes/default/template/albums.tpl b/admin/themes/default/template/albums.tpl index 0c50786f6..1b741ee74 100644 --- a/admin/themes/default/template/albums.tpl +++ b/admin/themes/default/template/albums.tpl @@ -111,12 +111,12 @@ const add_sub_album_of = '{'Create a sub-album of "%s"'|@translate|escape:javasc
-
-
@@ -478,11 +478,6 @@ input[name="position"] { margin: 0 !important; } -.add-album-button, -.order-root-button { - margin: 0 10px 0 0; -} - .badge-container { position: absolute; right: 275px; diff --git a/admin/themes/default/template/tags.tpl b/admin/themes/default/template/tags.tpl index f3f5369c1..4987d8a80 100644 --- a/admin/themes/default/template/tags.tpl +++ b/admin/themes/default/template/tags.tpl @@ -116,7 +116,7 @@ var str_tag_found = '{'%d tag found'|@translate}';
-