diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-15 03:59:40 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-15 03:59:40 +0200 |
commit | 74b2dd35074bc9e1c9f63e7e2432a652350bfc2f (patch) | |
tree | 49c77b84bdfceee4549f1e67ec87290225a44659 /css | |
parent | fc9c23430d88fab8034ba34dfd690dc871d5590f (diff) |
moved the add feed/folder from hover back to button
Diffstat (limited to 'css')
-rw-r--r-- | css/news.css | 116 |
1 files changed, 57 insertions, 59 deletions
diff --git a/css/news.css b/css/news.css index 1a2f88413..8d07cfc36 100644 --- a/css/news.css +++ b/css/news.css @@ -236,53 +236,71 @@ div.feed_controls { /* feed settings */ -#addfeedfolder { - cursor: pointer; - outline: medium none; - width: 7em; - height: 2.8em; - background-size: 100%; - background: url('%appswebroot%/news/img/add.svg') no-repeat 1em center; +#feed_settings { + padding: 0; + bottom: 0px; + overflow:visible; + height:2.8em; + width: 21.5em; + margin:0; + background:#eee; + border-top:1px + solid #ccc; + position:fixed; } - - #addfeedfolder img { - + + #feed_settings .controls { + height: 100%; + width: 100%; } - #addfeedfolder:hover ul#feedfoldermenu{ - display: block; + #feed_settings #addfeedfolder { + margin: 0 .3em .3em .3em; + float: left; + } - ul#feedfoldermenu { - position:fixed; - margin-left: 0; - bottom: 2.8em; - border-left:1px solid #ccc; - border-top:1px solid #ccc; - border-right:1px solid #ccc; - -moz-box-shadow: 0 -3px 3px -3px #000; - -webkit-box-shadow: 0 -3px 3px -3px #000; - box-shadow: 0 -3px 3px -3px #000; - } + #feed_settings #addfeedfolder #addfolder { + background: url('%webroot%/core/img/places/folder.svg') no-repeat 10px center; + } - li.menuItem { - padding: 0 1em 0 2.5em; - float: none !important; - text-align: left; - } + #feed_settings #addfeedfolder #addfeed { + background: url('%appswebroot%/news/img/rss.svg') no-repeat 10px center; + } - li.menuItem:hover { - background-color: #ccc !important; + /* + #feed_settings #addfeedfolder:hover ul#feedfoldermenu{ + display: block; + }*/ + + #feed_settings ul#feedfoldermenu { + display: none; + background:#EEEEEE; + background:-webkit-gradient(linear, 0 0, 0 100%, from(#DCDCDC), to(#EEEEEE)); + background:-moz-linear-gradient(#DCDCDC, #EEEEEE); + background:-o-linear-gradient(#DCDCDC, #EEEEEE); + background:linear-gradient(#DCDCDC, #EEEEEE); + position:fixed; + margin-left: 0; + bottom: 2.8em; + border-left:1px solid #ccc; + border-top:1px solid #ccc; + border-right:1px solid #ccc; + -moz-box-shadow: 0 -3px 3px -3px #000; + -webkit-box-shadow: 0 -3px 3px -3px #000; + box-shadow: 0 -3px 3px -3px #000; } + #feed_settings ul#feedfoldermenu li.menuItem { + padding: 0 1em 0 2.5em; + float: none !important; + text-align: left; + } -#addfolder { - background: url('%webroot%/core/img/places/folder.svg') no-repeat 10px center; -} + #feed_settings ul#feedfoldermenu li.menuItem:hover { + background-color: #ccc !important; + } -#addfeed { - background: url('%appswebroot%/news/img/rss.svg') no-repeat 10px center; -} #addfeedbtn { background: url('%appswebroot%/news/img/rss.svg') no-repeat left; @@ -294,22 +312,6 @@ div.feed_controls { padding-left: 20px; } -#feed_settings { - padding: 0; - bottom:0px; - overflow:visible; - height:2.8em; - width: 21.5em; - margin:0; - background:#eee; - border-top:1px - solid #ccc; - position:fixed; -} - -ul.controls li { - float: left; -} /* item view */ @@ -510,22 +512,18 @@ ul#dropdownmenu { box-shadow: 0px 0px 10px #000; } - +/* ul.menu { position: absolute; z-index:1; margin-left: 0.3em; display: none; - background:#EEEEEE; - background:-webkit-gradient(linear, 0 0, 0 100%, from(#DCDCDC), to(#EEEEEE)); - background:-moz-linear-gradient(#DCDCDC, #EEEEEE); - background:-o-linear-gradient(#DCDCDC, #EEEEEE); - background:linear-gradient(#DCDCDC, #EEEEEE); + } .popup.bottomleft { left: 34.8em; } - +*/ |