Commit 6c0eea63 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Fix scss_lint offenses in repo, variables and layout sheets

parent c42aa99b
...@@ -120,6 +120,7 @@ of the body element here, we negate cascading side effects but allow momentum sc ...@@ -120,6 +120,7 @@ of the body element here, we negate cascading side effects but allow momentum sc
.page-with-sidebar { .page-with-sidebar {
-webkit-overflow-scrolling: auto; -webkit-overflow-scrolling: auto;
} }
.truncate { .truncate {
width: 250px; width: 250px;
white-space: nowrap; white-space: nowrap;
......
...@@ -587,3 +587,10 @@ Convdev Index ...@@ -587,3 +587,10 @@ Convdev Index
$color-high-score: $green-400; $color-high-score: $green-400;
$color-average-score: $orange-400; $color-average-score: $orange-400;
$color-low-score: $red-400; $color-low-score: $red-400;
/*
Repo editor
*/
$repo-editor-grey: #f6f7f9;
$repo-editor-grey-darker: #e9ebee;
$repo-editor-linear-gradient: linear-gradient(to right, $repo-editor-grey 0%, $repo-editor-grey-darker, 20%, $repo-editor-grey 40%, $repo-editor-grey 100%);
...@@ -2,12 +2,14 @@ ...@@ -2,12 +2,14 @@
display: none; display: none;
} }
.fade-enter-active, .fade-leave-active { .fade-enter-active,
transition: opacity .5s .fade-leave-active {
transition: opacity .5s;
} }
.fade-enter, .fade-leave-to /* .fade-leave-active in <2.1.8 */ { .fade-enter,
opacity: 0 .fade-leave-to /* .fade-leave-active in <2.1.8 */ {
opacity: 0;
} }
.commit-message { .commit-message {
...@@ -19,34 +21,35 @@ ...@@ -19,34 +21,35 @@
border-radius: $border-radius-default; border-radius: $border-radius-default;
color: $almost-black; color: $almost-black;
header { header {
background: $gray-light; background: $gray-light;
padding: 10px 15px; padding: 10px 15px;
} }
.panel-right{ .panel-right {
display: inline-block; display: inline-block;
width: 85%; width: 85%;
.monaco-editor.vs { .monaco-editor.vs {
.line-numbers{ .line-numbers {
cursor: pointer; cursor: pointer;
&:hover { &:hover {
text-decoration: underline; text-decoration: underline;
} }
} }
.cursor { .cursor {
background: rgba(255,255,255,0); background: $black;
border-color: rgba(255,255,255,0); border-color: $black;
} }
} }
&.edit-mode { &.edit-mode {
.monaco-editor.vs { .monaco-editor.vs {
.cursor { .cursor {
background: #000; background: $black;
border-color: #000; border-color: $black;
} }
} }
} }
...@@ -63,7 +66,7 @@ header { ...@@ -63,7 +66,7 @@ header {
overflow-x: scroll; overflow-x: scroll;
li { li {
-webkit-animation: fadein 0.5s; animation: fadein 0.5s;
list-style-type: none; list-style-type: none;
background: $gray-normal; background: $gray-normal;
display: inline-block; display: inline-block;
...@@ -76,10 +79,11 @@ header { ...@@ -76,10 +79,11 @@ header {
} }
a { a {
color: black; color: $black;
} }
i.fa.fa-times, i.fa.fa-circle { i.fa.fa-times,
i.fa.fa-circle {
float: right; float: right;
margin-top: 3px; margin-top: 3px;
margin-left: 15px; margin-left: 15px;
...@@ -87,6 +91,7 @@ header { ...@@ -87,6 +91,7 @@ header {
} }
} }
} }
#ide { #ide {
height: 70vh; height: 70vh;
} }
...@@ -109,29 +114,29 @@ header { ...@@ -109,29 +114,29 @@ header {
padding-left: 20px; padding-left: 20px;
} }
} }
} }
#commit-area { #commit-area {
background: $gray-light; background: $gray-light;
padding: 20px; padding: 20px;
} }
#view-toggler { #view-toggler {
height: 41px; height: 41px;
position: relative; position: relative;
display: block; display: block;
border-bottom: 1px solid $white-normal; border-bottom: 1px solid $white-normal;
background: white; background: $white-light;
margin-top: -5px; margin-top: -5px;
} }
#binary-viewer { #binary-viewer {
img { img {
max-width: 100%; max-width: 100%;
} }
} }
#sidebar { #sidebar {
&.sidebar-mini { &.sidebar-mini {
display: inline-block; display: inline-block;
...@@ -143,14 +148,14 @@ header { ...@@ -143,14 +148,14 @@ header {
} }
tr { tr {
-webkit-animation: fadein 0.5s; animation: fadein 0.5s;
&.repo-file-options td { &.repo-file-options td {
padding: 0; padding: 0;
border-top: none; border-top: none;
background: $gray-light; background: $gray-light;
width: 190px; width: 190px;
display: inline-block; display: inline-block;
border-top: none;
&:hover { &:hover {
.title { .title {
...@@ -176,6 +181,7 @@ header { ...@@ -176,6 +181,7 @@ header {
vertical-align: middle; vertical-align: middle;
padding: 2px 16px; padding: 2px 16px;
} }
ul { ul {
display: none; display: none;
float: right; float: right;
...@@ -184,11 +190,12 @@ header { ...@@ -184,11 +190,12 @@ header {
li { li {
display: inline-block; display: inline-block;
padding: 0px 2px; padding: 0 2px;
border-bottom: none; border-bottom: none;
} }
} }
} }
.fa { .fa {
margin-right: 5px; margin-right: 5px;
} }
...@@ -211,18 +218,19 @@ header { ...@@ -211,18 +218,19 @@ header {
a { a {
color: $almost-black; color: $almost-black;
} }
.fa { .fa {
font-size: $code_font_size; font-size: $code_font_size;
margin-right: 5px; margin-right: 5px;
} }
} }
} }
} }
} }
.animation-container { .animation-container {
background: #f6f7f9; background: $repo-editor-grey;
height: 40px; height: 40px;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
...@@ -232,12 +240,12 @@ header { ...@@ -232,12 +240,12 @@ header {
} }
&::before { &::before {
-webkit-animation-duration: 1s; animation-duration: 1s;
-webkit-animation-fill-mode: forwards; animation-fill-mode: forwards;
-webkit-animation-iteration-count: infinite; animation-iteration-count: infinite;
-webkit-animation-name: blockTextShine; animation-name: blockTextShine;
-webkit-animation-timing-function: linear; animation-timing-function: linear;
background-image: linear-gradient(to right, #f6f7f9 0%, #e9ebee 20%, #f6f7f9 40%, #f6f7f9 100%); background-image: $repo-editor-linear-gradient;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 800px 45px; background-size: 800px 45px;
content: ' '; content: ' ';
...@@ -247,11 +255,11 @@ header { ...@@ -247,11 +255,11 @@ header {
} }
div { div {
background: #fff; background: $white-light;
height: 6px; height: 6px;
left: 0; left: 0;
position: absolute; position: absolute;
right: 0 right: 0;
} }
.line-of-code-1 { .line-of-code-1 {
...@@ -261,7 +269,7 @@ header { ...@@ -261,7 +269,7 @@ header {
.line-of-code-2 { .line-of-code-2 {
left: 150px; left: 150px;
top: 0px; top: 0;
height: 10px; height: 10px;
} }
...@@ -288,16 +296,22 @@ header { ...@@ -288,16 +296,22 @@ header {
} }
} }
@-webkit-keyframes blockTextShine { @keyframes blockTextShine {
0% { 0% {
transform: translateX(-468px) transform: translateX(-468px);
} }
100% { 100% {
transform: translateX(468px) transform: translateX(468px);
} }
} }
@-webkit-keyframes fadein { @keyframes fadein {
from { opacity: 0; } from {
to { opacity: 1; } opacity: 0;
}
to {
opacity: 1;
}
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment