diff -r 126cbe638fee -r 08a366a35143 client/css/renkan.css --- a/client/css/renkan.css Thu Aug 30 18:11:25 2012 +0200 +++ b/client/css/renkan.css Mon Sep 03 17:21:35 2012 +0200 @@ -50,24 +50,106 @@ color: #6060c0; } -.Rk-Bins { - background: #F0F0F0; position: absolute; left: 0; top: 0; width: 300px; bottom: 0; overflow: hidden; -} - -.Rk-Render-Panel { - position: absolute; left: 300px; top: 0; right: 0; bottom: 0; -} - -.Rk-Render-Full { +.Rk-Main { position: absolute; left: 0; top: 0; right: 0; bottom: 0; } -.Rk-Canvas { - position: absolute; left: 0; top: 0; right: 0; bottom: 0; +.Rk-Render { + position: absolute; left: 300px; top: 0; right: 0; bottom: 0; + background: #ffffff; + background: -moz-linear-gradient(left, #f3f3f3 0, #ffffff 30%, #ffffff 70%, #f3f3f3 100%); + background: -webkit-linear-gradient(left, #f3f3f3 0, #ffffff 30%, #ffffff 70%, #f3f3f3 100%); +} + +/* Top Bar */ + +.Rk-TopBar { + position: absolute; left: 0; top: 0; right: 0; height: 35px; + background: #333333; + background: -moz-linear-gradient(top, #505050 5px, #1e1e1e 30px); + background: -webkit-linear-gradient(top, #505050 5px, #1e1e1e 30px); +} + +.Rk-PadTitle { + float: left; font-size: 14px; height: 16px; margin: 4px 5px; width: 130px; background: #666666; padding: 4px; border: 1px solid #333333; + border-radius: 3px; box-shadow: 0 1px 0 #505050; color: #ffffff; font-weight: bold; +} + +.Rk-Users { + float: right; width: 130px; margin: 4px 5px; +} + +.Rk-CurrentUser { + font-size: 13px; background: #666666; padding: 4px; border: 1px solid #333333; border-radius: 3px; box-shadow: 0 1px 0 #505050; color: #ffffff; +} + +.Rk-CurrentUser-Color { + display: inline-block; width: 12px; height: 12px; border: 1px solid #333333; margin: -2px 2px; +} + +.Rk-UserList { + box-shadow: 0 2px 2px #999999; + position: relative; z-index: 3; display: none; padding-top: 8px; +} + +.Rk-User { + background: #ffffff; padding: 3px; font-size: 12px; border-style: solid solid none; border-color: #cccccc; border-width: 1px; +} + +.Rk-TopBar-Button { + float: right; background: url(../img/topbarbuttons.png) no-repeat; height: 35px; cursor: pointer; + position: relative; } +.Rk-TopBar-Separator { + background: #666666; + background: -moz-linear-gradient(top, #666666 20%, #333333 80%); + background: -webkit-linear-gradient(top, #666666 20%, #333333 80%); + content: ""; display: block; height: 35px; float: right; width: 1px; border-left: 1px solid #111111; + margin: 0 3px; +} + +.Rk-TopBar-Tooltip { + position: absolute; top: 31px; left: 50%; margin-left: -60px; width: 120px; z-index: 3; display: none; +} + +.Rk-TopBar-Tooltip-Contents { + background: #ffffff; + font-size: 13px; font-weight: bold; color: #6060c0; text-align: center; padding: 2px; + border-style: none solid solid; border-width: 1px; border-color: #cccccc; border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; +} + +.Rk-TopBar-Tooltip-Tip { + height: 7px; background: url(../img/tooltiparrow.png) center no-repeat; margin: 0 1px; +} + +.Rk-AddNode-Button { + width: 34px; +} + +.Rk-AddNode-Button:hover { + background-position: 0 -35px; +} + +.Rk-FullScreen-Button { + width: 34px; background-position: -34px 0; +} + +.Rk-FullScreen-Button:hover { + background-position: -34px -35px; +} +/* Canvas */ + +.Rk-Canvas { + background: -moz-linear-gradient(top, rgba(180,180,180,.2) 0, rgba(255,255,255,.2) 30%, rgba(255,255,255,.2) 70%, rgba(180,180,180,.2) 100%); + background: -webkit-linear-gradient(top, rgba(180,180,180,.2) 0, rgba(255,255,255,.2) 30%, rgba(255,255,255,.2) 70%, rgba(180,180,180,.2) 100%); + position: absolute; left: 0; top: 35px; right: 0; bottom: 0; z-index: 1; +} + +/* Editors */ + .Rk-Editor { - position: absolute; left: 0; top: 0; + position: absolute; left: 0; top: 35px; z-index: 2; } .Rk-CloseX { @@ -126,25 +208,123 @@ background-position: -21px -20px; } +/* Bins */ + +.Rk-Title { + position: absolute; left: 0; top: 0; width: 300px; height: 35px; + background: #333333; + background: -moz-linear-gradient(top, #505050 5px, #1e1e1e 30px); + background: -webkit-linear-gradient(top, #505050 5px, #1e1e1e 30px); +} + +.Rk-Title h1 { + font-size: 18px; color: #ffffff; margin: 5px; +} + + +.Rk-Title:after { + background: #666666; + background: -moz-linear-gradient(top, #666666 20%, #333333 80%); + background: -webkit-linear-gradient(top, #666666 20%, #333333 80%); + content: ""; display: block; height: 35px; + left: 298px; position: absolute; top: 0; width: 1px; border-left: 1px solid #111111; +} + +.Rk-Bins { + background: #ffffff; position: absolute; left: 0; top: 35px; width: 299px; bottom: 0; + overflow: hidden; border-right: 1px solid #252525; +} + +/* Bin Search Field */ + +.Rk-Search-Form { + padding: 10px; height: 27px; + background: #666666; + background: -moz-linear-gradient(top, #606060 20%, #909090 80%); + background: -webkit-linear-gradient(top, #606060 20%, #909090 80%); +} + .Rk-Search-Input, .Rk-Search-Select { - border-radius: 5px; margin: 2px; padding: 2px; font-size: 13px; + float: left; border-width: 1px; border-color: #003050; } .Rk-Search-Input { - width: 150px; + border-top-left-radius: 5px; border-bottom-left-radius: 5px; border-style: solid; + font-size: 13px; width: 190px; background: #ffffff; height: 15px; padding: 5px; } .Rk-Search-Select { - width: 130px; + display: inline-block; position: relative; width: 45px; + border-style: solid none; cursor: pointer; + height: 25px; background: #ffffff url(../img/more.png) 30px 10px no-repeat; +} + +.Rk-Search-Select:hover { + background-color: #3030FF; +} + +.Rk-Search-Current { + width: 25px; height: 20px; margin: 2px; +} + +.Rk-Search-List { + width: 160px; margin-left: 15px; font-size: 13px; + position: absolute; left: -75px; top: 25px; background: #ffffff; + box-shadow: 0 1px 0 #505050; display: none; +} + +.Rk-Search-List li { + padding: 2px 2px 2px 30px; border-top: 1px solid #cccccc; height: 16px; + background-color: #ffffff; background-repeat: no-repeat; cursor: pointer; +} + +.Rk-Search-List li:hover { + background-color: #3030ff; color: #ffffff; } +.Rk-Search-Submit { + border: 1px solid #003050; height: 27px; width: 30px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; + background: #333333 center no-repeat url(../img/search.png); +} + +.Rk-Search-Submit:hover { + background-color: #999999; +} + +/* Individual Bins */ + + .Rk-Bin-Title { - border-top: 1px solid #cccccc; border-bottom: 1px solid #ffffff; background: #f0f0f0; - font-size: 14px; font-weight: bold; padding: 2px; cursor: pointer; + background: #333333; + background: -moz-linear-gradient(top, #505050 20%, #1e1e1e 80%); + background: -webkit-linear-gradient(top, #505050 20%, #1e1e1e 80%); + border-bottom: 1px solid #666666; font-weight: bold; + font-size: 14px; padding: 5px 5px 5px 30px; cursor: pointer; color: #f0f0f0; +} + +.Rk-Bin-Close { + float: right; font-size: 15px; font-weight: bold; margin: 3px 3px 0; color: #f0f0f0; cursor: pointer; +} + +.Rk-Bin-Close:hover { + color: #ffffe0; +} + +.Rk-Bin-Title:hover { + color: #ffffe0; + background: -moz-linear-gradient(top, rgb(20,20,20) 20%, rgb(60,60,60) 80%); + background: -webkit-linear-gradient(top, rgb(20,20,20) 20%, rgb(60,60,60) 80%); +} + +.Rk-Bin-Title-Icon { + float: left; width: 25px; margin: 2px; } .Rk-Bin-Main { overflow: auto; + background: #ffffff; + background: -moz-linear-gradient(top, #e0e0e0 0, #FFFFFF 2%, #FFFFFF 98%, #e0e0e0 100%); + background: -webkit-linear-gradient(top, #e0e0e0 0, #FFFFFF 2%, #FFFFFF 98%, #e0e0e0 100%); } .Rk-Bin-Item { @@ -152,11 +332,14 @@ } .Rk-Bin-Item:hover { - background: #d0d0d0; + background: -moz-linear-gradient(top, rgba(0,0,0,.1) 20%, rgba(128,128,128,.1) 80%); + background: -webkit-linear-gradient(top, rgba(0,0,0,.1) 20%, rgba(128,128,128,.1) 80%); } .Rk-Bin-Item.dragging { - background: #fff8f8; color: #660000; + background: -moz-linear-gradient(top, rgba(128,0,0,.1) 20%, rgba(255,128,128,.1) 80%); + background: -webkit-linear-gradient(top, rgba(128,0,0,.1) 20%, rgba(255,128,128,.1) 80%); + color: #660000; } .Rk-Bin-Item.selected { @@ -164,20 +347,28 @@ } .Rk-Bin-Main li { - padding: 2px; background: #f8f8f8; border-bottom: 1px solid #cccccc; + padding: 2px; border-bottom: 1px solid #cccccc; clear: both; } .Rk-Bin-Main h3 { - font-size: 15px; font-style: italic; font-weight: bold; text-align: center; + font-size: 14px; font-style: italic; font-weight: bold; text-align: center; } .Rk-Bin-Main h4 { - font-size: 13px; font-weight: bold; + font-size: 12px; font-weight: bold; } .Rk-Bin-Main p { - font-size: 12px; + font-size: 11px; +} + +.Rk-Twitter-Icon { + background-image: url(../img/search-logos.png); background-position: 0 -80px; +} + +.Rk-Twitter-Title-Icon { + height: 20px; background: url(../img/search-logos.png); background-position: 0 -80px; } .Rk-Twitter-TwImage { @@ -200,10 +391,30 @@ background: #ffff80; } +.Rk-Wikipedia-Search-Icon { + background-image: url(../img/search-logos.png); +} + .Rk-Wikipedia-Icon { float: left; width: 52px; height: 47px; background: url(../img/wikipedia.png); } +.Rk-Wikipedia-Title-Icon { + height: 20px; background: url(../img/search-logos.png); +} + +.Rk-Wikipedia-Lang-en { + background-position: 0 -20px; +} + +.Rk-Wikipedia-Lang-fr { + background-position: 0 -40px; +} + +.Rk-Wikipedia-Lang-ja { + background-position: 0 -60px; +} + .Rk-Wikipedia-Result { min-height: 51px; }