ni_nitdoc: moved JS facilities to Nitdoc.UI module
[nit.git] / share / ni_nitdoc / styles / main.css
index f83c781..f371529 100644 (file)
@@ -85,7 +85,7 @@ header {
        height: 100%;\r
 }\r
 \r
-.menu {\r
+.sidebar {\r
        position: fixed;\r
        top: 50px;\r
        bottom: 1em;\r
@@ -93,7 +93,7 @@ header {
        overflow-y:     scroll;\r
 }\r
 \r
-.menu nav:last-child {\r
+.sidebar nav:last-child {\r
        margin-bottom: 0;\r
 }\r
 \r
@@ -114,7 +114,7 @@ header {
        width: auto;\r
 }\r
 \r
-.page.footed .content, .page.footed .menu {\r
+.page.footed .content, .page.footed .sidebar {\r
        bottom: 2em;\r
 }\r
 \r
@@ -124,59 +124,34 @@ footer {
        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
-       background: #eee;\r
-       border: 1px solid #ccc;\r
-       box-shadow: none;\r
-}\r
-\r
-.copyButton img {\r
-       width: 16px;\r
-}\r
-\r
 /* Webkit scroll bars */\r
 \r
-.menu {\r
+.sidebar {\r
     overflow-y: hidden;\r
 }\r
 \r
-.menu:hover {\r
+.sidebar:hover {\r
     overflow-y: scroll;\r
 }\r
 \r
-.menu::-webkit-scrollbar, .content::-webkit-scrollbar {\r
+.sidebar::-webkit-scrollbar, .content::-webkit-scrollbar {\r
     width: 10px;\r
 }\r
 \r
-.menu::-webkit-scrollbar-thumb, .content::-webkit-scrollbar-thumb {\r
+.sidebar::-webkit-scrollbar-thumb, .content::-webkit-scrollbar-thumb {\r
        background: #CCC;\r
        -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.10),inset 0 -1px 0 rgba(0,0,0,0.07);\r
 }\r
 \r
-.menu::-webkit-scrollbar-thumb:hover, .content::-webkit-scrollbar-thumb:hover {\r
+.sidebar::-webkit-scrollbar-thumb:hover, .content::-webkit-scrollbar-thumb:hover {\r
        background: #999;\r
 }\r
 \r
-.menu::-webkit-scrollbar-corner, .content::-webkit-scrollbar-corner {\r
+.sidebar::-webkit-scrollbar-corner, .content::-webkit-scrollbar-corner {\r
        background: transparent;\r
 }\r
 \r
-.menu::-webkit-scrollbar-button, .content::-webkit-scrollbar-button {\r
+.sidebar::-webkit-scrollbar-button, .content::-webkit-scrollbar-button {\r
        width: 0;\r
        height: 0;\r
        display: none;\r
@@ -223,43 +198,43 @@ header nav.main ul li.current {
        color: white;\r
 }\r
 \r
-/* Latteral Menu */\r
+/* Sidebar */\r
 \r
-.menu nav {\r
+.sidebar nav {\r
        margin: 20px;\r
        width: 208px;\r
        border: 1px solid #CCC;\r
 }\r
 \r
-.menu nav:first-child {\r
+.sidebar nav:first-child {\r
        margin-top: 0;\r
 }\r
 \r
-.menu nav h3 {\r
+.sidebar nav h3 {\r
        margin: 0;\r
        padding: 5px;\r
        background: #CCC;\r
        font-size: 1em;\r
 }\r
 \r
-.menu nav h4 {\r
+.sidebar nav h4 {\r
        font-weight: bold;\r
        color: #555555;\r
        margin: 10px 0 0 10px;\r
        font-size: 12px;\r
 }\r
 \r
-.menu nav h4:last-child {\r
+.sidebar nav h4:last-child {\r
        margin-bottom: 5px;\r
 }\r
 \r
-.menu nav ul {\r
+.sidebar nav ul {\r
        margin: 10px;\r
        padding: 0;\r
        list-style-type: none;\r
 }\r
 \r
-.menu nav ul li {\r
+.sidebar nav ul li {\r
        overflow: hidden;\r
        color: #CCC;\r
 }\r
@@ -410,7 +385,19 @@ article .info .code {
        margin: 0;\r
 }\r
 \r
-/* JS facilities */\r
+/* Icons */\r
+\r
+.type.public, .interface.public, .abstract.class.public { background-image: url('../resources/icons/vtype_public.png')}\r
+.type.protected, .interface.protected, .abstract.class.protected { background-image: url('../resources/icons/vtype_protected.png')}\r
+.type.private, .interface.private, .abstract.class.private { background-image: url('../resources/icons/vtype_private.png')}\r
+.init.public, .enum.public { background-image: url('../resources/icons/const_public.png')}\r
+.init.protected, .enum.protected { background-image: url('../resources/icons/const_protected.png')}\r
+.init.private, .enum.private { background-image: url('../resources/icons/const_private.png')}\r
+.fun.public, .class.public, .extern.public { background-image: url('../resources/icons/meth_public.png')}\r
+.fun.protected, .class.protected, .extern.protected { background-image: url('../resources/icons/meth_protected.png')}\r
+.fun.private, .class.private, .extern.private { background-image: url('../resources/icons/meth_private.png')}\r
+\r
+/* Form elements */\r
 \r
 input[type=text] {\r
        width: 150px;\r
@@ -419,16 +406,6 @@ input[type=text] {
        padding: 1px 2px;\r
 }\r
 \r
-input[type=text].notUsed {\r
-       color: #999;\r
-       font-style: italic;\r
-}\r
-\r
-nav .filter {\r
-       text-align: center;\r
-       padding: 5px;\r
-}\r
-\r
 nav.main input[type=text] {\r
        margin: -2px 10px;\r
        color: black;\r
@@ -439,48 +416,6 @@ nav.main form {
        float: right;\r
 }\r
 \r
-.filter a {\r
-       color: #0D8921;\r
-       cursor: pointer;\r
-       font-family: monospace;\r
-       margin-right: 5px;\r
-   font-weight: bold;\r
-}\r
-\r
-.filter a.hidden {\r
-       color: #999;\r
-   font-weight: normal;\r
-}\r
-\r
-.filter a:hover {\r
-       text-decoration: underline;\r
-}\r
-\r
-nav h3 a.fold {\r
-       margin: 0 5px;\r
-       color: #999;\r
-       font-family: monospace;\r
-       font-weight: bold;\r
-       font-size: 120%;\r
-       cursor: pointer;\r
-}\r
-\r
-.hide {\r
-       overflow-y: hidden;\r
-       height: 0;\r
-}\r
-\r
-/* Icons */\r
-.type.public, .interface.public, .abstract.class.public { background-image: url('../resources/icons/vtype_public.png')}\r
-.type.protected, .interface.protected, .abstract.class.protected { background-image: url('../resources/icons/vtype_protected.png')}\r
-.type.private, .interface.private, .abstract.class.private { background-image: url('../resources/icons/vtype_private.png')}\r
-.init.public, .enum.public { background-image: url('../resources/icons/const_public.png')}\r
-.init.protected, .enum.protected { background-image: url('../resources/icons/const_protected.png')}\r
-.init.private, .enum.private { background-image: url('../resources/icons/const_private.png')}\r
-.fun.public, .class.public, .extern.public { background-image: url('../resources/icons/meth_public.png')}\r
-.fun.protected, .class.protected, .extern.protected { background-image: url('../resources/icons/meth_protected.png')}\r
-.fun.private, .class.private, .extern.private { background-image: url('../resources/icons/meth_private.png')}\r
-\r
 /* Quick Search */\r
 \r
 #search {\r