Skip to content

Commit

Permalink
💚 Fixed Codeclimate issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick committed Jan 28, 2018
1 parent 8371971 commit 395d626
Show file tree
Hide file tree
Showing 9 changed files with 53 additions and 52 deletions.
2 changes: 1 addition & 1 deletion src/components/datePicker/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
position: relative;

i {
position: absolute;
pointer-events: none;
position: absolute;
right: 5px;
top: 50%;
transform: translateY(-50%);
Expand Down
22 changes: 11 additions & 11 deletions src/components/formItem/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
}

select {
-moz-appearance: none;
-webkit-appearance: none;
background: var(--input-color);
// border: 1px solid var(--main-color);
border: 0;
border-radius: 0;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
font-size: 15px;
line-height: 1.5em;
padding: 0.5em 3.5em 0.5em 1em;
margin-top: 5px;
margin-bottom: 5px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: none;
-moz-appearance: none;
margin-top: 5px;
padding: .5em 3.5em .5em 1em;
}

.select {
Expand All @@ -41,12 +41,12 @@
background-position:
calc(100% - 20px) calc(1em + 2px),
calc(100% - 15px) calc(1em + 2px),
calc(100% - 2.5em) 0.5em;
calc(100% - 2.5em) .5em;
background-repeat: no-repeat;
background-size:
5px 5px,
5px 5px,
1px 1.5em;
background-repeat: no-repeat;
}

.select:focus {
Expand All @@ -57,12 +57,12 @@
background-position:
calc(100% - 15px) 1em,
calc(100% - 20px) 1em,
calc(100% - 2.5em) 0.5em;
calc(100% - 2.5em) .5em;
background-repeat: no-repeat;
background-size:
5px 5px,
5px 5px,
1px 1.5em;
background-repeat: no-repeat;
border-color: var(--main-color);
outline: 0;
}
Expand Down
3 changes: 2 additions & 1 deletion src/components/linkRequestButton/style.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.linkDiv{
.linkDiv {
display: flex;
justify-content: flex-end;
}

.linkRequest {
background: var(--main-color);
border: 0;
Expand Down
20 changes: 10 additions & 10 deletions src/routes/add/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,19 @@
}

select {
-moz-appearance: none;
-webkit-appearance: none;
background: var(--input-color);
border: 0;
border-radius: 0;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
font-size: 15px;
line-height: 1.5em;
padding: 0.5em 3.5em 0.5em 1em;
margin-bottom: 5px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: none;
-moz-appearance: none;
padding: .5em 3.5em .5em 1em;
}

.select {
Expand All @@ -68,12 +68,12 @@
background-position:
calc(100% - 20px) calc(1em + 2px),
calc(100% - 15px) calc(1em + 2px),
calc(100% - 2.5em) 0.5em;
calc(100% - 2.5em) .5em;
background-repeat: no-repeat;
background-size:
5px 5px,
5px 5px,
1px 1.5em;
background-repeat: no-repeat;
}

.select:focus {
Expand All @@ -84,12 +84,12 @@
background-position:
calc(100% - 15px) 1em,
calc(100% - 20px) 1em,
calc(100% - 2.5em) 0.5em;
calc(100% - 2.5em) .5em;
background-repeat: no-repeat;
background-size:
5px 5px,
5px 5px,
1px 1.5em;
background-repeat: no-repeat;
border-color: var(--main-color);
outline: 0;
}
Expand Down
22 changes: 11 additions & 11 deletions src/routes/addMedia/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,21 @@
}

select {
-moz-appearance: none;
-webkit-appearance: none;
background: var(--input-color);
// border: 1px solid var(--main-color);
border: 0;
border-radius: 0;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
font-size: 15px;
line-height: 1.5em;
padding: 0.5em 3.5em 0.5em 1em;
margin-top: 5px;
margin-bottom: 5px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: none;
-moz-appearance: none;
margin-top: 5px;
padding: .5em 3.5em .5em 1em;
}

.select {
Expand All @@ -81,12 +81,12 @@
background-position:
calc(100% - 20px) calc(1em + 2px),
calc(100% - 15px) calc(1em + 2px),
calc(100% - 2.5em) 0.5em;
calc(100% - 2.5em) .5em;
background-repeat: no-repeat;
background-size:
5px 5px,
5px 5px,
1px 1.5em;
background-repeat: no-repeat;
}

.select:focus {
Expand All @@ -97,12 +97,12 @@
background-position:
calc(100% - 15px) 1em,
calc(100% - 20px) 1em,
calc(100% - 2.5em) 0.5em;
calc(100% - 2.5em) .5em;
background-repeat: no-repeat;
background-size:
5px 5px,
5px 5px,
1px 1.5em;
background-repeat: no-repeat;
border-color: var(--main-color);
outline: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion src/routes/edit/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@
position: relative;

i {
position: absolute;
pointer-events: none;
position: absolute;
right: 5px;
top: 72.5%;
transform: translateY(-50%);
Expand Down
24 changes: 12 additions & 12 deletions src/routes/editMedia/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,21 @@
}

select {
-moz-appearance: none;
-webkit-appearance: none;
background: var(--input-color);
// border: 1px solid var(--main-color);
border: 0;
border-radius: 0;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
font-size: 15px;
line-height: 1.5em;
padding: 0.5em 3.5em 0.5em 1em;
margin-top: 5px;
margin-bottom: 5px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: none;
-moz-appearance: none;
margin-top: 5px;
padding: .5em 3.5em .5em 1em;
}

.select {
Expand All @@ -70,12 +70,12 @@ select {
background-position:
calc(100% - 20px) calc(1em + 2px),
calc(100% - 15px) calc(1em + 2px),
calc(100% - 2.5em) 0.5em;
calc(100% - 2.5em) .5em;
background-repeat: no-repeat;
background-size:
5px 5px,
5px 5px,
1px 1.5em;
background-repeat: no-repeat;
}

.select:focus {
Expand All @@ -86,12 +86,12 @@ select {
background-position:
calc(100% - 15px) 1em,
calc(100% - 20px) 1em,
calc(100% - 2.5em) 0.5em;
calc(100% - 2.5em) .5em;
background-repeat: no-repeat;
background-size:
5px 5px,
5px 5px,
1px 1.5em;
background-repeat: no-repeat;
border-color: var(--main-color);
outline: 0;
}
Expand Down Expand Up @@ -207,8 +207,8 @@ select:-moz-focusring {
position: relative;

i {
position: absolute;
pointer-events: none;
position: absolute;
right: 5px;
top: 72.5%;
transform: translateY(-50%);
Expand Down
2 changes: 1 addition & 1 deletion src/routes/login/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
> div {

label {
color: white;
color: var(--input-color);
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/style/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
*/

:root {
--main-purple: #cc3399;
--input-color: #fff;
--main-bg-color: #f2f2f2;
--main-blue: #009ba4;
--main-color: #666666;
--medium-gray: #999999;
--main-color: #666;
--main-light-color: #e2e2e2;
--input-color: #ffffff;
--main-purple: #c39;
--medium-gray: #999;
}

html,
Expand Down

0 comments on commit 395d626

Please sign in to comment.