Skip to content

Commit 0ce0a40

Browse files
committed
Merge pull request #1559 from CodeNow/SAN-4031-isolated-service-connections
SAN 4031: service containers in connections
2 parents fb53a98 + 99f4170 commit 0ce0a40

File tree

7 files changed

+138
-213
lines changed

7 files changed

+138
-213
lines changed

client/assets/styles/scss/components/animated-panel.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
.fade {
66
opacity: 0;
7-
transition: opacity 3s linear;
7+
transition: opacity .3s linear;
88

99
&.in {
1010
opacity: 1;

client/assets/styles/scss/components/buttons/buttons-badge.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@
1313
&.gray {
1414
border-color: $gray-lighter;
1515
color: $gray-light;
16-
font-style: italic;
1716
}
1817
}

client/assets/styles/scss/globals/grid.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
flex: 0 0 auto;
2525
}
2626

27+
&.grow {
28+
flex: 1 1 100%;
29+
}
30+
2731
// alignment of content (defaults to left)
2832
&.justify-center {
2933
justify-content: center;
@@ -44,6 +48,14 @@
4448
&.align-center {
4549
align-items: center;
4650
}
51+
52+
&.align-start {
53+
align-items: flex-start;
54+
}
55+
56+
&.align-end {
57+
align-items: flex-end;
58+
}
4759
}
4860

4961
// horizontal grid
@@ -63,6 +75,10 @@
6375
flex: 0 0 auto;
6476
}
6577

78+
&.grow {
79+
flex: 1 1 100%;
80+
}
81+
6682
+ .grid-content {
6783
margin-left: 15px;
6884

client/assets/styles/scss/globals/var.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ $white: #fff;
1616
$gray-lighterest: #fafafa;
1717
$gray-lightest: #f3f3f3;
1818
$gray-lighter: #e6e6e6;
19-
$gray-light: #ccc;
19+
$gray-light: #bbb;
2020
$gray: #888;
2121
$gray-dark: #555;
2222
$gray-darker: #222;

client/assets/styles/scss/popover/popover-dns-mappings.scss

Lines changed: 46 additions & 163 deletions
Original file line numberDiff line numberDiff line change
@@ -8,137 +8,39 @@
88

99
.popover-content {
1010
max-height: calc(100vh - 176px);
11-
12-
.empty {
13-
margin: 15px 0;
14-
}
15-
}
16-
17-
.icons-status {
18-
flex: 0 0 auto;
19-
margin-right: 5px;
20-
}
21-
22-
// specific to branch list
23-
.list-branches {
24-
25-
.list-item {
26-
align-items: center;
27-
color: $gray;
28-
display: flex;
29-
font-size: 14px;
30-
padding: 0 15px;
31-
32-
&:active {
33-
color: $purple-light;
34-
}
35-
36-
&.small {
37-
color: $gray-light;
38-
font-weight: $weight-normal;
39-
}
40-
}
41-
42-
// name of branch
43-
.text-overflow {
44-
flex: 1 1 auto;
45-
}
46-
47-
// isolation badge
48-
.btn-badge {
49-
margin: 0;
50-
}
51-
52-
// spinners
53-
.spinner-wrapper {
54-
flex: 0 0 auto;
55-
}
56-
57-
// selected branch
58-
.icons-fat-check {
59-
flex: 0 0 auto;
60-
margin: 0 6px;
61-
}
6211
}
6312

6413
.popover-list {
65-
margin: 0 9px;
6614
padding: 12px 0;
6715
}
6816

6917
.popover-list-item {
70-
font-size: 14px;
71-
margin: 0 -9px;
72-
padding: 3px 18px;
73-
74-
&.small {
75-
font-size: 12px;
76-
line-height: 21px;
77-
min-height: 21px;
78-
}
79-
}
80-
81-
.popover-footer {
82-
border-top: 1px solid $gray-lighter;
83-
font-size: 12px;
84-
margin: 0 9px;
85-
padding: 15px 9px 18px;
86-
87-
&.empty {
88-
border: 0;
89-
}
90-
}
91-
92-
.link:active {
93-
color: $purple-light;
94-
}
95-
}
96-
97-
.list-service-containers {
98-
99-
.popover-list-item {
100-
line-height: 24px;
101-
min-height: 24px;
18+
padding: 9px 18px;
10219

103-
&.small {
104-
margin-bottom: 4px;
20+
&:active .small {
21+
color: inherit;
10522
}
10623
}
107-
}
10824

109-
// view-1
110-
// rows
111-
.tr-dns {
112-
cursor: pointer;
113-
padding: 3px 15px;
114-
115-
&:hover .icons-arrow-forward {
116-
color: $gray;
25+
// list headings
26+
.list-item.small {
27+
margin-top: 3px;
28+
padding: 3px 18px;
11729
}
11830

119-
&:active {
120-
121-
// override .popover-list-item default
122-
.small.text-overflow {
123-
color: $gray;
124-
}
125-
126-
.cell + .cell,
127-
.cell + .cell .small,
128-
.icons-arrow-forward {
129-
color: $purple-light;
130-
}
31+
.icons-status {
32+
flex: 0 0 auto;
33+
margin-right: 6px;
13134
}
13235

133-
.iconnables {
134-
margin: 0;
135-
position: absolute;
136-
right: 9px;
137-
top: 15px;
36+
// isolation badges
37+
.btn-badge {
38+
margin-left: 15px;
39+
margin-right: 0; // override
13840
}
13941

140-
.icons-arrow-forward {
141-
color: $gray-light;
42+
.icons-fat-check {
43+
margin: 0 0 0 9px;
14244
}
14345

14446
// check icon
@@ -163,61 +65,42 @@
16365
transform-origin: 50% 50%;
16466
}
16567

166-
// cells
167-
.cell {
168-
flex: 1 1;
169-
height: 48px;
170-
line-height: 1.4;
171-
max-width: 50%;
172-
padding: 5px 0;
173-
position: relative;
174-
175-
// url cell
176-
&:first-child {
177-
padding-right: 12px;
178-
179-
// arrow
180-
&::after {
181-
color: $gray-light;
182-
content: '';
183-
display: block;
184-
font-size: 18px;
185-
position: absolute;
186-
right: -9px;
187-
top: 12px;
188-
}
189-
}
68+
.icons-arrow-forward {
69+
color: $gray-light;
70+
}
19071

191-
// center text if single line
192-
&.center {
193-
align-items: center;
194-
display: flex;
195-
}
72+
.popover-footer {
73+
background: $gray-lighterest;
74+
margin: 0;
75+
padding: 18px 15px;
19676

197-
.small {
198-
font-size: 12px;
77+
&.empty {
78+
background: none;
79+
border: 0;
19980
}
81+
}
82+
}
20083

201-
.btn-badge {
202-
font-size: 11px;
203-
height: 16px;
204-
line-height: 14px;
205-
margin-top: 3px;
206-
max-width: 100%;
207-
}
84+
.dns-arrow {
85+
color: $gray-light;
86+
font-size: 18px;
87+
margin: 0 12px;
88+
}
20889

209-
// branch cell
210-
+ .cell {
211-
padding: 0 15px;
90+
.list-repository-containers {
21291

213-
.small {
214-
margin-left: 14px;
215-
}
216-
}
92+
.btn-badge {
93+
align-self: flex-start;
94+
}
21795

218-
// just changed animation (along with check)
219-
&.fade-in {
220-
animation: fade-in-half 1s .25s;
221-
}
96+
.iconnables {
97+
margin: 0; // override
98+
position: absolute;
99+
right: 9px;
100+
top: 15px;
222101
}
223102
}
103+
104+
.connected-branch-name {
105+
padding-right: 15px;
106+
}

0 commit comments

Comments
 (0)