[ADF-3746] Add style lint rules (#3975)

* add stylelint

* fix style first part

*  fix style second part

*  fix style third part

*  fix style fourth part

* Fix e2e tests first part

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* fix insights

* fix style abotu component

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* [ADF-3746] Rebase branch

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* Fix e2e tests second part

* Rebase branch

* Fix list error

* fix new style added

* tslint fix

* [ADF-3746] Fix scss errors on Process Filters Cloud component
This commit is contained in:
davidcanonieto
2018-11-28 14:43:18 +00:00
committed by Eugenio Romano
parent 5fc03cf26b
commit 1a21f234b6
234 changed files with 2328 additions and 1058 deletions

View File

@@ -7,7 +7,7 @@
bottom: 0;
overflow: hidden;
opacity: 0.2;
line-height: 1.0;
line-height: 1;
border: 1px solid gray;
& > div {
@@ -22,40 +22,40 @@
transform-origin: 0% 0%;
}
.highlight {
.adf-highlight {
margin: -1px;
padding: 1px;
background-color: rgb(180, 0, 170);
border-radius: 4px;
&.begin {
border-radius: 4px 0px 0px 4px;
&.adf-begin {
border-radius: 4px 0 0 4px;
}
&.end {
border-radius: 0px 4px 4px 0px;
&.adf-end {
border-radius: 0 4px 4px 0;
}
&.middle {
border-radius: 0px;
&.adf-middle {
border-radius: 0;
}
&.selected {
&.adf-selected {
background-color: rgb(0, 100, 0);
}
}
&::selection { background: rgb(0,0,255); }
&::-moz-selection { background: rgb(0,0,255); }
&::selection { background: rgb(0, 0, 255); }
&::-moz-selection { background: rgb(0, 0, 255); }
.endOfContent {
.adf-endOfContent {
display: block;
position: absolute;
left: 0px;
left: 0;
top: 100%;
right: 0px;
bottom: 0px;
right: 0;
bottom: 0;
z-index: -1;
cursor: default;
user-select: none;
@@ -63,18 +63,18 @@
-ms-user-select: none;
-moz-user-select: none;
&.active {
top: 0px;
&.adf-active {
top: 0;
}
}
}
.annotationLayer {
.adf-annotationLayer {
section {
position: absolute;
}
.linkAnnotation {
.adf-linkAnnotation {
& > a {
position: absolute;
font-size: 1em;
@@ -82,34 +82,36 @@
left: 0;
width: 100%;
height: 100%;
background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") 0 0 repeat;
/* stylelint-disable */
background: url('data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7') 0 0 repeat;
/* stylelint-enable */
&:hover {
opacity: 0.2;
background: #ff0;
box-shadow: 0px 2px 10px #ff0;
box-shadow: 0 2px 10px #ff0;
}
}
}
.textAnnotation {
.adf-textAnnotation {
img {
position: absolute;
cursor: pointer;
}
}
.popupWrapper {
.adf-popupWrapper {
position: absolute;
width: 20em;
}
.popup {
.adf-popup {
position: absolute;
z-index: 200;
max-width: 20em;
background-color: #FFFF99;
box-shadow: 0px 2px 5px #333;
background-color: #ffff99;
box-shadow: 0 2px 5px #333;
border-radius: 2px;
padding: 0.6em;
margin-left: 5px;
@@ -127,21 +129,21 @@
}
}
.highlightAnnotation,
.underlineAnnotation,
.squigglyAnnotation,
.strikeoutAnnotation,
.fileAttachmentAnnotation {
.adf-highlightAnnotation,
.adf-underlineAnnotation,
.adf-squigglyAnnotation,
.adf-strikeoutAnnotation,
.adf-fileAttachmentAnnotation {
cursor: pointer;
}
}
.pdfViewer {
canvasWrapper {
.adf-pdfViewer {
.canvasWrapper {
overflow: hidden;
}
.page {
.adf-page {
direction: ltr;
width: 816px;
height: 1056px;
@@ -157,7 +159,7 @@
display: block;
}
.loadingIcon {
.adf-loadingIcon {
position: absolute;
display: block;
left: 0;
@@ -172,14 +174,14 @@
}
}
&.removePageBorders {
.page {
margin: 0px auto 10px auto;
&.adf-removePageBorders {
.adf-page {
margin: 0 auto 10px;
border: none;
}
}
.loadingIcon {
.adf-loadingIcon {
width: 100px;
height: 100px;
left: 50% !important;
@@ -190,9 +192,9 @@
font-size: 5px;
text-indent: -9999em;
border-top: 1.1em solid rgba(3,0,2, 0.2);
border-right: 1.1em solid rgba(3,0,2, 0.2);
border-bottom: 1.1em solid rgba(3,0,2, 0.2);
border-top: 1.1em solid rgba(3, 0, 2, 0.2);
border-right: 1.1em solid rgba(3, 0, 2, 0.2);
border-bottom: 1.1em solid rgba(3, 0, 2, 0.2);
border-left: 1.1em solid #030002;
-webkit-transform: translateZ(0);
-ms-transform: translateZ(0);
@@ -201,7 +203,7 @@
animation: load8 1.1s infinite linear;
border-radius: 50%;
&:after {
&::after {
border-radius: 50%;
}
}
@@ -209,7 +211,7 @@
.hidden, [hidden] {
.adf-hidden, [hidden] {
display: none !important;
}
}
@@ -235,7 +237,7 @@
}
}
.viewer-pdf-viewer {
.adf-viewer-pdf-viewer {
overflow: auto;
-webkit-overflow-scrolling: touch;
position: absolute;
@@ -245,9 +247,9 @@
left: 0;
outline: none;
}
html[dir='ltr'] .viewer-pdf-viewer {
box-shadow: inset 1px 0 0 hsla(0,0%,100%,.05);
html[dir='ltr'] .adf-viewer-pdf-viewer {
box-shadow: inset 1px 0 0 hsla(0, 0%, 100%, 0.05);
}
html[dir='rtl'] .viewer-pdf-viewer {
box-shadow: inset -1px 0 0 hsla(0,0%,100%,.05);
html[dir='rtl'] .adf-viewer-pdf-viewer {
box-shadow: inset -1px 0 0 hsla(0, 0%, 100%, 0.05);
}