Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
b40e3db7
Commit
b40e3db7
authored
Dec 01, 2020
by
quzha
Browse files
Merge branch 'master' of github.com:Microsoft/nni into dev-retiarii
parents
efa4e31c
95f731e4
Changes
226
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
151 additions
and
92 deletions
+151
-92
ts/webui/src/static/style/overview/overview.scss
ts/webui/src/static/style/overview/overview.scss
+53
-60
ts/webui/src/static/style/overview/overviewTitle.scss
ts/webui/src/static/style/overview/overviewTitle.scss
+2
-21
ts/webui/src/static/style/overview/panel.scss
ts/webui/src/static/style/overview/panel.scss
+64
-0
ts/webui/src/static/style/overview/topTrial.scss
ts/webui/src/static/style/overview/topTrial.scss
+15
-0
ts/webui/src/static/style/progress/progress.scss
ts/webui/src/static/style/progress/progress.scss
+4
-7
ts/webui/src/static/style/succTable.scss
ts/webui/src/static/style/succTable.scss
+13
-4
No files found.
ts/webui/src/static/style/overview/overview.scss
View file @
b40e3db7
...
@@ -4,8 +4,8 @@ $boxGapPadding: 10px;
...
@@ -4,8 +4,8 @@ $boxGapPadding: 10px;
.wrapper
{
.wrapper
{
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
9
,
1fr
);
grid-template-columns
:
repeat
(
8
,
1fr
);
grid-auto-rows
:
9
7
px
;
grid-auto-rows
:
9
3
px
;
>
div
{
>
div
{
background
:
#fff
;
background
:
#fff
;
...
@@ -14,61 +14,63 @@ $boxGapPadding: 10px;
...
@@ -14,61 +14,63 @@ $boxGapPadding: 10px;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
.overviewProgress
{
.duration
,
grid-column
:
2
/
6
;
.trialCount
{
grid-row
:
1
/
5
;
grid-column
:
1
/
5
;
display
:
grid
;
background
:
#fff
;
grid-auto-rows
:
70px
;
padding
:
$boxPadding
;
margin
:
0
$boxGapPadding
;
border-radius
:
$boxBorderRadius
;
padding
:
0
;
box-sizing
:
border-box
;
background
:
transparent
;
margin-top
:
$boxGapPadding
;
.duration
,
.trialCount
{
background
:
#fff
;
padding
:
$boxPadding
;
border-radius
:
$boxBorderRadius
;
box-sizing
:
border-box
;
/* for alert message tooltip position */
position
:
relative
;
}
.duration
{
/* for alert message tooltip position */
// grid-row: 1 / 3;
position
:
relative
;
height
:
139px
;
}
}
.trialCount
{
.duration
{
margin-top
:
79px
;
grid-row
:
3
/
5
;
height
:
239px
;
height
:
138px
;
}
}
.trialCount
{
grid-row
:
4
/
6
;
margin-top
:
65px
;
height
:
239px
;
}
}
.overviewCommand1
,
.overviewCommand1
,
.overviewCommand2
{
.overviewCommand2
{
grid-row-start
:
8
;
margin-top
:
-59px
;
margin-right
:
$boxGapPadding
;
border-radius
:
0
;
border-radius
:
0
;
}
}
.overviewCommand1
{
.overviewCommand1
{
grid-column
-start
:
1
;
grid-column
:
1
/
5
;
border-radius
:
$boxBorderRadius
0
0
$boxBorderRadius
;
border-radius
:
$boxBorderRadius
0
0
$boxBorderRadius
;
}
}
.overviewCommand2
{
.overviewCommand2
{
grid-column
:
2
/
6
;
grid-column
:
2
/
5
;
margin-right
:
10px
;
margin-right
:
$boxGapPadding
;
padding-left
:
30px
;
padding-left
:
30px
;
border-radius
:
0
$boxBorderRadius
$boxBorderRadius
0
;
border-radius
:
0
$boxBorderRadius
$boxBorderRadius
0
;
}
}
}
}
.overviewBasicInfo
{
.overviewBasicInfo
{
grid-column
-start
:
1
;
grid-column
:
1
/
5
;
grid-row
:
1
/
5
;
grid-row
:
1
/
3
;
z-index
:
2
;
z-index
:
2
;
}
}
.overviewBasicInfo
,
.duration
,
.trialCount
{
margin-right
:
$boxGapPadding
;
}
.basic
{
.basic
{
line-height
:
21px
;
line-height
:
21px
;
font-family
:
"Segoe UI"
,
Tahoma
,
Geneva
,
Verdana
,
sans-serif
;
font-family
:
"Segoe UI"
,
Tahoma
,
Geneva
,
Verdana
,
sans-serif
;
...
@@ -96,9 +98,10 @@ $boxGapPadding: 10px;
...
@@ -96,9 +98,10 @@ $boxGapPadding: 10px;
}
}
}
}
.overviewTable
{
.overviewBestMetric
{
grid-column
:
6
/
10
;
grid-column
:
5
/
9
;
grid-row
:
1
/
11
;
grid-row
:
1
/
9
;
max-height
:
736px
;
overflow
:
hidden
;
overflow
:
hidden
;
.topTrialTitle
{
.topTrialTitle
{
...
@@ -114,43 +117,33 @@ $boxGapPadding: 10px;
...
@@ -114,43 +117,33 @@ $boxGapPadding: 10px;
}
}
.mincenter
{
.mincenter
{
margin
:
0
13px
0
10px
;
margin
:
0
13px
0
$boxGapPadding
;
}
}
.chooseEntry
{
.chooseEntry
{
margin-right
:
10px
;
margin-right
:
$boxGapPadding
;
line-height
:
30px
;
line-height
:
30px
;
}
}
}
}
.overviewCommand1
,
.overviewCommand1
,
.overviewCommand2
{
.overviewCommand2
{
grid-row
:
7
/
9
;
height
:
144px
;
height
:
144px
;
overflow
:
hidden
;
overflow
:
hidden
;
margin-top
:
10px
;
margin-top
:
$boxGapPadding
;
}
}
$circle
:
10px
;
$bgblue
:
#0071bc
;
.overviewChart
{
.overviewChart
{
grid-column
:
1
/
6
;
margin-top
:
20px
;
grid-row
:
7
/
11
;
margin-right
:
$boxGapPadding
;
margin-top
:
-29px
;
.circle
{
width
:
$circle
;
height
:
$circle
;
border-radius
:
50%
;
background-color
:
$bgblue
;
margin-top
:
6px
;
margin-right
:
18px
;
}
}
}
.showMess
{
.defaultMetricContainer
{
position
:
absolute
;
position
:
relative
;
top
:
42%
;
left
:
48%
;
.showMess
{
position
:
absolute
;
top
:
42%
;
left
:
48%
;
}
}
}
ts/webui/src/static/style/overview/overviewTitle.scss
View file @
b40e3db7
$iconPaddingVal
:
2
0px
;
$iconPaddingVal
:
1
0px
;
.panelTitle
{
.panelTitle
{
span
{
span
{
...
@@ -9,7 +9,7 @@ $iconPaddingVal: 20px;
...
@@ -9,7 +9,7 @@ $iconPaddingVal: 20px;
i
{
i
{
font-size
:
24px
;
font-size
:
24px
;
margin-right
:
20px
;
margin-right
:
$iconPaddingVal
;
color
:
#545454
;
color
:
#545454
;
}
}
}
}
...
@@ -18,22 +18,3 @@ $iconPaddingVal: 20px;
...
@@ -18,22 +18,3 @@ $iconPaddingVal: 20px;
#tabsty
.anticon
{
#tabsty
.anticon
{
margin-right
:
0
;
margin-right
:
0
;
}
}
.top10bg
{
.top10Title
{
width
:
160px
;
}
.title
{
border-left
:
2px
solid
#fff
;
}
.minTitle
{
// margin-right: $iconPaddingVal;
border-right
:
2px
solid
#fff
;
}
.title
:hover
{
cursor
:
pointer
;
}
}
ts/webui/src/static/style/overview/
config
.scss
→
ts/webui/src/static/style/overview/
panel
.scss
View file @
b40e3db7
$buttonBorderRadius
:
23px
;
.config
{
.config
{
position
:
fixed
;
position
:
fixed
;
right
:
0
;
right
:
0
;
...
@@ -5,10 +7,10 @@
...
@@ -5,10 +7,10 @@
.ms-Button--default
{
.ms-Button--default
{
padding
:
0
8px
;
padding
:
0
8px
;
margin
:
0
0
12px
0
;
margin
-bottom
:
12px
;
border
:
none
;
border
:
none
;
box-shadow
:
0
3px
3px
rgba
(
0
,
0
,
0
,
0
.08
);
box-shadow
:
0
3px
3px
rgba
(
0
,
0
,
0
,
0
.08
);
border-radius
:
18px
0
0
18px
;
border-radius
:
$buttonBorderRadius
0
0
$buttonBorderRadius
;
font-size
:
12px
;
font-size
:
12px
;
text-align
:
left
;
text-align
:
left
;
...
@@ -17,9 +19,41 @@
...
@@ -17,9 +19,41 @@
}
}
}
}
.ms-Button--default
:hover
{
.integralBtn
{
background-color
:
#0071bc
;
display
:
none
;
color
:
#fff
;
}
.margin
{
margin-left
:
10px
;
}
}
.container
{
text-align
:
right
;
.icon
{
min-width
:
50px
;
i
{
font-size
:
16px
;
}
}
&
:hover
{
.icon
{
display
:
none
;
}
.integralBtn
{
display
:
block
;
color
:
#fff
;
border
:
1px
solid
blue
;
background-color
:
#0071bc
;
i
{
font-size
:
14px
;
}
}
}
}
}
}
...
...
ts/webui/src/static/style/overview/topTrial.scss
0 → 100644
View file @
b40e3db7
$circle
:
10px
;
$bgblue
:
#0071bc
;
.maxmin
{
margin-top
:
40px
;
.circle
{
width
:
$circle
;
height
:
$circle
;
border-radius
:
50%
;
background-color
:
$bgblue
;
margin-top
:
6px
;
margin-right
:
18px
;
}
}
ts/webui/src/static/style/progress/progress.scss
View file @
b40e3db7
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
.status-text
{
.status-text
{
display
:
inline-block
;
display
:
inline-block
;
line-height
:
30px
;
}
.color
{
color
:
#333
;
}
}
}
}
...
@@ -60,10 +63,4 @@
...
@@ -60,10 +63,4 @@
/* office-fabric-ui progressIndicator */
/* office-fabric-ui progressIndicator */
.ms-ProgressIndicator-itemProgress
{
.ms-ProgressIndicator-itemProgress
{
padding
:
0
;
padding
:
0
;
border
:
2px
solid
#e6e6e6
;
}
.cursor
,
.cursor
:hover
{
cursor
:
pointer
;
}
}
ts/webui/src/static/style/succTable.scss
View file @
b40e3db7
$tableHeight
:
381px
;
.scrollPanel
{
height
:
$tableHeight
;
}
#succTable
{
#succTable
{
min-height
:
400px
;
height
:
$tableHeight
;
max-height
:
1000px
;
overflow-y
:
auto
;
position
:
relative
;
position
:
relative
;
top
:
-10px
;
.ms-DetailsHeader
{
padding-top
:
0
;
}
.succTable-tooltip
{
.succTable-tooltip
{
width
:
90%
;
width
:
90%
;
...
@@ -21,4 +30,4 @@
...
@@ -21,4 +30,4 @@
padding-left
:
6px
;
padding-left
:
6px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
}
}
\ No newline at end of file
Prev
1
…
8
9
10
11
12
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment