From 6dbc84103735e7de52c4a591fecabb4dd06ae5ec Mon Sep 17 00:00:00 2001 From: Arcturus Date: Sun, 23 Nov 2025 01:01:08 +0900 Subject: [PATCH] fix css and write_count --- AvocadoAmber/adm/community_form_update.php | 2 +- AvocadoAmber/adm/css/addon_config.css | 6 +- AvocadoAmber/adm/css/default.css | 135 ++++++++++----- .../adm/items/config/addon_config.php | 160 +++++++++--------- AvocadoAmber/adm/write_count.php | 12 +- 5 files changed, 182 insertions(+), 133 deletions(-) diff --git a/AvocadoAmber/adm/community_form_update.php b/AvocadoAmber/adm/community_form_update.php index de85568..67941e1 100644 --- a/AvocadoAmber/adm/community_form_update.php +++ b/AvocadoAmber/adm/community_form_update.php @@ -33,4 +33,4 @@ EventHandler::triggerEvent("amber.admin.community_form_update"); sql_query($sql); -goto_url('./community_form.php'); +goto_url(G5_ADMIN_URL . '/community_form.php'); diff --git a/AvocadoAmber/adm/css/addon_config.css b/AvocadoAmber/adm/css/addon_config.css index d911645..907bfe3 100644 --- a/AvocadoAmber/adm/css/addon_config.css +++ b/AvocadoAmber/adm/css/addon_config.css @@ -16,7 +16,11 @@ html>body #container { padding: 0; } -#container section.addon_config { +.addon_conf_form { + height: 100%; +} + +#container .addon_config { display: flex; height: auto; gap: 8px; diff --git a/AvocadoAmber/adm/css/default.css b/AvocadoAmber/adm/css/default.css index 67e6d05..b14acd0 100644 --- a/AvocadoAmber/adm/css/default.css +++ b/AvocadoAmber/adm/css/default.css @@ -71,7 +71,6 @@ html, body { - background: var(--theme-gray-900); padding: 0; margin: 0; font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; @@ -82,6 +81,7 @@ body { } body.popup-body { + background: var(--theme-gray-100); min-width: 0px; } @@ -1107,7 +1107,7 @@ th a { display: inline-block; vertical-align: middle; padding: 3px 10px; - background: var(--theme-color-a); + font-weight: 500; color: #fff; margin: 5px 0 0; } @@ -1415,15 +1415,6 @@ span.empty { text-indent: 0; } -.btn_confirm { - display: block; - position: absolute; - top: 0; - right: 0; - z-index: 9999; - padding: 0; -} - .list_confirm { display: flex; justify-content: end; @@ -1444,39 +1435,6 @@ span.empty { border: 0; } -.btn_confirm>* { - display: block; - position: relative; - height: 64px; - width: 64px; - float: left; - border: none; - color: #fff; - cursor: pointer; -} - -.btn_confirm .btn>span { - display: block; - position: absolute; - top: 50%; - left: 0; - right: 0; - text-align: center; - transform: translateY(-50%); - -webkit-transform: translateY(-50%); - z-index: 0; -} - -.btn_confirm .btn>input { - display: block; - position: absolute; - width: 100%; - height: 100%; - opacity: 0; - z-index: 1; - cursor: pointer; -} - #gnb { display: block; position: relative; @@ -1576,7 +1534,7 @@ form .btn_submit { .new_win_desc { padding: 10px; margin: 20px 0; - background: var(--theme-color-0); + background: var(--theme-gray-500); color: #fff; } @@ -1685,7 +1643,7 @@ body #header ul { body #wrapper { display: block; position: relative; - margin: 8px 0 8px 248px; + margin: 0 0 0 248px; height: calc(100vh - 16px); width: calc(100% - 256px); overflow: hidden; @@ -1810,3 +1768,88 @@ body #container { right: 0; } +.btn_confirm { + display: block; + position: absolute; + top: 0; + right: 0; + z-index: 9999; + padding: 0; +} + +.btn_confirm>* { + display: block; + position: relative; + height: 64px; + width: 64px; + float: left; + border: none; + color: #fff; + cursor: pointer; +} + +.btn_confirm .btn { + display: flex; + justify-content: center; + align-items: center; + border: 2px solid transparent; + box-sizing: border-box; + transition: .25s; +} + +.btn_confirm .btn>span { + position: relative; + text-align: center; + z-index: 0; +} + +.btn_confirm .btn>.btn_submit { + position: absolute; + display: block; + width: 100%; + height: 100%; + opacity: 0; + z-index: 1; + cursor: pointer; +} + +.btn_confirm .btn, +.btn_confirm a, +.btn_confirm button { + background: var(--theme-gray-600); + margin-left: 1px; +} +.btn_confirm .btn>span, +.btn_confirm a>*, +.btn_confirm button>* { + pointer-events: none; +} + +.btn_confirm a, +.btn_confirm button { + box-sizing: border-box; + border: 2px solid transparent; + display: flex; + justify-content: center; + align-items: center; + padding: 0; + transition: .25s; +} + +.btn_confirm a:hover, +.btn_confirm button:hover, +.btn_confirm .btn:hover { + text-decoration: none; + color: var(--white); + background-color: var(--theme-sub-700); +} + +#wrap { + display: block; + position: relative; + margin: 0; + padding: 8px 0; + box-sizing: border-box; + background: var(--theme-gray-900); + height: 100%; +} diff --git a/AvocadoAmber/adm/items/config/addon_config.php b/AvocadoAmber/adm/items/config/addon_config.php index cace59e..fb5a5c4 100644 --- a/AvocadoAmber/adm/items/config/addon_config.php +++ b/AvocadoAmber/adm/items/config/addon_config.php @@ -19,89 +19,89 @@ include_once G5_ADMIN_PATH . '/admin.head.php'; add_stylesheet(get_embed_file("css", G5_PATH . "/adm/css/addon_config.css"), 1); ?> -
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - -
- 애드온 이름 - - name ?> -
- 애드온 제작자 - - link ? "link . "\" target=\"_blank\">" . $addon->author . " [{$addon->link}]" : $addon->author ?> -
- 애드온 설명 - - description ?> -
- 애드온 버전 - - version ?> -
-
-
- -
- - printConfigForm(); - } - ?> -
-
- save - -
-
-
-
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ 애드온 이름 + + name ?> +
+ 애드온 제작자 + + link ? "link . "\" target=\"_blank\">" . $addon->author . " [{$addon->link}]" : $addon->author ?> +
+ 애드온 설명 + + description ?> +
+ 애드온 버전 + + version ?> +
+
+
+ + + printConfigForm(); + } + ?> + 애드온을 선택하세요"; + } + ?> +
-
+
+
+ save + +
+
+ - renderer: $.jqplot.BarRenderer, + renderer: $.jqplot.BarRenderer, - pointLabels: { show: true } + pointLabels: { show: true } }, axes: { xaxis: { @@ -198,8 +198,10 @@ switch ($day) { }); }); - + + +