aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/stylesheets/hmno_sidebars.scss
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2014-01-28 22:51:35 +0100
committerHarald Eilertsen <haraldei@anduin.net>2014-01-28 22:51:35 +0100
commit40dfe8d0bba89e5912af957eeb0d05fbef930215 (patch)
treeba11c8a0f49a5c8080f1ed446dfd929c35c46b76 /app/assets/stylesheets/hmno_sidebars.scss
parentd1c9b7ce9f54d00a965b1b98b31915b498ef842b (diff)
downloadhmnoweb-40dfe8d0bba89e5912af957eeb0d05fbef930215.tar.gz
hmnoweb-40dfe8d0bba89e5912af957eeb0d05fbef930215.tar.bz2
hmnoweb-40dfe8d0bba89e5912af957eeb0d05fbef930215.zip
Refactor stylesheets and do a major overhaul of the styling.
Diffstat (limited to 'app/assets/stylesheets/hmno_sidebars.scss')
-rw-r--r--app/assets/stylesheets/hmno_sidebars.scss40
1 files changed, 40 insertions, 0 deletions
diff --git a/app/assets/stylesheets/hmno_sidebars.scss b/app/assets/stylesheets/hmno_sidebars.scss
new file mode 100644
index 0000000..223f1cf
--- /dev/null
+++ b/app/assets/stylesheets/hmno_sidebars.scss
@@ -0,0 +1,40 @@
+@import "color_scheme";
+
+@mixin sidebar-headers {
+ padding: 2px;
+ color: $link-fg;
+ background: {
+ color: $header-bg;
+ image: image_url("module-header-bg.jpg");
+ repeat: repeat;
+ }
+}
+
+#left_sidebar, #right_sidebar {
+ position: absolute;
+ width: 200px;
+ top: 0;
+ bottom: $spacing;
+ border: 1px groove $dark-border-fg;
+ padding: 5px;
+ background-color: $bg2;
+ h2 {
+ @include sidebar-headers;
+ }
+}
+
+#left_sidebar {
+ left: $spacing;
+}
+
+#right_sidebar {
+ right: $spacing;
+}
+
+.sidebar_module {
+ padding-bottom: $spacing;
+ h1 {
+ font-size: 12pt;
+ @include sidebar-headers;
+ }
+}