From dd9b9ac1c2f032e02757e7e4fa4aa588234933d4 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 13 Oct 2023 13:02:27 -0400 Subject: Admin comment page pagination --- app/assets/stylesheets/admin/dashboard.scss | 39 +++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'app/assets') diff --git a/app/assets/stylesheets/admin/dashboard.scss b/app/assets/stylesheets/admin/dashboard.scss index c75b95a..60c257a 100644 --- a/app/assets/stylesheets/admin/dashboard.scss +++ b/app/assets/stylesheets/admin/dashboard.scss @@ -1,3 +1,42 @@ // Place all the styles related to the Admin::Dashboard controller here. // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ + +.pagination { + background: #f1f1f1; + border: 1px solid #e5e5e5; + text-align: center; + padding: 1em; + cursor: default; + + a, span { + padding: 0.2em 0.3em; + } + + .disabled { + color: #aaaaaa; + } + + .current { + font-style: normal; + font-weight: bold; + background-color: #bebebe; + display: inline-block; + width: 1.4em; + height: 1.4em; + line-height: 1.5; + -moz-border-radius: 1em; + -webkit-border-radius: 1em; + border-radius: 1em; + text-shadow: rgba(255, 255, 255, 0.8) 1px 1px 1px; + } + + a { + text-decoration: none; + color: black; + + &:hover, &:focus { + text-decoration: underline; + } + } +} -- cgit 1.4.1