Skip to content

Commit c632d66

Browse files
author
arnau march
committed
Updated latest shared/style folders from gaia
1 parent e264a8b commit c632d66

File tree

2 files changed

+21
-9
lines changed

2 files changed

+21
-9
lines changed

style/lists.css

+11
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,17 @@ li a:active {
130130
image-rendering: -moz-crisp-edges;
131131
}
132132

133+
[data-type="list"] [data-icon] {
134+
font-size: 0;
135+
}
136+
137+
[data-type="list"] [data-icon]:before {
138+
line-height: 6rem;
139+
text-align: center;
140+
width: 3rem;
141+
color: #333;
142+
}
143+
133144
/* Text content */
134145
[data-type="list"] li p {
135146
white-space: nowrap;

style/lists/index.html

+10-9
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<link rel="stylesheet" href="../../style/headers.css">
1414
<link rel="stylesheet" href="../../style/switches.css">
1515
<link rel="stylesheet" href="../../style/buttons.css">
16+
<link rel="stylesheet" href="../../elements/gaia-icons/style-embedded.css">
1617
<style>
1718
html, body {
1819
margin: 0;
@@ -45,13 +46,13 @@
4546
font-size: 0;
4647
}
4748

48-
[data-type="list"] aside.icon-callout {
49-
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcml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OIETxzW1QHF60mTUCf64tCYOgeWd1NsNV+KNWH4yiuqrTbloQg0sl3ASb5OxYFX2DMi4fOgKp0OPkGI40nKBce8srQ4IN2DQcWuBKegOF0OSPtgQrHrwaWbcKlJlqLk/oBWtvPBEIdP1kgZr/TViQODzykq/w62M0E76OPznyIwAHbZOdXSozqBh2+0ZOrhy8ifZJzJoY0ky4EuJ0GbM0ueqCt8/TpyQLoBNTYXkdQU2KZ7OlkOdAfaCTgDTaDwn7G1INvrsn4uQB1/hcRtxqyDWacrUPXN2zXCxZnDu+wB9HIozV8BBgCRzF4kkpLxhwAAAABJRU5ErkJggg==);
49+
[data-icon]:before {
50+
-webkit-font-smoothing: antialiased;
51+
-moz-osx-font-smoothing: grayscale;
5052
}
5153

52-
[data-type="list"] aside.icon-nopic {
53-
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QkUxNjQwQkQxNUYwMTFFMjk2MkZDOURGRDUxMTgyQzkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QkUxNjQwQkUxNUYwMTFFMjk2MkZDOURGRDUxMTgyQzkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCRTE2NDBCQjE1RjAxMUUyOTYyRkM5REZENTExODJDOSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCRTE2NDBCQzE1RjAxMUUyOTYyRkM5REZENTExODJDOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhHqZXkAAAB7SURBVHjaYvz//z8DNQHjqIEUAyZcEm5+keJUMxBq2BMgnYXHwt9EG7hr0/KXQCofiCfjMZSFJC8DDZ0GpHIJGEq8gUQY+oNkA8lxKRMx3iDFUJLSIdSwyUA8B4jjgBZxkuVCLC5NAWJmoqMeyUX/SQ2u0dJmEBoIEGAA+6FL5hxHUrsAAAAASUVORK5CYII=);
54-
background-position: bottom right;
54+
[data-type="list"] [data-icon="forward"]:before {
55+
color: #686f72;
5556
}
5657

5758
#settings-list { background-color: #eff0eb; }
@@ -73,6 +74,7 @@
7374
</li>
7475
<li>
7576
<a href="#">
77+
<aside class="pack-end" data-icon="forward"></aside>
7678
<p>Margherita Clickable <strong>Gomez</strong></p>
7779
</a>
7880
</li>
@@ -101,7 +103,7 @@
101103
<li>
102104
<aside class="pack-end icon icon-nopic"></aside>
103105
<a href="#">
104-
<aside class="icon icon-callout">
106+
<aside data-icon="call-outgoing">
105107
asidecall
106108
</aside>
107109
<p>
@@ -138,9 +140,8 @@
138140
<input type="checkbox">
139141
<span></span>
140142
</label>
141-
<aside class="pack-end icon icon-nopic"></aside>
142143
<a href="#">
143-
<aside class="icon icon-callout"></aside>
144+
<aside data-icon="call-outgoing"></aside>
144145
<p>
145146
Margherita <strong>Gomez</strong>
146147
<em>(2)</em>
@@ -159,7 +160,7 @@
159160
<ul>
160161
<li>
161162
<a href="#">
162-
<aside class="icon icon-callout"></aside>
163+
<aside data-icon="call-outgoing"></aside>
163164
<p>Phone lock</p>
164165
</a>
165166
</li>

0 commit comments

Comments
 (0)