From 1541a219cd1026e307d3af342df6a66e5100b803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nejc=20Kova=C4=8D?= Date: Thu, 16 Jun 2022 12:55:19 +0200 Subject: [PATCH] GDPR button styling --- frontend/simple/css/aai.css | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/frontend/simple/css/aai.css b/frontend/simple/css/aai.css index 6f8e5fcfc..4ca13cd4e 100644 --- a/frontend/simple/css/aai.css +++ b/frontend/simple/css/aai.css @@ -491,15 +491,30 @@ form .opis { margin: 18px 0px 20px 0px; } +input[type=submit], +button:hover, +input[type=button], +.button { + padding: 0px; + + background: linear-gradient(to left,#F07D3E 50%, white 50%) right; + background-size: 200%; + transition: .3s ease-out; +} + + input[type=submit]:hover, button:hover, input[type=button]:hover, .button:hover { border: 1px solid #F07D3E; color: #F07D3E; - background-color: white; + + background-position: left; } + + /* -------------------------------------- */