Browse Source

Refactor properties.

pull/536/head
XhmikosR 11 years ago
parent
commit
fba29ee4eb
  1. 6
      docs/assets/css/docs.css
  2. 2
      docs/assets/css/docs.min.css
  3. 12
      sass/docs.scss
  4. 12
      sass/mixins.scss

6
docs/assets/css/docs.css

@ -58,13 +58,13 @@ body {
.docs-sub-header { .docs-sub-header {
position: relative; position: relative;
background-color: #0a1855; background-color: #0a1855;
background-image: -moz-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
background-image: -webkit-gradient(linear, left bottom, right top, color-stop(0%, #0a1855), color-stop(100%, #da0024)); background-image: -webkit-gradient(linear, left bottom, right top, color-stop(0%, #0a1855), color-stop(100%, #da0024));
background-image: -webkit-linear-gradient(45deg, #0a1855 0%, #da0024 100%); background-image: -webkit-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
background-image: -o-linear-gradient(45deg, #0a1855 0%, #da0024 100%); background-image: -moz-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
background-image: -ms-linear-gradient(45deg, #0a1855 0%, #da0024 100%); background-image: -ms-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
background-image: -o-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
background-image: linear-gradient(45deg, #0a1855 0%, #da0024 100%); background-image: linear-gradient(45deg, #0a1855 0%, #da0024 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0a1855', endColorstr='#da0024',GradientType=1 ); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0a1855', endColorstr='#da0024', GradientType=1 );
} }
.docs-header { .docs-header {

2
docs/assets/css/docs.min.css vendored

File diff suppressed because one or more lines are too long

12
sass/docs.scss

@ -64,13 +64,13 @@ body {
.docs-sub-header { .docs-sub-header {
position: relative; position: relative;
background-color: #0a1855; background-color: #0a1855;
background-image: -moz-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
background-image: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#0a1855), color-stop(100%,#da0024)); background-image: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#0a1855), color-stop(100%,#da0024));
background-image: -webkit-linear-gradient(45deg, #0a1855 0%,#da0024 100%); background-image: -webkit-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
background-image: -o-linear-gradient(45deg, #0a1855 0%,#da0024 100%); background-image: -moz-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
background-image: -ms-linear-gradient(45deg, #0a1855 0%,#da0024 100%); background-image: -ms-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
background-image: linear-gradient(45deg, #0a1855 0%,#da0024 100%); background-image: -o-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a1855', endColorstr='#da0024',GradientType=1 ); background-image: linear-gradient(45deg, #0a1855 0%, #da0024 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a1855', endColorstr='#da0024', GradientType=1 );
} }
.docs-header { .docs-header {
height: 100vh; height: 100vh;

12
sass/mixins.scss

@ -39,12 +39,12 @@
// Gradients // Gradients
@mixin gradient($color-form, $color-to) { @mixin gradient($color-form, $color-to) {
background-color: $color-form; // Old browsers background-color: $color-form; // Old browsers
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$color-form), color-stop(100%,$color-to)); // Chrome,Safari4+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$color-form), color-stop(100%,$color-to)); // Chrome, Safari4+
background-image: -webkit-linear-gradient(top, $color-form 0%, $color-to 100%); // Chrome10+,Safari5.1+ background-image: -webkit-linear-gradient(top, $color-form 0%, $color-to 100%); // Chrome10+, Safari5.1+
background-image: -moz-linear-gradient(top, $color-form 0%, $color-to 100%); // FF3.6+ background-image: -moz-linear-gradient(top, $color-form 0%, $color-to 100%); // FF3.6+
background-image: -ms-linear-gradient(top, $color-form 0%, $color-to 100%); // IE10+ background-image: -ms-linear-gradient(top, $color-form 0%, $color-to 100%); // IE10+
background-image: -o-linear-gradient(top, $color-form 0%, $color-to 100%); // Opera 11.10+ background-image: -o-linear-gradient(top, $color-form 0%, $color-to 100%); // Opera 11.10+
background-image: linear-gradient(to bottom, $color-form 0%, $color-to 100%); // W3C background-image: linear-gradient(to bottom, $color-form 0%, $color-to 100%); // W3C
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$color-form', endColorstr='$color-to', GradientType=0 ); // IE6-9 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$color-form', endColorstr='$color-to', GradientType=0 ); // IE6-9
} }

Loading…
Cancel
Save