| 1 |
/* ========= INFORMATION ============================ |
| 2 |
- document: Button Generator! |
| 3 |
- author: Wow-Company |
| 4 |
- copyright: 2019 Wow-Company |
| 5 |
- version: 1.0 |
| 6 |
- email: yoda@wow-company.com |
| 7 |
==================================================== */ |
| 8 |
|
| 9 |
/* ======================== |
| 10 |
Reset Button style |
| 11 |
======================== */ |
| 12 |
.btg-button { |
| 13 |
border: none; |
| 14 |
margin: 0; |
| 15 |
padding: 0; |
| 16 |
width: auto; |
| 17 |
overflow: visible; |
| 18 |
|
| 19 |
background: transparent; |
| 20 |
|
| 21 |
/* inherit font & color from ancestor */ |
| 22 |
color: inherit; |
| 23 |
font: inherit; |
| 24 |
|
| 25 |
/* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */ |
| 26 |
line-height: normal; |
| 27 |
|
| 28 |
/* Corrects font smoothing for webkit */ |
| 29 |
-webkit-font-smoothing: inherit; |
| 30 |
-moz-osx-font-smoothing: inherit; |
| 31 |
|
| 32 |
/* Corrects inability to style clickable `input` types in iOS */ |
| 33 |
-webkit-appearance: none; |
| 34 |
} |
| 35 |
|
| 36 |
/* ======================== |
| 37 |
Positions |
| 38 |
======================== */ |
| 39 |
|
| 40 |
.btg-center { |
| 41 |
top: 0; |
| 42 |
right: 0; |
| 43 |
bottom: 0; |
| 44 |
left: 0; |
| 45 |
} |
| 46 |
.btg-topLeft { |
| 47 |
top: 0; |
| 48 |
left: 0; |
| 49 |
} |
| 50 |
.btg-topCenter { |
| 51 |
top: 0; |
| 52 |
left: 0; |
| 53 |
right: 0; |
| 54 |
margin: 0 auto; |
| 55 |
} |
| 56 |
.btg-topRight { |
| 57 |
top: 0; |
| 58 |
right: 0; |
| 59 |
} |
| 60 |
.btg-bottomLeft { |
| 61 |
bottom: 0; |
| 62 |
left: 0; |
| 63 |
} |
| 64 |
.btg-bottomCenter { |
| 65 |
bottom: 0; |
| 66 |
left: 0; |
| 67 |
right: 0; |
| 68 |
margin: 0 auto; |
| 69 |
} |
| 70 |
.btg-bottomRight { |
| 71 |
bottom: 0; |
| 72 |
right: 0; |
| 73 |
} |
| 74 |
.btg-right { |
| 75 |
top: 0; |
| 76 |
right: 0; |
| 77 |
bottom: 0; |
| 78 |
margin: auto 0; |
| 79 |
} |
| 80 |
.btg-left { |
| 81 |
top: 0; |
| 82 |
left: 0; |
| 83 |
bottom: 0; |
| 84 |
margin: auto 0; |
| 85 |
} |
| 86 |
|
| 87 |
/* ======================== |
| 88 |
Rotate |
| 89 |
======================== */ |
| 90 |
.btg-rotate-90 { |
| 91 |
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)"; |
| 92 |
-webkit-transform: rotate(90deg); |
| 93 |
transform: rotate(90deg); |
| 94 |
} |
| 95 |
|
| 96 |
.btg-rotate-180 { |
| 97 |
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"; |
| 98 |
-webkit-transform: rotate(180deg); |
| 99 |
transform: rotate(180deg); |
| 100 |
} |
| 101 |
|
| 102 |
.btg-rotate-270 { |
| 103 |
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"; |
| 104 |
-webkit-transform: rotate(270deg); |
| 105 |
transform: rotate(270deg); |
| 106 |
} |