mirror of
https://github.com/kremalicious/blog.git
synced 2024-09-24 01:58:50 +02:00
button fixes
This commit is contained in:
parent
f0868e9f72
commit
781ba9fb0b
@ -18,6 +18,7 @@ button
|
|||||||
text-shadow: none
|
text-shadow: none
|
||||||
|
|
||||||
.btn
|
.btn
|
||||||
|
a.btn
|
||||||
@extend .textcenter
|
@extend .textcenter
|
||||||
display: inline-block
|
display: inline-block
|
||||||
margin-bottom: 0
|
margin-bottom: 0
|
||||||
@ -47,8 +48,9 @@ button
|
|||||||
background-color: rgba(255,255,255,.5)
|
background-color: rgba(255,255,255,.5)
|
||||||
|
|
||||||
&:active
|
&:active
|
||||||
|
color: $brand-grey
|
||||||
|
border-color: rgba(94,131,162,.3)
|
||||||
background-color: transparent
|
background-color: transparent
|
||||||
border-top-color: rgba(94,131,162,.5)
|
|
||||||
box-shadow: 0 1px 0 #fff
|
box-shadow: 0 1px 0 #fff
|
||||||
transition: none
|
transition: none
|
||||||
|
|
||||||
@ -79,7 +81,8 @@ button
|
|||||||
margin-left: .3em
|
margin-left: .3em
|
||||||
|
|
||||||
// Primary Button
|
// Primary Button
|
||||||
.btn-primary
|
.btn-primary,
|
||||||
|
a.btn-primary
|
||||||
color: darken($link-color, 50%)
|
color: darken($link-color, 50%)
|
||||||
text-shadow: 0 1px 0 rgba(255,255,255,.3)
|
text-shadow: 0 1px 0 rgba(255,255,255,.3)
|
||||||
background: lighten($link-color, 15%)
|
background: lighten($link-color, 15%)
|
||||||
@ -94,8 +97,8 @@ button
|
|||||||
|
|
||||||
&:active
|
&:active
|
||||||
color: darken($link-color, 50%)
|
color: darken($link-color, 50%)
|
||||||
|
border-color: darken($link-color, 10%)
|
||||||
background-color: lighten($link-color, 15%)
|
background-color: lighten($link-color, 15%)
|
||||||
box-shadow: 0 1px 0 #fff, inset 0 2px 5px rgba(43,100,92,.5)
|
|
||||||
|
|
||||||
.more-link
|
.more-link
|
||||||
font-family: $headings-font-family
|
font-family: $headings-font-family
|
||||||
|
@ -21,3 +21,14 @@ svg
|
|||||||
// Fix jQuery bug: http://bugs.jquery.com/ticket/11352
|
// Fix jQuery bug: http://bugs.jquery.com/ticket/11352
|
||||||
use
|
use
|
||||||
pointer-events: none
|
pointer-events: none
|
||||||
|
|
||||||
|
//
|
||||||
|
// some helper classes for old content
|
||||||
|
//
|
||||||
|
// .btn.icon-download
|
||||||
|
// &:before
|
||||||
|
// content: ""
|
||||||
|
// width: 20px
|
||||||
|
// height: 20px
|
||||||
|
// display: inline-block
|
||||||
|
// background: url('/assets/img/entypo-arrow-with-circle-down.svg') no-repeat center center
|
||||||
|
@ -209,6 +209,7 @@ gulp.task('icons', function() {
|
|||||||
.pipe($.rename({ prefix: iconset.prefix }))
|
.pipe($.rename({ prefix: iconset.prefix }))
|
||||||
.pipe(gulp.dest(iconset.dist))
|
.pipe(gulp.dest(iconset.dist))
|
||||||
.pipe($.filter('**/*.svg'))
|
.pipe($.filter('**/*.svg'))
|
||||||
|
.pipe($.imagemin({ svgoPlugins: [{ removeViewBox: false }] }))
|
||||||
.pipe($.svgSprite(spriteConfig))
|
.pipe($.svgSprite(spriteConfig))
|
||||||
.pipe(gulp.dest(iconset.dist))
|
.pipe(gulp.dest(iconset.dist))
|
||||||
});
|
});
|
||||||
@ -374,7 +375,7 @@ gulp.task('build', function(cb) {
|
|||||||
'revision',
|
'revision',
|
||||||
'revision-replace',
|
'revision-replace',
|
||||||
'cdn',
|
'cdn',
|
||||||
//'imagemin',
|
'imagemin',
|
||||||
cb
|
cb
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user