Copyright and code format

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2017-01-12 19:49:09 +01:00
parent 052eb98c18
commit 0ec6ea5ace
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
1 changed files with 25 additions and 13 deletions

View File

@ -1,20 +1,23 @@
/** /**
* @copyright Copyright (c) 2017, John Molakvoæ (skjnldsv@protonmail.com) * @copyright Copyright (c) 2017, John Molakvoæ (skjnldsv@protonmail.com)
* @copyright Copyright (c) 2016, Lukas Reschke (lukas@statuscode.ch)
* @copyright Copyright (c) 2016, Julius Härtl (jus@bitgrid.net)
* @copyright Copyright (c) 2016, Jos Poortvliet (jospoortvliet@gmail.com)
* *
* @license GNU AGPL version 3 or any later version * @license GNU AGPL version 3 or any later version
* *
*/ */
/* prevent ugly selection effect on accidental selection */ /* prevent ugly selection effect on accidental selection */
#header,
#header, #navigation, #expanddiv { #navigation,
#expanddiv {
-webkit-user-select: none; -webkit-user-select: none;
-moz-user-select: none; -moz-user-select: none;
-ms-user-select: none; -ms-user-select: none;
} }
/* removed until content-focusing issue is fixed */ /* removed until content-focusing issue is fixed */
#skip-to-content a { #skip-to-content a {
position: absolute; position: absolute;
left: -10000px; left: -10000px;
@ -32,7 +35,9 @@
} }
/* HEADERS ------------------------------------------------------------------ */ /* HEADERS ------------------------------------------------------------------ */
#body-user #header, #body-settings #header, #body-public #header { #body-user #header,
#body-settings #header,
#body-public #header {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
@ -215,7 +220,8 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
svg, span { svg,
span {
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)'; -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';
opacity: .5; opacity: .5;
} }
@ -262,7 +268,8 @@
height: initial; height: initial;
margin: 0; margin: 0;
a { a {
svg, span { svg,
span {
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=30)'; -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=30)';
opacity: .3; opacity: .3;
} }
@ -318,17 +325,19 @@
* { * {
cursor: pointer; cursor: pointer;
} }
&:hover, &:focus, &:active {
color: #fff;
}
img { img {
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)'; -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)';
opacity: .7; opacity: .7;
margin-bottom: -2px; margin-bottom: -2px;
} }
&:hover img, &:focus img, &:active img { &:hover,
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)'; &:focus,
opacity: 1; &:active {
color: #fff;
img {
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
opacity: 1;
}
} }
.icon-caret { .icon-caret {
margin-top: 0; margin-top: 0;
@ -392,7 +401,10 @@
margin-bottom: -3px; margin-bottom: -3px;
margin-right: 6px; margin-right: 6px;
} }
&:hover, &:focus, &:active, &.active { &:hover,
&:focus,
&:active,
&.active {
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)'; -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
opacity: 1; opacity: 1;
} }