diff -r c472984db275 -r 1615c7e4ef9d src/widgets/Renkan.css --- a/src/widgets/Renkan.css Wed Apr 03 15:44:17 2013 +0200 +++ b/src/widgets/Renkan.css Tue Apr 23 15:23:20 2013 +0200 @@ -1,51 +1,70 @@ -.Ldt-Renkan { - position: relative; +.Ldt-Renkan-Container { + position: relative; width: 100%; height: 100%; } .Ldt-Renkan a { color: #303080; } -.Rk-ProjectList { - position: absolute; left: 0; top: 0; list-style: none; padding: 0; margin: 0; -} -.Rk-Project { - list-style: none; margin-right: 5px; padding: 5px; height: 15px; font-size: 13px; font-weight: bold; - float: left; border-top-left-radius: 8px; border-top-right-radius: 8px; - background: #505050; color: #E0E0E0; cursor: pointer; - background: -moz-linear-gradient(top, #333333 20%, #666666 80%); -} - -.Rk-Project:hover { - background: -moz-linear-gradient(bottom, #333333 20%, #666666 80%); -} - -.Rk-Project.active { - background: #505080; - color: #ffffc0; - background: -moz-linear-gradient(bottom, #333366 20%, #666699 80%); -} -.Rk-Render, .Rk-Canvas { - position: absolute; left: 0; top: 0; width: 600px; height: 500px; - overflow: hidden; +.Rk-Main { + position: absolute; left: 0; top: 0; right: 0; bottom: 0; } .Rk-Render { - top: 25px; - 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: 0; right: 0; bottom: 0; + background: #ffffff; +} + +/* Canvas */ + +.Rk-Editing-Space { + position: absolute; left: 0; top: 35px; right: 0; bottom: 0; overflow: hidden; + background: -moz-radial-gradient( center, circle, #ffffff 40%, #e0e0e0 90%); + background: -webkit-radial-gradient( center, circle, #ffffff 40%, #e0e0e0 90%); + background: -ms-radial-gradient( center, circle, #ffffff 40%, #e0e0e0 90%); +} + +.Rk-Editing-Space-Full { + top: 0; } .Rk-Canvas { - top: 0; - background: -moz-linear-gradient(left, 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(left, 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: 0; right: 0; bottom: 0; z-index: 2; +} + +/* Node Labels */ + +.Rk-Labels { + position: absolute; left: 0; top: 0; z-index: 1; + font-family: "Segoe UI", "Helvetica Neue", Arial, Helvetica, sans-serif; +} + +.Rk-Label { + position: absolute; width: 160px; margin-left: -80px; text-align: center; font-size: 13px; line-height: 13px; } +.Rk-Edge-Label { + font-size: 11px; transform-origin: 50% 0; -moz-transform-origin: 50% 0; + -webkit-transform-origin: 50% 0; -ms-transform-origin: 50% 0; +} + +/* Editors */ + .Rk-Editor { - position: absolute; left: 0; top: 0; + position: absolute; left: 0; top: 0; z-index: 3; +} + +.Rk-Notifications { + position: absolute; right: 15px; top: 15px; width: 200px; + padding: 10px; border-radius: 8px; display: none; + color: #ffffff; font-size: 13px; text-align: center; font-weight: bold; + background: rgba(20,20,20,.7); + background: -moz-linear-gradient(top, rgba(40,40,40,.7) 20%, rgba(0,0,0,.7) 80%); + background: -webkit-linear-gradient(top, rgba(40,40,40,.7) 20%, rgba(0,0,0,.7) 80%); + background: -ms-linear-gradient(top, rgba(40,40,40,.7) 20%, rgba(0,0,0,.7) 80%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#202020', endColorstr='#000000',GradientType=0 ); } .Rk-CloseX { @@ -53,31 +72,43 @@ } .Rk-Editor h2 { - font-size: 16px; font-weight: bold; + font-size: 16px; font-weight: bold; padding: 0; } -.Rk-Editor p { - margin: 5px 0; font-size: 12px; +.Rk-Editor p, .Rk-Editor-p { + margin: 5px 0; font-size: 12px; clear: both; padding: 0; } -.Rk-RelatedList { - list-style: none; padding: 0; margin: 0; +.Rk-Editor-Label { + float: left; width: 80px; } -.Rk-Related { - list-style: none; color: #a000c0; cursor: pointer; margin: 5px 0; +.Rk-UserColor { + display: inline-block; width: 12px; height: 12px; border: 1px solid #666666; margin: -2px 2px; } -.Rk-Related b { - font-weight: bolder; +.Rk-Display-Title a { + text-decoration: none; color: #000000; } -.Rk-Related:hover { +.Rk-Display-Title a:hover { text-decoration: underline; } +.Rk-Display-URI { + font-style: italic; +} + +.Rk-Display-ImgPreview { + margin: 5px auto; display: block; max-width: 255px !important; max-height: 120px !important; +} + +.Rk-ZoomButtons { + position: absolute; left: 0; top: 35px; cursor: pointer; +} + .Rk-ZoomIn, .Rk-ZoomOut { - width: 21px; height: 20px; background: url(img/zoombuttons.png); margin: 5px; cursor: pointer; + width: 21px; height: 20px; background: url(../img/zoombuttons.png); margin: 5px; } .Rk-ZoomIn:hover { @@ -91,3 +122,4 @@ .Rk-ZoomOut:hover { background-position: -21px -20px; } +