add material font icons

This commit is contained in:
Andreas Zweili 2020-05-02 21:52:38 +02:00
parent b1ada3751d
commit 94ecbd54f9
6 changed files with 52 additions and 6 deletions

View File

@ -0,0 +1,45 @@
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(MaterialIcons-Regular.eot); /* For IE6-8 */
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url(/static/core/fonts/MaterialIcons-Regular.woff2) format('woff2'),
url(/static/core/fonts/MaterialIcons-Regular.woff) format('woff'),
url(/static/core/fonts/MaterialIcons-Regular.ttf) format('truetype');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px; /* Preferred icon size */
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: 'liga';
}
a.delete {
color: #E34724;
}
a.edit {
color: #FFC107;
}
a.add {
color: #5cb85c;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,12 +1,13 @@
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" type="text/css" href="{% static "core/css/bootstrap.min.css" %}">
<title>Network Inventory</title>
</head>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" type="text/css" href="{% static "core/css/bootstrap.min.css" %}">
<link rel="stylesheet" type="text/css" href="{% static "core/css/material-icons.css" %}">
<title>Network Inventory</title>
</head>
<body>
<div class="container">
<a href="{% url 'customers' %}">Home</a> |