Bug 30952: Change circulation home page links to buttons
authorJulian Maurice <julian.maurice@biblibre.com>
Mon, 12 Sep 2022 14:29:51 +0000 (16:29 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 12 Oct 2022 19:14:03 +0000 (16:14 -0300)
Apply the same style to staff home page links

Issue #18

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/css/mainpage.css
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/img/koha-egg.svg

index 2a405da..c6abf06 100644 (file)
@@ -68,21 +68,25 @@ ul.biglinks-list li a.icon_general {
     /* Class used for each module link */
     display: flex;
     align-items: center;
-    padding: 5px;
-    border: 2px solid #71B443;
+    padding: 10px;
     border-radius: 6px;
     height: 50px;
 
     text-decoration: none;
     font-size: large;
 
-    color: #fff;
-    background-color: #71B443;
+    color: #000;
+    background-color: #e0e0e0;
 }
 
 ul.biglinks-list li a:hover.icon_general {
     /* Class used for each module link hover state */
-    border-color: #418940;
+    color: white;
+    background-color: #418940;
+}
+
+ul.biglinks-list li a.icon_general:hover img {
+    filter: invert(100%);
 }
 
 ul.biglinks-list li a.icon_general .fa-fw {
index d6b1d98..95716f7 100644 (file)
@@ -4326,15 +4326,29 @@ input.renew {
 /* ==== MODULE LINKS - Start ==== */
 .buttons-list {
     /* List containing the module links */
-    margin: 30px 0;
     padding: 0;
-    margin-left: 15px;
+    max-width: 260px;
 
     li {
         /* Standard attributes for the list elements */
         list-style-type: none;
-        display: table;
         margin-bottom: 15px;
+
+        a {
+            padding: 10px;
+            background-color: #e0e0e0;
+            border-radius: 6px;
+            color: #101010;
+            display: block;
+            font-size: 110%;
+            font-weight: bold;
+
+            &:hover {
+                background-color: #418940;
+                color: white;
+                text-decoration: none;
+            }
+        }
     }
 }
 
index ee31a57..0ae8df8 100644 (file)
@@ -21,6 +21,7 @@
         <dc:format>image/svg+xml</dc:format>
         <dc:type
            rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
       </cc:Work>
     </rdf:RDF>
   </metadata>
@@ -45,7 +46,9 @@
      inkscape:window-x="1680"
      inkscape:window-y="42"
      inkscape:window-maximized="1"
-     inkscape:current-layer="svg921" />
+     inkscape:current-layer="svg921"
+     inkscape:document-rotation="0"
+     inkscape:pagecheckerboard="true" />
   <style
      id="style907">.a{font-family:Bitstream Vera Sans;font-size:40px;}</style>
   <text
@@ -68,5 +71,5 @@
      d="m92.9 195c-13.1-1.6-23-7.8-26.2-16.2-1.5-3.9-2-8.5-1.1-8.5 0.2 0 2 1.4 3.9 3.1 4.2 3.7 7.5 5.4 12.7 6.7 11.3 2.7 24.2-3.7 29.8-14.8 2-4 3.3-7.4 3.3-12.3 0-5.1-1.2-8.8-3.2-12.5-4.2-7.9-14.3-16-24.1-19-4.3-1.3-7-1.7-14.3-1.6-14.9 0.1-26.1 4.1-34.5 12.6-8 8-11.5 17.5-11.5 30.8 0 7.5-0.7 8.9-2.1 4.3-2.9-9.8-3.8-33.5-1.8-45.1C26.8 105.6 31.2 92 38.5 77 52 49.1 72.3 27.2 94.7 16.3 105.7 11 113.6 8.9 123.2 8.9c13.3 0 23 3.8 32.5 12.7 21.8 20.5 26.6 61.1 12 103.3-5.9 17.1-18.3 38.9-28.3 49.9-4.4 4.8-14.5 12.3-20.7 15.5-7.4 3.7-17.9 5.6-25.8 4.6z"
      fill="#74b01b"
      id="path917"
-     style="fill:#ffffff;fill-opacity:1" />
+     style="fill-opacity:1;fill-rule:nonzero;fill:#000000" />
 </svg>