Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(353)

Side by Side Diff: templates/web-full/web/styles/components/_components/_button.scss

Issue 261330043: update changelog (Closed) Base URL: git@github.com:google/stagehand.git@master
Patch Set: remove drone script Created 9 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /**
2 *
3 * Button
4 *
5 **/
6
7 .button {
8 display: inline-block;
9 padding: (($lineHeight / 2) - 1) 32px;
10 margin-bottom: $lineHeight / 2;
11 margin-top: $lineHeight / 2;
12 min-height: $lineHeight;
13
14 text-align: center;
15
16 font-family: $fontHighlight;
17 font-weight: 600;
18 text-decoration: none;
19
20 outline: 0;
21
22 transition: none;
23
24 &:hover {
25 background: #4d4d4d;
26 color: #ffffff;
27 border: 1px solid #4d4d4d;
28 text-decoration: none;
29 }
30 }
31
32 // Mixin to create buttons
33 @mixin style-button($color, $textColor, $isInverted: false) {
34
35 background: $color;
36 color: $textColor;
37 border: 1px solid darken($color, 10%);
38
39 @if $isInverted { border-color: transparent;}
40 }
41
42 .button--primary {
43 @extend .button;
44 @include style-button(#4285f4, #ffffff);
45 }
46
47 .button--secondary {
48 @extend .button;
49 @include style-button(#ffffff, $colorBlue);
50 }
51
52 .button--secondary-variation {
53 @extend .button;
54 @include style-button(#ffffff, $colorBlue, true);
55 }
OLDNEW

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b