PluginProbe
Social Share Buttons / 0.9
Social Share Buttons v0.9
trunk 0.9 1.0 1.1 1.1.1 1.1.2 1.10 1.11 1.12 1.15 1.16 1.17 1.18 1.19 1.2 1.20 1.3 1.30 1.4 1.5 1.6 1.7 1.8 1.9
share-button / scss / _variables.scss

_variables.scss in Social Share Buttons 0.9, at scss/_variables.scss

126 lines 2.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @mixin socialcolors($target : 'a') {
2
3 &.facebook #{$target} {
4 @include autoBgColor(#3b5998);
5 }
6 &.twitter #{$target} {
7 @include autoBgColor(#00aced);
8 }
9 &.googleplus #{$target} {
10 @include autoBgColor( #dd4b39 );
11 }
12 &.linkedin #{$target} {
13 @include autoBgColor( #007bb6 );
14 }
15 &.youtube #{$target} {
16 @include autoBgColor( #bb0000 );
17 }
18 &.instagram #{$target} {
19 @include autoBgColor( #517fa4 );
20 }
21 &.flickr #{$target} {
22 @include autoBgColor( #ff0084 );
23 }
24 &.thumblr #{$target} {
25 @include autoBgColor( #32506d );
26 }
27 &.pinterest #{$target} {
28 @include autoBgColor( #cb2027 );
29 }
30 &.email #{$target}, &.print #{$target} {
31 @include autoBgColor( #5e5e5e );
32 }
33 &.vkontakte #{$target} {
34 @include autoBgColor( #4c75a3 );
35 }
36 &.digg #{$target} {
37 @include autoBgColor( #000 );
38 }
39 &.blogloving #{$target} {
40 @include autoBgColor( #000 );
41 }
42 &.stumbleupon #{$target} {
43 @include autoBgColor(#eb4924);
44 }
45 &.reddit #{$target} {
46 @include autoBgColor(#ff4500);
47 }
48 &.whatsapp #{$target} {
49 @include autoBgColor( #4dc247 );
50 }
51 &.buffer #{$target} {
52 @include autoBgColor ( #242424);
53 }
54
55
56 }
57
58 @mixin autoBgColor($baseColor)
59 {
60 background-color: $baseColor;
61
62 &:hover
63 {
64 background-color: darken($baseColor, 10%);
65 }
66 }
67
68 @mixin transition($transition: .5s)
69 {
70
71 -o-transition: $transition;
72 -ms-transition: $transition;
73 -moz-transition: $transition;
74 -webkit-transition: $transition;
75 /* ...and now for the proper property */
76 transition: $transition;
77 }
78
79 @mixin noboxshadow()
80 {
81 -webkit-box-shadow: none;
82 -moz-box-shadow: none;
83 box-shadow: none;
84
85 }
86
87 @mixin linear-gradient($start:#000,$end:#000,$stop:45%,$important:null)
88 {
89 background: $start $important;
90 -pie-background: linear-gradient($start $stop, $end) $important;
91 background: -webkit-gradient(linear, left top, left bottom, color-stop($stop, $start),
92 color-stop(1, $end)) $important;
93 background: -moz-linear-gradient($start $stop, $end) $important;
94 background: -o-linear-gradient($start $stop, $end) $important;
95 background: linear-gradient( $start $stop, $end) $important;
96
97 //filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#{$start}', endColorStr='#{$end}');
98 }
99
100 @mixin bp($point)
101 {
102 @if $point == 480
103 {
104 @media (max-width: 480px) { @content; }
105 }
106 @else if $point == 640 {
107 @media (max-width: 640px) { @content; }
108 }
109 @else if $point == 780 {
110 @media (max-width: 780px) { @content; }
111 }
112 @else if $point == 800 {
113 @media (max-width: 800px) { @content; }
114 }
115
116 @else if $point == 960 {
117 @media (max-width: 960px) { @content; }
118 }
119 @else if $point == 1024 {
120 @media (max-width: 1024px) { @content; }
121 }
122 @else if $point == 1200 {
123 @media (max-width: 1200px) { @content; }
124 }
125 }
126