From ba10bea132d279a5b1426eb2fee73b37f15fb9f3 Mon Sep 17 00:00:00 2001 From: Kavalar Date: Fri, 3 Jan 2025 18:25:24 +0300 Subject: [PATCH] tg css --- app/modules/tgbot/views/tgbot/layout/main.php | 1 + resources/main/css/tg.css | 60 +++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 resources/main/css/tg.css diff --git a/app/modules/tgbot/views/tgbot/layout/main.php b/app/modules/tgbot/views/tgbot/layout/main.php index e79f5cd..fd115e9 100644 --- a/app/modules/tgbot/views/tgbot/layout/main.php +++ b/app/modules/tgbot/views/tgbot/layout/main.php @@ -20,6 +20,7 @@ + diff --git a/resources/main/css/tg.css b/resources/main/css/tg.css new file mode 100644 index 0000000..da43e21 --- /dev/null +++ b/resources/main/css/tg.css @@ -0,0 +1,60 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + color: var(--tg-theme-text-color); + background: var(--tg-theme-bg-color); +} + +.Main { + width: 100%; + padding: 25px; + text-align: center; + +} + +h1 { + margin-top: 40px; + margin-bottom: 10px; +} + +img { + width: 70px; + margin: 30px auto; +} + +.btn { + border: 0; + border-radius: 5px; + margin-top: 50px; + height: 60px; + width: 200px; + font-style: 20px; + font-weight: 500; + cursor: pointer; + color: var(--tg-theme-button-text-color); + background: var(--tg-theme-button-color); +} + +form { + display: none; + text-align: center; +} + +input { + outline: none; + border-radius: 5px; + border: 2px solid #535353; + padding: 15px 10px; + margin: 10px 0 0; + background: var(--tg-theme-section-separator-color); + color: var(--tg-theme-text-color); + transition: all .2s; +} + +input:focus { + border-color: var(--tg-theme-secondary-bg-color) +} \ No newline at end of file