udpated cloud and feedback icons, updated icon shortcodes, resolves #133

pull/135/head
Scott Anderson 2019-04-09 10:42:38 -06:00
parent 60256576f6
commit 4b8129c5d5
7 changed files with 93 additions and 75 deletions

View File

@ -1,10 +1,10 @@
@font-face {
font-family: 'icomoon';
src: url('fonts/icomoon.eot?s76ef');
src: url('fonts/icomoon.eot?s76ef#iefix') format('embedded-opentype'),
url('fonts/icomoon.ttf?s76ef') format('truetype'),
url('fonts/icomoon.woff?s76ef') format('woff'),
url('fonts/icomoon.svg?s76ef#icomoon') format('svg');
src: url('fonts/icomoon.eot?gasx8p');
src: url('fonts/icomoon.eot?gasx8p#iefix') format('embedded-opentype'),
url('fonts/icomoon.ttf?gasx8p') format('truetype'),
url('fonts/icomoon.woff?gasx8p') format('woff'),
url('fonts/icomoon.svg?gasx8p#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
@ -24,6 +24,12 @@
-moz-osx-font-smoothing: grayscale;
}
.icon-ui-cloud:before {
content: "\e93f";
}
.icon-ui-nav-chat:before {
content: "\e941";
}
.icon-ui-add-cell:before {
content: "\e91f";
}

View File

@ -11,7 +11,7 @@
{{ else if or (eq $icon "nav-organizations") (eq $icon "nav-orgs") (eq $icon "orgs") (eq $icon "org") }}
<span class="inline icon-ui-organizations middle"></span>
{{ else if or (eq $icon "nav-configuration") (eq $icon "nav-config") (eq $icon "wrench") }}
<span class="inline icon-ui-wrench middle large"></span>
<span class="inline icon-ui-wrench-2 middle large"></span>
{{ else if eq $icon "add-cell" }}
<span class="inline icon-ui-add-cell small"></span>
{{ else if eq $icon "alert" }}
@ -48,6 +48,10 @@
<span class="inline icon-ui-trash small"></span>
{{ else if eq $icon "triangle" }}
<span class="inline icon-ui-triangle middle"></span>
{{ else if eq $icon "cloud" }}
<span class="inline icon-ui-cloud large"></span>
{{ else if or (eq $icon "feedback") (eq $icon "chat") (eq $icon "bubble") }}
<span class="inline icon-ui-nav-chat large"></span>
{{ else if eq $icon "add-label" }}
<span class="inline add-btn-round">&#59696;</span>
{{ end }}

View File

@ -14,9 +14,15 @@
{{ else if or (eq $navIcon "organizations") (eq $navIcon "orgs") }}
{{ .Scratch.Set "icon" "organizations" }}
{{ .Scratch.Set "title" "Organizations" }}
{{ else if or (eq $navIcon "configuration") (eq $navIcon "config") }}
{{ .Scratch.Set "icon" "wrench" }}
{{ .Scratch.Set "title" "Configuration" }}
{{ else if eq $navIcon "settings" }}
{{ .Scratch.Set "icon" "wrench-2" }}
{{ .Scratch.Set "title" "Settings" }}
{{ else if or (eq $navIcon "feedback") }}
{{ .Scratch.Set "icon" "nav-chat" }}
{{ .Scratch.Set "title" "Feedback" }}
{{ else if or (eq $navIcon "cloud") }}
{{ .Scratch.Set "icon" "cloud" }}
{{ .Scratch.Set "title" "Cloud" }}
{{ end }}
{{ $icon := .Scratch.Get "icon" }}

Binary file not shown.

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Binary file not shown.