aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/static/new
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-06-10 09:36:09 -0500
committerFrederick Muriuki Muriithi2024-06-10 09:36:09 -0500
commit47fc559ca2b554f54112586e8d198d883f8c8118 (patch)
tree742cf16c07f89bfebc0218af9b3f818968e9643d /gn2/wqflask/static/new
parentebeb75756d53509d2872ac91b2b86942e394ef23 (diff)
downloadgenenetwork2-47fc559ca2b554f54112586e8d198d883f8c8118.tar.gz
Simplify 'View-Resource page' UI
Get rid of the resource role details and provide button-like elements to help navigate to view more details.
Diffstat (limited to 'gn2/wqflask/static/new')
-rw-r--r--gn2/wqflask/static/new/css/pills.css25
-rw-r--r--gn2/wqflask/static/new/css/resource-roles.css5
2 files changed, 30 insertions, 0 deletions
diff --git a/gn2/wqflask/static/new/css/pills.css b/gn2/wqflask/static/new/css/pills.css
new file mode 100644
index 00000000..57c84204
--- /dev/null
+++ b/gn2/wqflask/static/new/css/pills.css
@@ -0,0 +1,25 @@
+a.pill{
+ border: 1px;
+ color: #3071A9;
+ text-decoration: none;
+ border: 1px solid #3071A9;
+ border-radius: 5px;
+ padding: 0.3em;
+ box-shadow: 3px 3px #DEDEDE;
+ text-align: center;
+}
+
+a.pill:active {
+ box-shadow: 1px 1px aquamarine;
+ position: relative;
+ left: 2px;
+ top: 2px;
+}
+
+a.pill:hover {
+ text-decoration: none;
+}
+
+a.pill:focus {
+ text-decoration: none;
+}
diff --git a/gn2/wqflask/static/new/css/resource-roles.css b/gn2/wqflask/static/new/css/resource-roles.css
new file mode 100644
index 00000000..f6f5e54b
--- /dev/null
+++ b/gn2/wqflask/static/new/css/resource-roles.css
@@ -0,0 +1,5 @@
+.resource_roles {
+ display: grid;
+ grid-template-columns: 150px 150px 150px 150px 150px;
+ grid-gap: 5px;
+}