Skip to content

Commit 6fff7c7

Browse files
committed
WIP: Style instance wizard, network step
1 parent bf12101 commit 6fff7c7

2 files changed

Lines changed: 84 additions & 2 deletions

File tree

‎ui/scripts/ui-custom/instanceWizard.js‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,6 @@
10321032
return $wizard.dialog({
10331033
title: _l('label.vm.add'),
10341034
width: 800,
1035-
height: 570,
10361035
modal: true,
10371036
closeOnEscape: false,
10381037
zIndex: 5000

‎ui/stylesheets/_instance-wizard.scss‎

Lines changed: 84 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,16 @@
5959
margin: 5px 0;
6060
}
6161

62+
.secondary-input {
63+
@include span-columns(3);
64+
65+
input {
66+
margin-right: 15px;
67+
}
68+
}
69+
6270
.select-desc {
63-
@include span-columns(11);
71+
@include span-columns(7);
6472

6573
.name {
6674
font-weight: bold;
@@ -109,4 +117,79 @@
109117
margin-top: 20px;
110118
}
111119
}
120+
121+
.step.network {
122+
table {
123+
width: 100%;
124+
}
125+
126+
.select.my-networks {
127+
.select-container {
128+
height: 250px;
129+
overflow: auto;
130+
}
131+
}
132+
133+
.new-network {
134+
.select-container {
135+
height: 220px;
136+
}
137+
138+
&.unselected {
139+
.select-container {
140+
height: 100px;
141+
}
142+
}
143+
144+
.name {
145+
@include span-columns(2);
146+
}
147+
148+
.value {
149+
@include span-columns(4);
150+
}
151+
152+
.select {
153+
@include row;
154+
155+
input[type=checkbox] {
156+
@include span-columns(1);
157+
}
158+
.field.name {
159+
@include span-columns(10);
160+
161+
.name {
162+
@include span-columns(3);
163+
}
164+
165+
.value {
166+
@include span-columns(9);
167+
168+
input {
169+
width: 100%;
170+
171+
padding: 5px;
172+
}
173+
}
174+
}
175+
176+
.field.service-offering {
177+
@include span-columns(12);
178+
}
179+
180+
.secondary-input {
181+
@include span-columns(2);
182+
}
183+
}
184+
}
185+
}
186+
187+
.hide-if-selected { display: none !important; }
188+
.unselected .hide-if-selected {
189+
display: block !important;
190+
}
191+
192+
.unselected .hide-if-unselected {
193+
display: none !important;
194+
}
112195
}

0 commit comments

Comments
 (0)