Add dashboard button with styling and icon support
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -29,6 +29,7 @@ class Global_conf {
|
|||||||
array("FAwesome","linkedinBtn", "https://www.linkedin.com/in/martin-fencl-6a9795189"),
|
array("FAwesome","linkedinBtn", "https://www.linkedin.com/in/martin-fencl-6a9795189"),
|
||||||
//array("FAwesome","foursquareBtn", "https://foursquare.com/zacekjakub"),
|
//array("FAwesome","foursquareBtn", "https://foursquare.com/zacekjakub"),
|
||||||
array("FAwesome","mailBtn", "mailto:martin@martinfencl.eu"),
|
array("FAwesome","mailBtn", "mailto:martin@martinfencl.eu"),
|
||||||
|
array("FAwesome","dashboardBtn", "https://dashboard.martinfencl.eu/"),
|
||||||
//array("FAwesome", "telegramBtn", "https://t.me/zacekjakub"),
|
//array("FAwesome", "telegramBtn", "https://t.me/zacekjakub"),
|
||||||
//array("Blog","blog.png", "https://blog.zacekj.cz"),
|
//array("Blog","blog.png", "https://blog.zacekj.cz"),
|
||||||
//array("FAwesome","gravBtn", "https://blog.zacekj.cz"),
|
//array("FAwesome","gravBtn", "https://blog.zacekj.cz"),
|
||||||
|
|||||||
@@ -460,6 +460,25 @@ jakub
|
|||||||
background: #333;
|
background: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* homarr dashboard button class*/
|
||||||
|
.dashboardBtn {
|
||||||
|
background: black;
|
||||||
|
-webkit-transition: all 0.3s linear;
|
||||||
|
-moz-transition: all 0.3s ease;
|
||||||
|
-ms-transition: all 0.3s ease;
|
||||||
|
-o-transition: all 0.3s ease;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dashboardBtn:before {
|
||||||
|
font-family: "FontAwesome";
|
||||||
|
content: "\f0e4"; /* add dashboard icon */
|
||||||
|
}
|
||||||
|
|
||||||
|
.dashboardBtn:hover {
|
||||||
|
background: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.GlobalBtn {
|
.GlobalBtn {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|||||||
Reference in New Issue
Block a user