Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
remove vendor-prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Jan 8, 2016
1 parent 6171124 commit 10f1428
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 62 deletions.
64 changes: 32 additions & 32 deletions dist/css/m8tro.css
Original file line number Diff line number Diff line change
Expand Up @@ -8237,49 +8237,49 @@ input[type=range]::-ms-thumb {
}
::-moz-selection {
color: #000;
background-color: #fff;
background: #fff;
}
::selection {
color: #000;
background-color: #fff;
background: #fff;
}
.text-primary::-moz-selection {
color: #000;
background-color: #00b3b5;
.text-primary::-moz-selection,
.text-primary a::-moz-selection {
background: #00b3b5;
}
.text-primary::selection {
color: #000;
background-color: #00b3b5;
.text-primary::selection,
.text-primary a::selection {
background: #00b3b5;
}
.text-success::-moz-selection {
color: #000;
background-color: #80c342;
.text-success::-moz-selection,
.text-success a::-moz-selection {
background: #80c342;
}
.text-success::selection {
color: #000;
background-color: #80c342;
.text-success::selection,
.text-success a::selection {
background: #80c342;
}
.text-info::-moz-selection {
color: #000;
background-color: #3c9cd6;
.text-info::-moz-selection,
.text-info a::-moz-selection {
background: #3c9cd6;
}
.text-info::selection {
color: #000;
background-color: #3c9cd6;
.text-info::selection,
.text-info a::selection {
background: #3c9cd6;
}
.text-warning::-moz-selection {
color: #000;
background-color: #faa61a;
.text-warning::-moz-selection,
.text-warning a::-moz-selection {
background: #faa61a;
}
.text-warning::selection {
color: #000;
background-color: #faa61a;
.text-warning::selection,
.text-warning a::selection {
background: #faa61a;
}
.text-danger::-moz-selection {
color: #000;
background-color: #ed1c24;
.text-danger::-moz-selection,
.text-danger a::-moz-selection {
background: #ed1c24;
}
.text-danger::selection {
color: #000;
background-color: #ed1c24;
.text-danger::selection,
.text-danger a::selection {
background: #ed1c24;
}
2 changes: 1 addition & 1 deletion dist/css/m8tro.min.css

Large diffs are not rendered by default.

64 changes: 35 additions & 29 deletions src/themes/m8tro/pseudo/selection.less
Original file line number Diff line number Diff line change
@@ -1,29 +1,35 @@
::selection {
color: @body-bg;
background-color: @text-color;
}

.text-primary::selection {
color: @body-bg;
background-color: @brand-primary;
}

.text-success::selection {
color: @body-bg;
background-color: @brand-success;
}

.text-info::selection {
color: @body-bg;
background-color: @brand-info;
}

.text-warning::selection {
color: @body-bg;
background-color: @brand-warning;
}

.text-danger::selection {
color: @body-bg;
background-color: @brand-danger;
}

::selection {
color: @body-bg;
background: @text-color;
}

.text-primary, .text-primary a {
&::selection {
background: @brand-primary;
}
}

.text-success, .text-success a{
&::selection {
background: @brand-success;
}
}

.text-info, .text-info a{
&::selection {
background: @brand-info;
}
}

.text-warning, .text-warning a {
&::selection {
background: @brand-warning;
}
}

.text-danger, .text-danger a{
&::selection {
background: @brand-danger;
}
}

0 comments on commit 10f1428

Please sign in to comment.