about summary refs log tree commit diff
path: root/gn2/wqflask/static/new
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-06-10 09:36:09 -0500
committerAlexander_Kabui2024-08-28 15:02:45 +0300
commit7fa4cdd16ff3604b90bb58dbd3d099bd2a91169a (patch)
tree6097a65f9487e452f1c645b8c34bb4783916e989 /gn2/wqflask/static/new
parent37f4995185653678d54c3f2af6a12d4ebca41b73 (diff)
downloadgenenetwork2-7fa4cdd16ff3604b90bb58dbd3d099bd2a91169a.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;
+}