Skip to content

Commit dd20920

Browse files
Merge pull request #37 from ekonstantinidis/ui-hover-notification
Ui - Improve :hover of notification
2 parents dedba96 + 771875f commit dd20920

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

src/less/style.less

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
@ThemeBlack: #262626;
1414
@ThemeGreen: #6cc644;
1515

16-
@ThemeBlue: #4183c4;
17-
1816
@White: #ffffff;
17+
@LightGray: #f5f5f5;
1918

2019
/* @end Colors */
2120

@@ -259,7 +258,7 @@ html, body {
259258
.repository {
260259
padding: 10px 20px;
261260
margin: 0;
262-
background-color: #f5f5f5;
261+
background-color: @LightGray;
263262

264263
.col-xs-2,
265264
.col-xs-10 {
@@ -313,7 +312,7 @@ html, body {
313312
.notification {
314313
margin: 0;
315314
padding: 3px 20px;
316-
border-bottom: 1px solid darken(#f5f5f5, 10%);
315+
border-bottom: 1px solid darken(@LightGray, 10%);
317316

318317
transition: opacity .25s ease-in-out;
319318
-moz-transition: opacity .25s ease-in-out;
@@ -332,26 +331,35 @@ html, body {
332331
white-space: nowrap;
333332
overflow: hidden;
334333
text-overflow: ellipsis;
334+
335+
&:hover {
336+
cursor: pointer;
337+
}
335338
}
336339

337340
.octicon {
338341
margin-right: 10px;
339342
font-size: 20px;
340343

341344
&.octicon-check {
342-
-webkit-transition: all .8s;
343-
-moz-transition: all .8s;
344-
transition: all .8s;
345+
-webkit-transition: all .4s;
346+
-moz-transition: all .4s;
347+
transition: all .4s;
345348

346349
&:hover {
347-
color: @ThemeBlue;
350+
color: @ThemeGreen;
351+
cursor: pointer;
348352
}
349353
}
350354
}
351355

352356
&.read {
353357
.Opacity(0.4);
354358
}
359+
360+
&:hover {
361+
background-color: @LightGray;
362+
}
355363
}
356364

357365
/* @end Component / Notification */

0 commit comments

Comments
 (0)