From e1cb33bb167ee21df82628ad5b6b981ffa12cda0 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Aug 16 2018 10:00:48 +0000 Subject: [PATCH 1/15] remove button-outline-light rules from pagure.css Removes the custom rules in pagure.css for styling button-outline-light, replacing it in the html with bootstrap utility classes. --- diff --git a/pagure/static/pagure.css b/pagure/static/pagure.css index 2e99704..c6e0b07 100644 --- a/pagure/static/pagure.css +++ b/pagure/static/pagure.css @@ -31,28 +31,10 @@ h6, .h6 { font-size: 1rem; } -.btn-outline-light { - color: #666; - background-color: #f4f4f4; - background-image: none; - border-color: #bbb; -} - .nowrap{ white-space: nowrap; } -.btn-outline-light:hover, -.btn-outline-light:active, -.btn-outline-light:focus, -.btn-outline-light.active, .show > .btn-outline-light.dropdown-toggle -{ - color: #666; - background-color: #ddd; - background-image: none; - border-color: #bbb; -} - .disabled a { pointer-events: none; color: #808080; diff --git a/pagure/templates/commits.html b/pagure/templates/commits.html index 3fe0300..c4fbe33 100644 --- a/pagure/templates/commits.html +++ b/pagure/templates/commits.html @@ -31,7 +31,7 @@
{% if branchname %}
- diff --git a/pagure/templates/file.html b/pagure/templates/file.html index 292a292..f0a3223 100644 --- a/pagure/templates/file.html +++ b/pagure/templates/file.html @@ -31,7 +31,7 @@
{% if branchname in g.branches %}
- @@ -50,7 +50,7 @@
{% else %} - From 0d0621f15d3936b2035e022702a0cd1c6a66e730 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Aug 16 2018 10:00:48 +0000 Subject: [PATCH 2/15] remove nav-tabs border rules from pagure.css Previously, we were using a rule in Pagure.css to remove the bottom border of nav-tabs elements. These nav-tabs were used in the repo-header tabs, the browsing tabs, and the preview tabs for comments. This commit removes this rule from the pagure.css, and replaces it in the places we need it in the html with the bootstrap utility class 'border-bottom-0' --- diff --git a/pagure/static/pagure.css b/pagure/static/pagure.css index c6e0b07..bb16710 100644 --- a/pagure/static/pagure.css +++ b/pagure/static/pagure.css @@ -35,16 +35,6 @@ h6, .h6 { white-space: nowrap; } -.disabled a { - pointer-events: none; - color: #808080; -} - -.nav-tabs -{ - border-bottom:none; -} - .repo-header { background:#f3f3f3; diff --git a/pagure/templates/_browseheader.html b/pagure/templates/_browseheader.html index 48afeb2..90759f8 100644 --- a/pagure/templates/_browseheader.html +++ b/pagure/templates/_browseheader.html @@ -10,7 +10,7 @@
{% endif %} -