Fix Bootstrap CSS
authorNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Fri, 10 May 2013 09:56:32 +0000 (11:56 +0200)
committerNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Fri, 10 May 2013 09:56:32 +0000 (11:56 +0200)
* Sidebar: use normal font for titles
* Navigation bar: use position:absolute to be able to click on the logout link

Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
xnet/site/static/css/common.css

index dd7c769..06b83ee 100644 (file)
@@ -75,4 +75,19 @@ h2 {
        -moz-border-radius: 5px;
          -o-border-radius: 5px;
             border-radius: 5px;
-}
\ No newline at end of file
+}
+
+/* Use normal font size for sidemenu titles */
+.sidebar h3 {
+    font-size: inherit;
+}
+
+/*
+ *Fix Bootstrap style.
+ * This fix enables users to scroll horizontally to the logout button if its window is small.
+ */
+.navbar-fixed-top {
+    position: absolute !important;
+    min-width: 940px;
+    width: 100%;
+}