Skip to content

Commit

Permalink
fix: fix rename issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Apr 12, 2020
1 parent 66f749f commit 6ca5166
Show file tree
Hide file tree
Showing 2 changed files with 151 additions and 149 deletions.
6 changes: 3 additions & 3 deletions src/app/presentation/design/path/path.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="path">
<div class="app-path">
<div class="header markdown">
<h3>Path to Production</h3>
</div>
Expand All @@ -17,7 +17,7 @@ <h3>Path to Production</h3>
</mat-toolbar-row>
</mat-toolbar>

<div class="page">
<div class="path-page">
<div class="path">
<div id="pipe-header">
<div class="pipe-header" *ngFor="let pipe of pipeData;let i = index" id="{{i}}_header"
Expand All @@ -26,7 +26,7 @@ <h2>{{pipe.title}}</h2>
</div>
</div>
<div class='wrapper' id="pipe">
<div class='container'
<div class='path-container'
*ngFor="let pipe of pipeData;let i = index"
id="{{i}}_pipe"
dragula="ITEMS"
Expand Down
294 changes: 148 additions & 146 deletions src/app/presentation/design/path/path.component.scss
Original file line number Diff line number Diff line change
@@ -1,182 +1,184 @@
#pipe {
position: relative;
float: right;
display: inline-block;
width: calc(100% - 138px);
max-width: 100%;
height: 180px;
padding-right: 32px;
}
.app-path {
#pipe {
position: relative;
float: right;
display: inline-block;
width: calc(100% - 138px);
max-width: 100%;
height: 180px;
padding-right: 32px;
}

.header {
margin-top: 1em;
.header {
margin-top: 1em;

h3 {
text-align: center;
h3 {
text-align: center;
}
}
}

.home-container {
padding: 0;
margin-right: 6px;
margin-top: 12px;
background-color: rgba(255, 255, 255, 0.2);
max-width: 100%;
width: 100%;
color: #fff;
line-height: 1.3em;
border: 1px dashed #fff;
border-radius: 6px;
font-weight: normal;

div {
height: 150px;
max-height: 150px;
width: 10%;
max-width: 10%;
.path-container {
padding: 0;
margin-right: 6px;
margin-top: 12px;
background-color: rgba(255, 255, 255, 0.2);
max-width: 100%;
width: 100%;
color: #fff;
line-height: 1.3em;
border: 1px dashed #fff;
border-radius: 6px;
font-weight: normal;

div {
height: 150px;
max-height: 150px;
width: 10%;
max-width: 10%;
}
}
}

.home-container:nth-child(odd) {
background-color: rgba(0, 0, 0, 0.2);
}
.path-container:nth-child(odd) {
background-color: rgba(0, 0, 0, 0.2);
}

/*
* note that styling gu-mirror directly is a bad practice because it's too generic.
* you're better off giving the draggable elements a unique class and styling that directly!
*/
.home-container > div,
.gu-mirror {
margin: 10px;
padding: 5px;
background-color: rgba(0, 0, 0, 0.2);
transition: opacity 0.4s ease-in-out;
}
/*
* note that styling gu-mirror directly is a bad practice because it's too generic.
* you're better off giving the draggable elements a unique class and styling that directly!
*/
.path-container > div,
.gu-mirror {
margin: 10px;
padding: 5px;
background-color: rgba(0, 0, 0, 0.2);
transition: opacity 0.4s ease-in-out;
}

.home-container > div.empty {
background-color: rgba(0, 0, 0, 0.05);
}
.path-container > div.empty {
background-color: rgba(0, 0, 0, 0.05);
}

.home-container > div {
display: inline-block;
overflow-y: auto;
cursor: move;
cursor: grab;
cursor: -moz-grab;
cursor: -webkit-grab;
}
.path-container > div {
display: inline-block;
overflow-y: auto;
cursor: move;
cursor: grab;
cursor: -moz-grab;
cursor: -webkit-grab;
}

.gu-mirror {
cursor: grabbing;
cursor: -moz-grabbing;
cursor: -webkit-grabbing;
}
.gu-mirror {
cursor: grabbing;
cursor: -moz-grabbing;
cursor: -webkit-grabbing;
}

#header {
height: 80px;
text-align: center;
}
#header {
height: 80px;
text-align: center;
}

#header h1 {
line-height: 80px;
}
#header h1 {
line-height: 80px;
}

#pipe-header {
position: absolute;
left: 20px;
}
#pipe-header {
position: absolute;
left: 20px;
}

.pipe-header h2 {
position: relative;
top: calc(50% - 1.6rem);
}
.pipe-header h2 {
position: relative;
top: calc(50% - 1.6rem);
}

.add-item {
top: 3rem;
position: absolute;
right: 4rem;
}
.add-item {
top: 3rem;
position: absolute;
right: 4rem;
}

.download {
top: 3rem;
position: absolute;
right: 35rem;
}
.download {
top: 3rem;
position: absolute;
right: 35rem;
}

.remove-column {
top: 3rem;
position: absolute;
right: 18rem;
}
.remove-column {
top: 3rem;
position: absolute;
right: 18rem;
}

#color-green {
background-color: #00a300;
}
#color-green {
background-color: #00a300;
}

#color-greendark {
background-color: #1e7145;
}
#color-greendark {
background-color: #1e7145;
}

#color-greenlight {
background-color: #99b433;
}
#color-greenlight {
background-color: #99b433;
}

#color-magenta {
background-color: #ff0097;
}
#color-magenta {
background-color: #ff0097;
}

#color-purplelight {
background-color: #9f00a7;
}
#color-purplelight {
background-color: #9f00a7;
}

#color-purple {
background-color: #7e3878;
}
#color-purple {
background-color: #7e3878;
}

#color-purpledark {
background-color: #603cba;
}
#color-purpledark {
background-color: #603cba;
}

#color-darken {
background-color: #1d1d1d;
}
#color-darken {
background-color: #1d1d1d;
}

#color-teal {
background-color: #00aba9;
}
#color-teal {
background-color: #00aba9;
}

#color-bluelight {
background-color: #eff4ff;
}
#color-bluelight {
background-color: #eff4ff;
}

#color-blue {
background-color: #2d89ef;
}
#color-blue {
background-color: #2d89ef;
}

#color-bluedark {
background-color: #2b5797;
}
#color-bluedark {
background-color: #2b5797;
}

#color-yellow {
background-color: #ffc40d;
}
#color-yellow {
background-color: #ffc40d;
}

#color-orange {
background-color: #e3a21a;
}
#color-orange {
background-color: #e3a21a;
}

#color-orangedark {
background-color: #da532c;
}
#color-orangedark {
background-color: #da532c;
}

#color-red {
background-color: #b91d47;
}
#color-red {
background-color: #b91d47;
}

#color-redlight {
background-color: #e11;
}
#color-redlight {
background-color: #e11;
}

#color-white {
background-color: #fff;
#color-white {
background-color: #fff;
}
}

0 comments on commit 6ca5166

Please sign in to comment.