ni_nitdoc: added fast copy past utility to signatures.
[nit.git] / share / nitdoc / styles / main.css
index 023e728..6d1d80a 100644 (file)
@@ -84,7 +84,7 @@ header {
 .content {\r
        position: fixed;\r
        top: 50px;\r
-       bottom: 2em;\r
+       bottom: 0em;\r
        margin-left: 265px;\r
        width: 667px;\r
        overflow-y:     scroll;\r
@@ -96,12 +96,38 @@ header {
        width: 910px;\r
 }\r
 \r
+.content.footed {\r
+       bottom: 2em;\r
+}\r
+\r
 footer {\r
        position: fixed;\r
        bottom: 0;\r
        width: 100%;\r
 }\r
 \r
+article:hover > .signature .copyButton, .copyButton.zeroclipboard-is-hover {\r
+       visibility: visible;\r
+}\r
+\r
+.copyButton.zeroclipboard-is-active {\r
+       border-color: #0D8921;\r
+}\r
+\r
+.copyButton {\r
+       visibility: hidden;\r
+       vertical-align: middle;\r
+       margin: -2px 0px 0px 10px;\r
+       width: 22px;\r
+       height: 19px;\r
+       padding: 1px;\r
+       cursor: pointer;\r
+}\r
+\r
+.copyButton img {\r
+       width: 16px;\r
+}\r
+\r
 /* Webkit scroll bars */\r
 \r
 .menu {\r
@@ -294,14 +320,23 @@ nav ul li span,
        color: #6C6C6C;\r
 }\r
 \r
+.content a {\r
+       color: #0D8921;\r
+}\r
+\r
 .content a:hover {\r
        color: #333;\r
 }\r
 \r
-.content a {\r
+.info a {\r
+       color: #333;\r
+}\r
+\r
+.info a:hover {\r
        color: #0D8921;\r
 }\r
 \r
+\r
 article .info .code {\r
        float: right;\r
 }\r
@@ -410,9 +445,9 @@ nav h3 a.fold {
 }\r
 \r
 /* Icons */\r
-.vtype.public { background-image: url('../resources/icons/vtype_public.png')}\r
-.vtype.protected { background-image: url('../resources/icons/vtype_protected.png')}\r
-.vtype.private { background-image: url('../resources/icons/vtype_private.png')}\r
+.type.public { background-image: url('../resources/icons/vtype_public.png')}\r
+.type.protected { background-image: url('../resources/icons/vtype_protected.png')}\r
+.type.private { background-image: url('../resources/icons/vtype_private.png')}\r
 .init.public { background-image: url('../resources/icons/const_public.png')}\r
 .init.protected { background-image: url('../resources/icons/const_protected.png')}\r
 .init.private { background-image: url('../resources/icons/const_private.png')}\r
@@ -668,7 +703,7 @@ fieldset {
        position: absolute;\r
        width : 220px;\r
        height:280px;\r
-       margin-left: -102px;\r
+       margin-left: -185px;\r
        z-index: 1010;\r
        display: block;\r
        max-width: 276px;\r
@@ -736,7 +771,7 @@ fieldset {
 .popover.bottom .arrow {\r
        top: -11px;\r
        left: 50%;\r
-       margin-left: -11px;\r
+       margin-left: 72px;\r
        border-bottom-color: #999;\r
        border-bottom-color: rgba(0, 0, 0, 0.25);\r
        border-top-width: 0;\r
@@ -789,7 +824,7 @@ fieldset {
 #signIn{\r
        display: block;\r
        cursor: pointer;\r
-       margin: 10px 10px 5px 10px;    \r
+       margin: 2px 10px 5px 10px;\r
        background-color: #92C929;\r
        background-image: -webkit-gradient(linear, left top, left bottom, from(#92C929), to(#1d7900)); /* Saf4+, Chrome */\r
        background-image: -webkit-linear-gradient(top, #92C929, #1d7900); /* Chrome 10+, Saf5.1+ */\r
@@ -845,3 +880,17 @@ fieldset {
 #preSave{\r
        display: none;\r
 }\r
+\r
+.noComment {\r
+       padding: 5px;\r
+}\r
+\r
+a.newComment {\r
+       padding: 5px;\r
+       color: #0D8921;\r
+       display: block;\r
+       margin: 1em 0px;\r
+}\r
+a.newComment: hover {\r
+       color: #333;\r
+}\r