server/src/main/webapp/static/css/renkan.css
author ymh <ymh.work@gmail.com>
Tue, 25 Dec 2012 21:29:11 +0100
changeset 47 267d67791e05
child 50 7b517a54b708
permissions -rw-r--r--
first stabilization of editing a renkan. No collaborative capacities yet.

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

ul, li {
    list-style: none;
}

input::-moz-focus-inner /*Remove button padding in FF*/
{ 
    border: 0;
    padding: 0;
}

table {
    border-collapse: separate; border-spacing: 0;
}

th, td {
    vertical-align: top;
}

img a {
    border: none;
}

body {
    font-size: 10px; font-family: Arial, Helvetica, sans-serif;
    background: #ffffff; color: #000000;
}

a {
    color: #6060c0;
}

.Rk-Main {
    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;
}

.Rk-AddEdge-Button {
    width: 34px; background-position: -68px 0;
}

.Rk-AddEdge-Button:hover {
    background-position: -68px -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: 35px; right: 0; z-index: 2;
}

.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%);
}

.Rk-CloseX {
    float: right; cursor: pointer;
}

.Rk-Editor h2 {
    font-size: 16px; font-weight: bold;
}

.Rk-Editor p {
    margin: 5px 0; font-size: 12px;
}

.Rk-Editor label {
    display: inline-block; width: 70px;
}

a.Rk-Edit-Goto {
    display: block; float: right; width: 18px; height: 17px; margin: 1px 0; border: none; background: url(../img/goto.png);
}

.Rk-Edit-Title, .Rk-Edit-URI, .Rk-Edit-Image {
    font-size: 12px; width: 225px;
}

.Rk-Edit-URI {
    font-size: 12px; width: 205px;
}

.Rk-Edit-ImgPreview {
    border: 1px solid #666; margin: 5px 0; min-height: 10px; display: block;
    max-width: 100% !important; max-height: 100px !important;
}

.Rk-Editor textarea {
    width: 225px; height: 120px; resize: none;
}

.Rk-UserColor {
    display: inline-block; width: 1em; height: 1em; border: 1px solid #666666; margin: -2px 2px;
}

.Rk-ZoomButtons {
    position: absolute; left: 0; top: 0; cursor: pointer;
}

.Rk-ZoomIn, .Rk-ZoomOut {
    width: 21px; height: 20px; background: url(../img/zoombuttons.png); margin: 5px;
}

.Rk-ZoomIn:hover {
    background-position: 0 -20px;
}

.Rk-ZoomOut {
    background-position: -21px 0;
}

.Rk-ZoomOut:hover {
    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 {
    float: left; border-width: 1px; border-color: #003050;
}

.Rk-Search-Input {
    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 {
    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: 40px; height: 20px; margin: 2px; background-repeat: no-repeat;
}

.Rk-Search-List {
    width: 180px; margin-left: 15px; font-size: 13px;
    position: absolute; right: 0; top: 25px; background: #ffffff;
    box-shadow: 1px 1px 2px #505050; display: none;
    border: 1px solid #cccccc;
}

.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); cursor: pointer;
}

.Rk-Search-Submit:hover {
    background-color: #999999;
}

/* Individual Bins */


.Rk-Bin-Title {
    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; display: block; font-size: 16px; font-weight: bold; margin: 2px 3px 0; color: #f0f0f0; cursor: pointer;
    text-shadow: -1px -1px 1px #999999, 1px 1px 1px #000000; text-decoration: none;
}

.Rk-Bin-Close:hover {
    color: #ffff80;
}

.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-Refresh {
    width: 18px; height: 17px; background: url(../img/refresh.png); display: block; float: right; margin-top: 4px;
}

.Rk-Bin-Refresh:hover {
    background-position: -18px 0;
}

.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 {
    cursor: move;
}

.Rk-Bin-Item:hover {
    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: -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 {
    background: #ffffc0;
}

.Rk-Bin-Main li {
    padding: 2px; border-bottom: 1px solid #cccccc;
    clear: both;
}

.Rk-Bin-Main h3 {
    font-size: 14px; font-style: italic; font-weight: bold; text-align: center;
}

.Rk-Bin-Main h4 {
    font-size: 12px; font-weight: bold;
}

.Rk-Bin-Main p {
    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 {
    float: left; width: 48px; height: 48px; margin: 2px 0;
}

.Rk-Twitter-TwTitle, .Rk-Twitter-TwDate, .Rk-Twitter-TwText, .Rk-Twitter-TwActions {
    margin: 2px 0 2px 50px;
}

p.Rk-Twitter-TwDate {
    font-size: 11px; font-style: italic;
}

p.Rk-Twitter-TwActions {
    font-size: 11px;
}

.Rk-Bin-Main .searchmatch {
    background: #ffff80;
}

.Rk-Wikipedia-Search-Icon {
    background-image: url(../img/search-logos.png);
}

.Rk-Wikipedia-Icon {
    float: left; margin: 3px;
}

.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;
}

.Rk-Wikipedia-Result p, .Rk-Wikipedia-Result h4 {
    margin-left: 54px;
}

.Rk-Ldt-Tag-Icon {
    float: left; margin: 0 2px 0 0;
}

.Rk-Ldt-Annotation-Icon {
    float: left; margin: 3px;
}

.Rk-Clear {
    clear: both;
}