From bbe3a5116e26bd0ce2afd00b4332fe591881ded1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pich?= Date: Sun, 17 Dec 2017 22:12:20 +0100 Subject: [PATCH] Add styling for paging navigation --- public/stylesheets/_nav.scss | 27 +++++++++++++++++++++++++++ src/views/opiekun/plan-lekcji.pug | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/public/stylesheets/_nav.scss b/public/stylesheets/_nav.scss index bb5ef77..d9806f0 100644 --- a/public/stylesheets/_nav.scss +++ b/public/stylesheets/_nav.scss @@ -28,3 +28,30 @@ nav#menuGlowne { } } } + +.navigation { + display: flex; + justify-content: space-between; + + a[class^="button"] { + background: #8B0000; + padding: 0.5rem 1.5rem; + margin: 1rem 0; + color: #fff; + text-decoration: none; + + &:hover { + text-decoration: underline; + } + } + + .button-prev:before { + content: "<"; + margin-right: 0.5rem; + } + + .button-next:after { + content: ">"; + margin-left: 0.5rem; + } +} diff --git a/src/views/opiekun/plan-lekcji.pug b/src/views/opiekun/plan-lekcji.pug index ccb7cdf..fe8ea8a 100644 --- a/src/views/opiekun/plan-lekcji.pug +++ b/src/views/opiekun/plan-lekcji.pug @@ -97,7 +97,7 @@ append content span span= day.teacher span= day.room - +nav + +nav .description div