From c349200761bdbf5beac22648da07b0768addc4d6 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 19 Mar 2016 12:49:34 +0100 Subject: Removing some unused gems, adding pagination to profiles, fix #10 --- app/assets/stylesheets/accounts.scss | 56 ++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) (limited to 'app/assets') diff --git a/app/assets/stylesheets/accounts.scss b/app/assets/stylesheets/accounts.scss index 1f4987527..57cc6e832 100644 --- a/app/assets/stylesheets/accounts.scss +++ b/app/assets/stylesheets/accounts.scss @@ -89,3 +89,59 @@ color: #d9e1e8; } } + +.pagination { + padding: 30px 0; + text-align: center; + overflow: hidden; + + a, .current, .next_page, .previous_page, .gap { + font-size: 14px; + color: #fff; + font-weight: 500; + display: inline-block; + padding: 6px 10px; + text-decoration: none; + } + + .current { + background: #fff; + border-radius: 100px; + color: #282c37; + cursor: default; + } + + .gap { + cursor: default; + } + + .previous_page, .next_page { + text-transform: uppercase; + color: #d9e1e8; + } + + .previous_page { + float: left; + padding-left: 0; + + .fa { + display: inline-block; + margin-right: 5px; + } + } + + .next_page { + float: right; + padding-right: 0; + + .fa { + display: inline-block; + margin-left: 5px; + } + } + + .disabled { + cursor: default; + color: lighten(#282c37, 10%); + } +} -- cgit