Using the svg icons for domain constraint, and server browser nodes.

This commit is contained in:
Chethana Kumar 2017-09-11 18:23:21 +05:30 committed by Ashesh Vashi
parent 51fd8f29fb
commit f79b7f26b1
6 changed files with 4 additions and 2 deletions

View File

@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><style>.cls-1{fill:#f2f2f2;}.cls-2,.cls-4,.cls-5{fill:none;stroke-linecap:round;stroke-linejoin:round;}.cls-2{stroke:#717f8e;}.cls-2,.cls-4{stroke-width:0.75px;}.cls-3{fill:#717f8e;}.cls-4{stroke:#def4fd;}.cls-5{stroke:#d0021b;stroke-width:1.5px;}</style></defs><title>domain_constraintsbad</title><polygon class="cls-1" points="9.73 12.98 1.71 13.06 1.71 6.92 5.76 2.71 9.81 6.76 9.73 12.98"/><line class="cls-2" x1="0.36" y1="8.12" x2="5.76" y2="2.72"/><line class="cls-2" x1="5.76" y1="2.72" x2="11.16" y2="8.12"/><line class="cls-2" x1="1.71" y1="6.77" x2="1.71" y2="13.07"/><line class="cls-2" x1="1.71" y1="13.07" x2="9.81" y2="13.07"/><line class="cls-2" x1="9.81" y1="13.07" x2="9.81" y2="6.77"/><circle class="cls-3" cx="5.76" cy="9.13" r="2.78"/><polyline class="cls-4" points="4.22 9.6 5.35 10.56 7.18 8.06"/><line class="cls-5" x1="11.31" y1="5.64" x2="8.31" y2="8.64"/><line class="cls-5" x1="11.31" y1="8.64" x2="8.31" y2="5.64"/></svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -8,7 +8,7 @@
}
.icon-check-bad, .icon-domain_constraints-bad {
background-image: url('{{ url_for('NODE-%s.static' % node_type, filename='img/domain_constraints-bad.png' )}}') !important;
background-image: url('{{ url_for('NODE-%s.static' % node_type, filename='img/domain_constraints-bad.svg' )}}') !important;
background-repeat: no-repeat;
background-size: 20px !important;
align-content: center;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 553 B

View File

@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 16"><defs><style>.cls-1{fill:#def4fd;}.cls-2{fill:#2980b9;}.cls-3{fill:none;stroke:#2980b9;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.75px;}</style></defs><title>server</title><rect class="cls-1" x="0.88" y="2.5" width="9.85" height="11.1" rx="1.13" ry="1.13"/><path class="cls-2" d="M9.6,2.88a.75.75,0,0,1,.75.75v8.85a.75.75,0,0,1-.75.75H2a.75.75,0,0,1-.75-.75V3.63A.75.75,0,0,1,2,2.88H9.6m0-.75H2A1.5,1.5,0,0,0,.5,3.63v8.85A1.5,1.5,0,0,0,2,14H9.6a1.5,1.5,0,0,0,1.5-1.5V3.63A1.5,1.5,0,0,0,9.6,2.13Z"/><line class="cls-3" x1="4.79" y1="4.57" x2="2.68" y2="4.57"/><line class="cls-3" x1="8.85" y1="7.22" x2="2.76" y2="7.22"/><line class="cls-3" x1="8.85" y1="9.22" x2="2.76" y2="9.22"/><line class="cls-3" x1="8.85" y1="11.22" x2="2.76" y2="11.22"/></svg>

After

Width:  |  Height:  |  Size: 858 B

View File

@ -1,5 +1,5 @@
.icon-server {
background-image: url('{{ url_for('NODE-server.static', filename='img/server.png') }}') !important;
background-image: url('{{ url_for('NODE-server.static', filename='img/server.svg') }}') !important;
background-repeat: no-repeat;
background-size: 20px !important;
align-content: center;