mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
Removes files that should belong only to master
This commit is contained in:
54
bower_components/primer-css/scss/_mixins.scss
vendored
Normal file
54
bower_components/primer-css/scss/_mixins.scss
vendored
Normal file
@ -0,0 +1,54 @@
|
||||
// Clearfix
|
||||
//
|
||||
// Clears floats via mixin (avoid using as a class).
|
||||
|
||||
@mixin clearfix {
|
||||
&:before {
|
||||
display: table;
|
||||
content: "";
|
||||
}
|
||||
|
||||
&:after {
|
||||
display: table;
|
||||
clear: both;
|
||||
content: "";
|
||||
}
|
||||
}
|
||||
|
||||
// Creates a linear gradient background, from top to bottom.
|
||||
//
|
||||
// $start - The color hex at the top.
|
||||
// $end - The color hex at the bottom.
|
||||
|
||||
@mixin gradient($start: #fafafa, $end: #eaeaea) {
|
||||
@warn "Gradient mixin is deprecated.";
|
||||
// scss-lint:disable VendorPrefix
|
||||
background-color: $end;
|
||||
// FF 3.6+
|
||||
background-image: -moz-linear-gradient($start, $end);
|
||||
// Safari 5.1+, Chrome 10+
|
||||
background-image: -webkit-linear-gradient($start, $end);
|
||||
background-image: linear-gradient($start, $end);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
// Text hiding for image based text replacement.
|
||||
// Higher performance than -9999px because it only renders
|
||||
// the size of the actual text, not a full 9999px box.
|
||||
|
||||
@mixin hide-text() {
|
||||
overflow: hidden;
|
||||
text-indent: 100%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
// Octicon bootstrap
|
||||
//
|
||||
// Quickly load the typography requirements for Octicons icon font.
|
||||
|
||||
@mixin icon-bootstrap($size) {
|
||||
font: normal normal #{$size}/1 "octicons";
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
Reference in New Issue
Block a user