X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=themes%2Fbaggy%2Fcss%2Fmain.css;h=ce3148606dc894ae5acb6dd6c36fa3094fd7468b;hb=15eb5ca4b83710059c1bb7a7a6aa270ed3cb704c;hp=2ef354253d94dc5f086518c2d7d9d8ffb609a858;hpb=344c8f6b5c2636b74492956f53f3bc06dcb5c8d1;p=github%2Fwallabag%2Fwallabag.git diff --git a/themes/baggy/css/main.css b/themes/baggy/css/main.css index 2ef35425..ce314860 100755 --- a/themes/baggy/css/main.css +++ b/themes/baggy/css/main.css @@ -540,7 +540,7 @@ footer a { 2.1 = "save a link" related styles ========================================================================== */ -#bagit-form, #search-form { +.popup-form { background: rgba(0,0,0,0.5); position: absolute; top: 0; @@ -549,24 +549,23 @@ footer a { height: 100%; width: 100%; margin: 0; - margin-top: -30%; + margin-top: -30% !important; /* TODO: get rid of !important here; overridden by .messages selector */ padding: 2em; display: none; border-left: 1px #EEE solid; } -#bagit-form form, #search-form form { - background: #FFF; - position: absolute; - top: 0; - left: 0; - z-index: 20; - border: 10px solid #000; - width: 400px; - height: 200px; - /* margin: -150px 0 0 -300px; */ - padding: 2em; -} + .popup-form form { + background: #FFF; + position: absolute; + top: 0; + left: 0; + z-index: 20; + border: 10px solid #000; + width: 400px; + height: 200px; + padding: 2em; + } #bagit-form-form .addurl { margin-left: 0; @@ -650,42 +649,6 @@ a.add-to-wallabag-link-after:after { font-size: 0.9em; } -/* ========================================================================== - 2.2 = "search for articles" popup div related styles - ========================================================================== */ -#search-form { - background: rgba(0,0,0,0.5); - position: absolute; - top: 0; - left: 10em; - z-index: 20; - height: 100%; - width: 100%; - margin: 0; - margin-top: -30%; - padding: 2em; - display: none; - border-left: 1px #EEE solid; -} - -#search-form form { - background: #FFF; - position: absolute; - top: 0; - left: 0; - z-index: 20; - border: 10px solid #000; - width: 400px; - height: 200px; - /* margin: -150px 0 0 -300px; */ - padding: 2em; -} - -#submit-search{ -margin-left: 4em; -margin-top:1em; -} - /* ========================================================================== 3 = Pictos ========================================================================== */ @@ -1056,6 +1019,7 @@ pre code { .popup-form, #bagit-form, #search-form { left: 0; width: 100%; + border-left: none; } .popup-form form,