From 311e0218affb9395a230b064596a60c9d748e5ef Mon Sep 17 00:00:00 2001
From: rubenwardy
Date: Sat, 18 Jan 2020 00:15:29 +0000
Subject: [PATCH] Fiddle with package button styling
---
app/scss/custom.scss | 48 ++++++++++++++++++--------------
app/templates/base.html | 2 +-
app/templates/packages/view.html | 10 +++----
3 files changed, 33 insertions(+), 27 deletions(-)
diff --git a/app/scss/custom.scss b/app/scss/custom.scss
index 90173050..e25aaf61 100644
--- a/app/scss/custom.scss
+++ b/app/scss/custom.scss
@@ -4,7 +4,7 @@
@import "comments.scss";
.dropdown-menu {
- margin-top: 0;
+ margin-top: 0;
}
.dropdown:hover .dropdown-menu {
@@ -16,42 +16,48 @@
}
#alerts {
- display: block;
- list-style: none;
- position: fixed;
- bottom: 0;
- left:0;
- right:0;
- margin: 0;
- padding:0;
- z-index: 1000;
+ display: block;
+ list-style: none;
+ position: fixed;
+ bottom: 0;
+ left:0;
+ right:0;
+ margin: 0;
+ padding:0;
+ z-index: 1000;
}
#alerts li {
- list-style: none;
+ list-style: none;
}
.jumbotron {
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center;
+ background-size: cover;
+ background-repeat: no-repeat;
+ background-position: center;
+
+ .btn-outline-secondary {
+ color: #eee;
+ border-color: #666;
+ background: rgba(102, 102, 102, 0.3);
+ }
}
.alert .btn {
- text-decoration: none;
+ text-decoration: none;
}
.card .table {
- margin-bottom: 0;
+ margin-bottom: 0;
}
.btn-download {
- color: #fff;
- background-color: #00b05c;
- border-color: #00b05c;
+ color: #fff;
+ background-color: #00b05c;
+ border-color: #00b05c;
}
.btn-download:focus, .btn-download.focus {
- -webkit-box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.5);
- box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.5);
+ -webkit-box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.5);
+ box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.5);
}
diff --git a/app/templates/base.html b/app/templates/base.html
index faa867a8..f52006c8 100644
--- a/app/templates/base.html
+++ b/app/templates/base.html
@@ -7,7 +7,7 @@
{% block title %}title{% endblock %} - {{ config.USER_APP_NAME }}
-
+
diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html
index 5da87972..740bf7e5 100644
--- a/app/templates/packages/view.html
+++ b/app/templates/packages/view.html
@@ -23,14 +23,14 @@
-
+
{{ package.getDownloadCount() }} downloads
- {% if package.repo %}
View Source{% endif %}
- {% if package.forums %}
Forums{% endif %}
- {% if package.issueTracker %}
Issue Tracker{% endif %}
- {% if package.website %}
Website{% endif %}
+ {% if package.repo %}
View Source{% endif %}
+ {% if package.forums %}
Forums{% endif %}
+ {% if package.issueTracker %}
Issue Tracker{% endif %}
+ {% if package.website %}
Website{% endif %}