From 4eb5de10e01de1680b6c79a8abc32bbc9bfeccd8 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sun, 8 Mar 2015 11:33:36 +0200 Subject: [PATCH 1/1] Add close button styles --- css/themes/cyborg.css | 25 +++++++++++++++++++++++++ css/themes/readable.css | 25 +++++++++++++++++++++++++ css/themes/slate.css | 25 +++++++++++++++++++++++++ 3 files changed, 75 insertions(+) diff --git a/css/themes/cyborg.css b/css/themes/cyborg.css index dc80cd2..5d80614 100644 --- a/css/themes/cyborg.css +++ b/css/themes/cyborg.css @@ -1896,6 +1896,31 @@ tbody.collapse.in { padding: 9px; border-radius: 3px; } +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} +.close:hover, +.close:focus { + color: #000000; + text-decoration: none; + cursor: pointer; + opacity: 0.5; + filter: alpha(opacity=50); +} +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} .modal-open { overflow: hidden; } diff --git a/css/themes/readable.css b/css/themes/readable.css index 2de3950..14c47d6 100644 --- a/css/themes/readable.css +++ b/css/themes/readable.css @@ -1896,6 +1896,31 @@ tbody.collapse.in { padding: 9px; border-radius: 3px; } +.close { + float: right; + font-size: 24px; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} +.close:hover, +.close:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; + opacity: 0.5; + filter: alpha(opacity=50); +} +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} .modal-open { overflow: hidden; } diff --git a/css/themes/slate.css b/css/themes/slate.css index ddd8dc9..7e9ac71 100644 --- a/css/themes/slate.css +++ b/css/themes/slate.css @@ -1896,6 +1896,31 @@ tbody.collapse.in { padding: 9px; border-radius: 3px; } +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} +.close:hover, +.close:focus { + color: #000000; + text-decoration: none; + cursor: pointer; + opacity: 0.5; + filter: alpha(opacity=50); +} +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} .modal-open { overflow: hidden; } -- 2.39.2