From 8ded3e955d33c04a3be8b23e4cc9c3be0be94b7d Mon Sep 17 00:00:00 2001 From: Milan Date: Sat, 13 Mar 2021 16:01:19 +0100 Subject: [PATCH] buttons: use .text and .primary --- website/agenda/planung/css/default.css | 36 ++++++++--- .../agenda/planung/templates/edit-event.html | 63 ++++++++++++------- .../agenda/planung/templates/edit-series.html | 8 ++- .../agenda/planung/templates/projects.html | 8 +-- .../planung/templates/studio-timeslots.html | 2 +- website/agenda/planung/templates/studios.html | 14 ++--- .../planung/templates/user-settings.html | 4 +- .../agenda/planung/templates/user-stats.html | 3 +- website/agenda/planung/templates/users.html | 6 +- 9 files changed, 90 insertions(+), 54 deletions(-) diff --git a/website/agenda/planung/css/default.css b/website/agenda/planung/css/default.css index 37d9d05..fc61796 100644 --- a/website/agenda/planung/css/default.css +++ b/website/agenda/planung/css/default.css @@ -368,7 +368,7 @@ div.badge-error { #content button, #content select, #content input { - padding: 6px; + padding: 0.5rem; } #content div.flex { @@ -460,6 +460,20 @@ table.tablesorter tr { background-color: #1678c2; } +#content button.text, +#content #dialog button.dialog-cancel{ + color:#2196f3; + background:none; + box-shadow:none; + transition: all 0.1s linear; +} +#content button.text:hover{ + color:#1678c2; + background:none; + box-shadow:none; + transition: all 0.1s linear; +} + #content .button { cursor: pointer; } @@ -468,24 +482,28 @@ table.tablesorter tr { #content input[type="submit"], #content input[type="file"], #content button{ - font-weight:bold !important; display: inline-block; border: 0; - padding-left: 16px; - padding-right: 16px; - margin: 4px; + padding-left: 0.4rem; + padding-right: 0.4rem; + margin: 0.3rem; text-align: center; text-decoration: none; - min-width: 64px; - font-weight: 500; - border-radius: 4px; + min-width: 5rem; + border-radius: 0.3rem; color: #fff; - height: 36px; + height: 2.3rem; position: relative; transition: background-color .3s cubic-bezier(.05, .05, .05, 1), box-shadow .3s cubic-bezier(.05, .05, .05, 1); } +#content button.primary { + border: 1px solid #167ec2; + box-shadow: 0 5px 11px 0 rgba(0, 0, 0, .18), + 0 4px 15px 0 rgba(0, 0, 0, .15); +} + #content input[type="submit"]:hover, #content input[type="file"]:hover, #content button:focus { diff --git a/website/agenda/planung/templates/edit-event.html b/website/agenda/planung/templates/edit-event.html index 54d79e6..829d5b5 100644 --- a/website/agenda/planung/templates/edit-event.html +++ b/website/agenda/planung/templates/edit-event.html @@ -70,8 +70,10 @@
- @@ -86,11 +88,16 @@ + class="text" + onclick="load('series.cgi?project_id=&studio_id=&series_id=&start=&exclude=1&show_hint_to_add_schedule=1#tabs-schedule')" + > - + @@ -98,7 +105,10 @@ - + @@ -108,7 +118,9 @@ - + @@ -119,11 +131,13 @@ - + - +
@@ -198,7 +214,7 @@
- +
@@ -206,8 +222,10 @@ -
-
+
+ @@ -220,26 +238,26 @@
- - - - @@ -275,7 +293,8 @@ - + + : @@ -296,18 +315,18 @@ - + : - + : - + : @@ -536,7 +555,7 @@ - diff --git a/website/agenda/planung/templates/edit-series.html b/website/agenda/planung/templates/edit-series.html index 14c3319..d881645 100644 --- a/website/agenda/planung/templates/edit-series.html +++ b/website/agenda/planung/templates/edit-series.html @@ -60,7 +60,7 @@ - + @@ -176,7 +176,9 @@
- +