add api icon

This commit is contained in:
Lisa Passing 2015-06-15 18:15:39 +02:00
parent c299dbc35d
commit eff7d41a06
6 changed files with 38 additions and 3 deletions

View File

@ -50,6 +50,8 @@
width: 1.4em
.icon--env
width: 1.1em
.icon.api
height: 1.5em
@media #{$medium-up}
height: 36px

View File

@ -88,6 +88,12 @@
.icon--grey.pull_request
background-image: inline-image('svg/icon-request-pull.svg')
.icon-api,
.icon.api
background-image: inline-image('svg/api-white.svg')
.icon--grey.api
background-image: inline-image('svg/api-light-grey.svg')
.icon-lock
background-image: inline-image('dashboard/private-icon.svg')

View File

@ -105,21 +105,22 @@
height: 100%
border-top-left-radius: 4px
border-bottom-left-radius: 4px
.icon-status
.icon
display: block
.icon-status
width: 1.1em
height: 1.2em
margin: .7em auto 1em
.icon.push
display: block
width: 1.4em
height: 1.1em
margin: -0.2em auto 0
.icon.pull_request
display: block
width: 1.1em
height: 1.6em
margin: -0.5em auto 0
.icon.api
margin: -0.4em 0.75em
.icon--job
@extend %absolute-center
@ -154,6 +155,8 @@
white-space: nowrap
@media #{$xlarge-up}
@include grid-column(5)
.icon.api
margin: -0.2em 0.75em
p.tile-single-line
padding: .7em 0

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 17 12.3" enable-background="new 0 0 17 12.3" xml:space="preserve">
<path fill="#969496" d="M16,3.2h-1.4v-2c0-0.6-0.4-1.1-1-1.1h-3.1c-0.5,0-1,0.5-1,1.1v2H7.2v-2c0-0.6-0.4-1.1-1-1.1H3.2
c-0.5,0-1,0.5-1,1.1v2H1c-0.5,0-1,0.5-1,1.1v6.8c0,0.6,0.4,1.1,1,1.1H16c0.5,0,1-0.5,1-1.1V4.3C17,3.7,16.6,3.2,16,3.2z"/>
</svg>

After

Width:  |  Height:  |  Size: 593 B

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="144.57px" height="215.43px" viewBox="0 0 144.57 215.43" enable-background="new 0 0 144.57 215.43" xml:space="preserve">
<path fill="#D0CFCE" d="M136.066,82.628H124.16V65.619c0-5.103-3.401-9.354-8.504-9.354H89.293c-4.252,0-8.504,4.252-8.504,9.354
v17.009H61.23V65.619c0-5.103-3.402-9.354-8.504-9.354H27.213c-4.252,0-8.504,4.252-8.504,9.354v17.009H8.504
C4.252,82.628,0,86.88,0,91.983v57.828c0,5.103,3.402,9.354,8.504,9.354h127.562c4.252,0,8.504-4.252,8.504-9.354V91.983
C144.57,86.88,141.168,82.628,136.066,82.628z"/>
</svg>

After

Width:  |  Height:  |  Size: 905 B

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 17 12.3" enable-background="new 0 0 17 12.3" xml:space="preserve">
<path fill="#FFFFFF" d="M16,3.2h-1.4v-2c0-0.6-0.4-1.1-1-1.1h-3.1c-0.5,0-1,0.5-1,1.1v2H7.2v-2c0-0.6-0.4-1.1-1-1.1H3.2
c-0.5,0-1,0.5-1,1.1v2H1c-0.5,0-1,0.5-1,1.1v6.8c0,0.6,0.4,1.1,1,1.1H16c0.5,0,1-0.5,1-1.1V4.3C17,3.7,16.6,3.2,16,3.2z"/>
</svg>

After

Width:  |  Height:  |  Size: 593 B