changeset 1510:266a687171ac

Foobar theme popup closer button
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Wed, 27 Jun 2012 13:11:16 +0530
parents 21ac483085a8
children 8e5b53434b18
files MoinMoin/themes/foobar/static/css/common.css MoinMoin/themes/foobar/static/css/stylus/main.styl
diffstat 2 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/foobar/static/css/common.css	Wed Jun 27 10:10:23 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/common.css	Wed Jun 27 13:11:16 2012 +0530
@@ -250,8 +250,8 @@
 .action-visible .show-action:after,.ct-shown:after{content:url("../img/moin-movedown.png");margin:0 .2em;float:right;vertical-align:middle}
 #popup{background:transparent url("../img/moin-transparent-bg.png") repeat;padding:5px;width:40%;position:absolute;top:10%;left:30%;display:none;z-index:10}
 .popup-header{background-color:#2c2c2a;color:#fff;padding:10px;margin:0}
-.popup-closer{padding:0 1px;margin:-.2em;width:19px;border-radius:2em;float:right;cursor:pointer;}
-.popup-closer:hover{background:#f0f0f0}
+input[value="X"]{padding:0 1px;margin:-.2em;width:19px;border-radius:2em;float:right;}
+input[value="X"]:hover{background:#f0f0f0}
 .popup-body{clear:both;background-color:#f0f0f0;color:#000;padding:10px;margin:0;}
 .popup-body label{margin:5px}
 .popup-body input{margin:8px 5px}
--- a/MoinMoin/themes/foobar/static/css/stylus/main.styl	Wed Jun 27 10:10:23 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/stylus/main.styl	Wed Jun 27 13:11:16 2012 +0530
@@ -412,13 +412,12 @@
     padding 10px
     margin 0
 
-.popup-closer
+input[value="X"]
     padding 0px 1px
     margin -0.2em
     width 19px
     border-radius 2em
     float right
-    cursor pointer
     &:hover
         background page_color