Skip to content

Commit 67477c3

Browse files
committed
change icons to vector
1 parent c72e9c4 commit 67477c3

34 files changed

Lines changed: 75 additions & 112 deletions

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
- **For developers**: Coding style and other code requirements can be easily checked using `grunt check`. ([#943](https://github.com/SSilence/selfoss/pull/943))
7373
- Warning will be logged when icon/thumbnail directories are not writeable ([#1009](https://github.com/SSilence/selfoss/pull/1009))
7474
- Removed readability spout and sharing ([#1012](https://github.com/SSilence/selfoss/pull/1012))
75+
- Switched icons to vector images, which will allow better theming ([#1013](https://github.com/SSilence/selfoss/pull/1013))
7576

7677

7778
## 2.17 – 2017-03-17

public/css/style.css

Lines changed: 13 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -282,28 +282,17 @@ body * {
282282
height:45px;
283283
border-radius:2px;
284284
cursor:pointer;
285-
}
286-
287-
#nav-refresh {
288-
background:url(images/nav-refresh.png) no-repeat center center #272325;
285+
background: #272325;
289286
}
290287

291-
#nav-refresh.loading {
292-
background:url(images/ajax-loader.gif) center center no-repeat;
293-
}
294-
295288
#nav-settings {
296-
background:url(images/nav-sources.png) no-repeat center center #272325;
297289
left:70px;
298290
}
299-
300291
#nav-logout {
301-
background:url(images/nav-logout.png) no-repeat center center #272325;
302292
left:120px;
303-
}
304-
293+
}
294+
305295
#nav-login {
306-
background:url(images/nav-login.png) no-repeat center center #272325;
307296
width:140px;
308297
}
309298

@@ -369,19 +358,11 @@ body * {
369358
background: transparent;
370359
padding: 0;
371360
border: none;
372-
position:absolute;
373-
width:30px;
374-
height:20px;
375-
top:11px;
376-
left:280px;
377-
cursor:pointer;
378-
}
379-
380-
#search-button {
381-
left:305px;
361+
width: 30px;
362+
height: 30px;
363+
cursor: pointer;
382364
}
383-
384-
365+
385366
#search-list {
386367
display:none;
387368
margin-left:220px;
@@ -393,14 +374,9 @@ body * {
393374
margin-left:10px;
394375
color:#ffffff;
395376
padding-left:5px;
396-
padding-right:15px;
377+
padding-right: 8px;
397378
font-size:0.85em;
398-
background: url(images/remove-small.png) no-repeat right center #3d6d69;
399-
border-right:6px solid #3d6d69;
400-
-webkit-border-top-right-radius: 4px;
401-
-webkit-border-bottom-right-radius: 4px;
402-
-moz-border-radius-topright: 4px;
403-
-moz-border-radius-bottomright: 4px;
379+
background-color: #3d6d69;
404380
border-top-right-radius: 4px;
405381
border-bottom-right-radius: 4px;
406382
cursor:pointer;
@@ -629,14 +605,8 @@ body * {
629605
background-color: transparent;
630606
color: black;
631607
border: none;
632-
padding: 1px 0 0 20px;
633-
margin-left:10px;
634-
margin-top:5px;
635608
float: left;
636609
cursor:pointer;
637-
background-size:16px 16px;
638-
background-repeat:no-repeat;
639-
background-position: left center;
640610
vertical-align: middle;
641611
}
642612

@@ -645,41 +615,14 @@ body * {
645615
outline: 1px dotted #aaa;
646616
}
647617

648-
.entry-toolbar .entry-starr {
649-
background-image:url(images/unstarred.png);
650-
}
651-
652-
.entry-toolbar .entry-starr.active {
653-
background-image:url(images/starred.png);
654-
}
655-
656-
.entry-toolbar .entry-unread {
657-
background-image:url(images/read.png);
658-
}
659-
660-
.entry-toolbar .entry-unread.active {
661-
background-image:url(images/unread.png);
662-
}
663-
664618
.entry-toolbar .entry-loadimages {
665619
display:none;
666-
background-image:url(images/arrow-down.png);
667-
}
668-
669-
.entry-newwindow {
670-
background-image:url(images/open.png);
671620
}
672621

673622
.entry-next {
674-
background-image:url(images/arrow-right.png);
675623
display:none;
676624
}
677625

678-
.entry-smartphone-share .entry-share,
679-
.entry-toolbar .entry-share {
680-
padding: 0;
681-
}
682-
683626
.entry-toolbar .entry-close {
684627
display:none;
685628
width:32px;
@@ -689,8 +632,6 @@ body * {
689632
left:100%;
690633
top:0;
691634
margin-left:-60px;
692-
background:url(images/close.png) center center no-repeat;
693-
background-size: 28px 28px;
694635
}
695636

696637

@@ -1200,13 +1141,8 @@ body.authenabled.loggedin #nav-logout {
12001141

12011142
#nav-mobile-settings {
12021143
position:absolute;
1203-
width:29px;
1204-
height:29px;
1205-
left:100%;
1206-
margin-left:-66px;
1207-
background:url(images/nav-mobile-settings.png) no-repeat center;
1208-
background-size:29px 29px;
1209-
padding:11px 21px 11px 15px;
1144+
top: 8px;
1145+
right: 8px;
12101146
}
12111147

12121148
#nav {
@@ -1397,8 +1333,8 @@ body.authenabled.loggedin #nav-logout {
13971333
}
13981334

13991335
.entry-smartphone-share button {
1400-
margin-right:10px;
1401-
margin-bottom:5px;
1336+
padding-top: 0.5em;
1337+
padding-bottom: 0.5em;
14021338
list-style:none;
14031339
display:block;
14041340
}

public/images/arrow-down.png

-340 Bytes
Binary file not shown.

public/images/arrow-right.png

-342 Bytes
Binary file not shown.

public/images/close.png

-1.12 KB
Binary file not shown.

public/images/delicious.png

-201 Bytes
Binary file not shown.

public/images/facebook.png

-606 Bytes
Binary file not shown.

public/images/googleplus.png

-1.39 KB
Binary file not shown.

public/images/mail.png

-1.19 KB
Binary file not shown.

public/images/nav-login.png

-1.53 KB
Binary file not shown.

0 commit comments

Comments
 (0)