mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-09 21:45:26 +00:00
MODULE-TYPO
- Sass set-up - md-list - md-theming (install)
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
/**
|
||||
*
|
||||
* Button
|
||||
*
|
||||
**/
|
||||
|
||||
.button {
|
||||
display: inline-block;
|
||||
padding: (($lineHeight / 2) - 1) 32px;
|
||||
margin-bottom: $lineHeight / 2;
|
||||
margin-top: $lineHeight / 2;
|
||||
min-height: $lineHeight;
|
||||
|
||||
text-align: center;
|
||||
|
||||
font-family: $fontHighlight;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
|
||||
outline: 0;
|
||||
|
||||
transition: none;
|
||||
|
||||
&:hover {
|
||||
background: #4d4d4d;
|
||||
color: #ffffff;
|
||||
border: 1px solid #4d4d4d;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
// Mixin to create buttons
|
||||
@mixin style-button($color, $textColor, $isInverted: false) {
|
||||
|
||||
background: $color;
|
||||
color: $textColor;
|
||||
border: 1px solid darken($color, 10%);
|
||||
|
||||
@if $isInverted { border-color: transparent;}
|
||||
}
|
||||
|
||||
|
||||
.button--primary {
|
||||
@extend .button;
|
||||
@include style-button(#4285f4, #ffffff);
|
||||
}
|
||||
|
||||
.button--secondary {
|
||||
@extend .button;
|
||||
@include style-button(#ffffff, $colorBlue);
|
||||
}
|
||||
|
||||
.button--secondary-variation {
|
||||
@extend .button;
|
||||
@include style-button(#ffffff, $colorBlue, true);
|
||||
}
|
||||
Reference in New Issue
Block a user