aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2019-11-12 08:23:44 -0800
committerGitHub <noreply@github.com>2019-11-12 08:23:44 -0800
commit05bdc2680193564dbb8acbd85aa8d79eeec546f5 (patch)
treee3789186c38674cc94a29d72684d9413630bb5a7
parent8aa8398fba4916ced1b793a7ca7e8574fc7ff98e (diff)
parent7312bdd6bc5b57349a72402077f9ed6da332be6c (diff)
downloadhomer-05bdc2680193564dbb8acbd85aa8d79eeec546f5.tar.gz
homer-05bdc2680193564dbb8acbd85aa8d79eeec546f5.tar.zst
homer-05bdc2680193564dbb8acbd85aa8d79eeec546f5.zip
Merge pull request #5 from pdevq/master
Styling Tags - Search Bar Icon Fix - Dark Theme Link Hover Text
-rw-r--r--README.md4
-rw-r--r--app.css18
-rw-r--r--app.css.map4
-rw-r--r--app.js4
-rw-r--r--app.scss25
-rw-r--r--config.yml7
6 files changed, 51 insertions, 11 deletions
diff --git a/README.md b/README.md
index d2a6500..62bbd77 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@ links:
42 42
43# Services 43# Services
44# First level array represent a group. 44# First level array represent a group.
45# Leave only a "items" key if not using group (group name & icon are optional, section separation will not be displayed). 45# Leave only a "items" key if not using group (group name, icon & tagstyle are optional, section separation will not be displayed).
46services: 46services:
47 - name: "DevOps" 47 - name: "DevOps"
48 icon: "fa-code-fork" 48 icon: "fa-code-fork"
@@ -58,6 +58,8 @@ services:
58 logo: "/assets/tools/rabbitmq.png" 58 logo: "/assets/tools/rabbitmq.png"
59 subtitle: "Manage & monitor RabbitMQ server" 59 subtitle: "Manage & monitor RabbitMQ server"
60 tag: "haproxy" 60 tag: "haproxy"
61 # Optional tagstyle
62 tagstyle: "is-success"
61 url: "#" 63 url: "#"
62 - name: "Monitoring" 64 - name: "Monitoring"
63 icon: "fa-heartbeat" 65 icon: "fa-heartbeat"
diff --git a/app.css b/app.css
index 8a97742..27617de 100644
--- a/app.css
+++ b/app.css
@@ -9,6 +9,8 @@ body {
9 transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; 9 transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms;
10 background-color: #f5f5f5; 10 background-color: #f5f5f5;
11 color: #363636; } 11 color: #363636; }
12 body #app a:hover {
13 color: #363636; }
12 body #app .title { 14 body #app .title {
13 color: #303030; } 15 color: #303030; }
14 body #app .subtitle { 16 body #app .subtitle {
@@ -25,6 +27,8 @@ body {
25 body #app { 27 body #app {
26 background-color: #f5f5f5; 28 background-color: #f5f5f5;
27 color: #363636; } 29 color: #363636; }
30 body #app a:hover {
31 color: #363636; }
28 body #app .title { 32 body #app .title {
29 color: #303030; } 33 color: #303030; }
30 body #app .subtitle { 34 body #app .subtitle {
@@ -41,6 +45,8 @@ body {
41 body #app { 45 body #app {
42 background-color: #131313; 46 background-color: #131313;
43 color: #eaeaea; } 47 color: #eaeaea; }
48 body #app a:hover {
49 color: #ffdd57; }
44 body #app .title { 50 body #app .title {
45 color: #fafafa; } 51 color: #fafafa; }
46 body #app .subtitle { 52 body #app .subtitle {
@@ -56,6 +62,8 @@ body {
56 body #app.is-light { 62 body #app.is-light {
57 background-color: #f5f5f5; 63 background-color: #f5f5f5;
58 color: #363636; } 64 color: #363636; }
65 body #app.is-light a:hover {
66 color: #363636; }
59 body #app.is-light .title { 67 body #app.is-light .title {
60 color: #303030; } 68 color: #303030; }
61 body #app.is-light .subtitle { 69 body #app.is-light .subtitle {
@@ -71,6 +79,8 @@ body {
71 body #app.is-dark { 79 body #app.is-dark {
72 background-color: #131313; 80 background-color: #131313;
73 color: #eaeaea; } 81 color: #eaeaea; }
82 body #app.is-dark a:hover {
83 color: #ffdd57; }
74 body #app.is-dark .title { 84 body #app.is-dark .title {
75 color: #fafafa; } 85 color: #fafafa; }
76 body #app.is-dark .subtitle { 86 body #app.is-dark .subtitle {
@@ -130,6 +140,7 @@ body {
130 body #bighead .navbar a { 140 body #bighead .navbar a {
131 color: #ffffff; } 141 color: #ffffff; }
132 body #bighead .navbar a:hover { 142 body #bighead .navbar a:hover {
143 color: #ffffff;
133 background-color: #5a95f5; } 144 background-color: #5a95f5; }
134 body #main-section { 145 body #main-section {
135 margin-bottom: 2rem; 146 margin-bottom: 2rem;
@@ -165,6 +176,8 @@ body {
165 overflow: hidden; 176 overflow: hidden;
166 transition: all 0.2s ease-out; 177 transition: all 0.2s ease-out;
167 padding: 0; } 178 padding: 0; }
179 body .tag .tag-text {
180 display: none; }
168 body .card { 181 body .card {
169 border-radius: 5px; 182 border-radius: 5px;
170 border: none; 183 border: none;
@@ -178,6 +191,8 @@ body {
178 width: auto; 191 width: auto;
179 color: #ffffff; 192 color: #ffffff;
180 padding: 0 0.75em; } 193 padding: 0 0.75em; }
194 body .card:hover .tag .tag-text {
195 display: block; }
181 body .card-content { 196 body .card-content {
182 height: 85px; 197 height: 85px;
183 padding: 1.3rem; } 198 padding: 1.3rem; }
@@ -215,11 +230,12 @@ body {
215 width: 250px; 230 width: 250px;
216 background-color: #ffffff; } 231 background-color: #ffffff; }
217 body .search-bar .search-label::before { 232 body .search-bar .search-label::before {
218 font-family: 'FontAwesome'; 233 font-family: 'Font Awesome 5 Free';
219 position: absolute; 234 position: absolute;
220 top: 12px; 235 top: 12px;
221 left: 8px; 236 left: 8px;
222 content: "\f002"; 237 content: "\f002";
238 font-weight: 900;
223 width: 20px; 239 width: 20px;
224 height: 20px; } 240 height: 20px; }
225 body .search-bar:focus-within .search-label::before { 241 body .search-bar:focus-within .search-label::before {
diff --git a/app.css.map b/app.css.map
index 9e5dc0c..d03711d 100644
--- a/app.css.map
+++ b/app.css.map
@@ -1,7 +1,7 @@
1{ 1{
2"version": 3, 2"version": 3,
3"mappings": "AAGA,IAAK;EACH,WAAW,EAAE,qBAAqB;EAClC,gBAAgB,EAAE,OAAO;EACzB,MAAM,EAAE,IAAI;EAEZ,oDAAuB;IACrB,WAAW,EAAE,kBAAkB;EAGjC,OAAG;IACD,SAA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,KAAK,EAAE,KAAK;MAGZ,8BAAQ;QACN,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,KAAK;QACZ,gBAAgB,EAAE,OAAO;IAI7B,sCAAsB;MACpB,WAAW,EAAE,qBAAqB;MAClC,QAAQ,EAAE,QAAQ;MAClB,GAAG,EAAE,IAAI;MACT,IAAI,EAAE,GAAG;MACT,OAAO,EAAE,OAAO;MAChB,WAAW,EAAE,GAAG;MAChB,KAAK,EAAE,IAAI;MACX,MAAM,EAAE,IAAI;IAGZ,mDAAqC;MACjC,KAAK,EAAE,OAAO;EAItB,iBAAa;IACX,OAAO,EAAE,YAAY;EAGvB,qBAAiB;IACb,UAAU,EAAE,MAAM;IAClB,MAAM,EAAE,MAAM;IAEd,uBAAE;MACA,SAAS,EAAE,IAAI;IAGjB,mCAAc;MACZ,SAAS,EAAE,MAAM;MACjB,WAAW,EAAE,IAAI;MACjB,cAAc,EAAE,MAAM;MACtB,MAAM,EAAE,OAAO;MACf,KAAK,EAAE,OAAO",
4"sources": ["app.scss"], 4"sources": ["app.scss"],
5"names": [], 5"names": [],
6"file": "app.css" 6"file": "app.css"
7} \ No newline at end of file 7}
diff --git a/app.js b/app.js
index 41bdd9d..def0be7 100644
--- a/app.js
+++ b/app.js
@@ -85,7 +85,9 @@ Vue.component('service', {
85 <p class="subtitle is-6">{{ item.subtitle }}</p> 85 <p class="subtitle is-6">{{ item.subtitle }}</p>
86 </div> 86 </div>
87 </div> 87 </div>
88 <strong class="tag" v-if="item.tag">#{{ item.tag }}</strong> 88 <div class="tag" :class="item.tagstyle" v-if="item.tag">
89 <strong class="tag-text">#{{ item.tag }}</strong>
90 </div>
89 </div> 91 </div>
90 </a> 92 </a>
91 </div></div>` 93 </div></div>`
diff --git a/app.scss b/app.scss
index d4d2099..defd931 100644
--- a/app.scss
+++ b/app.scss
@@ -9,7 +9,8 @@ $theme-light: (
9 text: #363636, 9 text: #363636,
10 text-title: #303030, 10 text-title: #303030,
11 text-subtitle: #424242, 11 text-subtitle: #424242,
12 card-shadow: rgba(0, 0, 0, 0.1) 12 card-shadow: rgba(0, 0, 0, 0.1),
13 a-hover: #363636
13); 14);
14$theme-dark: ( 15$theme-dark: (
15 background: #131313, 16 background: #131313,
@@ -17,7 +18,8 @@ $theme-dark: (
17 text: #eaeaea, 18 text: #eaeaea,
18 text-title: #fafafa, 19 text-title: #fafafa,
19 text-subtitle: #f5f5f5, 20 text-subtitle: #f5f5f5,
20 card-shadow: rgba(0, 0, 0, 0.4) 21 card-shadow: rgba(0, 0, 0, 0.4),
22 a-hover: #ffdd57
21); 23);
22 24
23 25
@@ -25,7 +27,12 @@ $theme-dark: (
25@mixin theme($theme) { 27@mixin theme($theme) {
26 background-color: map-get($theme, "background"); 28 background-color: map-get($theme, "background");
27 color: map-get($theme, "text"); 29 color: map-get($theme, "text");
28 30 a {
31 &:hover {
32 color: map-get($theme, "a-hover");
33 }
34 }
35
29 .title { 36 .title {
30 color: map-get($theme, "text-title"); 37 color: map-get($theme, "text-title");
31 } 38 }
@@ -154,6 +161,7 @@ body {
154 a { 161 a {
155 color: #ffffff; 162 color: #ffffff;
156 &:hover { 163 &:hover {
164 color: #ffffff;
157 background-color: lighten( $secondary-color, 5% ); 165 background-color: lighten( $secondary-color, 5% );
158 } 166 }
159 } 167 }
@@ -212,6 +220,10 @@ body {
212 overflow: hidden; 220 overflow: hidden;
213 transition: all 0.2s ease-out; 221 transition: all 0.2s ease-out;
214 padding: 0; 222 padding: 0;
223
224 .tag-text {
225 display: none;
226 }
215 } 227 }
216 228
217 .card { 229 .card {
@@ -232,6 +244,10 @@ body {
232 width: auto; 244 width: auto;
233 color: #ffffff; 245 color: #ffffff;
234 padding: 0 0.75em; 246 padding: 0 0.75em;
247
248 .tag-text {
249 display: block;
250 }
235 } 251 }
236 } 252 }
237 253
@@ -289,11 +305,12 @@ body {
289 } 305 }
290 306
291 .search-label::before { 307 .search-label::before {
292 font-family: 'FontAwesome'; 308 font-family: 'Font Awesome 5 Free';
293 position: absolute; 309 position: absolute;
294 top: 12px; 310 top: 12px;
295 left: 8px; 311 left: 8px;
296 content: "\f002"; 312 content: "\f002";
313 font-weight: 900;
297 width: 20px; 314 width: 20px;
298 height: 20px; 315 height: 20px;
299 } 316 }
diff --git a/config.yml b/config.yml
index 69c87ea..8060119 100644
--- a/config.yml
+++ b/config.yml
@@ -1,6 +1,6 @@
1--- 1---
2# Homepage configuration 2# Homepage configuration
3# See https://fontawesome.com/v4.7.0/icons/ for icons options 3# See https://fontawesome.com/icons for icons options
4 4
5title: "Simple homepage" 5title: "Simple homepage"
6subtitle: "Homer" 6subtitle: "Homer"
@@ -25,7 +25,7 @@ links:
25 25
26# Services 26# Services
27# First level array represent a group. 27# First level array represent a group.
28# Leave only a "items" key if not using group (group name & icon are optional, section separation will not be displayed). 28# Leave only a "items" key if not using group (group name, icon & tagstyle are optional, section separation will not be displayed).
29services: 29services:
30 - name: "DevOps" 30 - name: "DevOps"
31 icon: "fas fa-code-branch" 31 icon: "fas fa-code-branch"
@@ -39,6 +39,9 @@ services:
39 logo: "/assets/tools/rabbitmq.png" 39 logo: "/assets/tools/rabbitmq.png"
40 subtitle: "Manage & monitor RabbitMQ server" 40 subtitle: "Manage & monitor RabbitMQ server"
41 tag: "haproxy" 41 tag: "haproxy"
42 # Optional tagstyle
43 # Same styling options as the optional message.
44 tagstyle: "is-success"
42 url: "#" 45 url: "#"
43 - name: "Monitoring" 46 - name: "Monitoring"
44 icon: "fas fa-heartbeat" 47 icon: "fas fa-heartbeat"