diff --git a/ts/webui/src/components/experiment/overview/table/SuccessTable.tsx b/ts/webui/src/components/experiment/overview/table/SuccessTable.tsx index 799cac8c87..c70983be62 100644 --- a/ts/webui/src/components/experiment/overview/table/SuccessTable.tsx +++ b/ts/webui/src/components/experiment/overview/table/SuccessTable.tsx @@ -122,7 +122,7 @@ class SuccessTable extends React.Component transform: `rotate(${this.props.expandRowIDs.has(item.id) ? 90 : 0}deg)` } }} - className='cursor' + className='cursor bold positionTop' onClick={this.expandTrialId.bind(this, Event, item.id)} /> ), diff --git a/ts/webui/src/components/experiment/trialdetail/table/TableList.tsx b/ts/webui/src/components/experiment/trialdetail/table/TableList.tsx index 80fc276cc9..50b1537927 100644 --- a/ts/webui/src/components/experiment/trialdetail/table/TableList.tsx +++ b/ts/webui/src/components/experiment/trialdetail/table/TableList.tsx @@ -306,7 +306,7 @@ class TableList extends React.Component { {intermediateAllKeysList.length > 1 || - (intermediateAllKeysList.length === 1 && intermediateAllKeysList !== ['default']) ? ( + (intermediateAllKeysList.length === 1 && intermediateAllKeysList[0] !== 'default') ? ( (); nested = true; diff --git a/ts/webui/src/static/style/common/common.scss b/ts/webui/src/static/style/common/common.scss index 67f4cf2500..4c36a4c83a 100644 --- a/ts/webui/src/static/style/common/common.scss +++ b/ts/webui/src/static/style/common/common.scss @@ -74,6 +74,11 @@ $themeBlue: #0071bc; font-weight: bold; } +.positionTop { + position: relative; + top: 2px; +} + .input-padding { padding-left: 10px; } @@ -87,3 +92,7 @@ $themeBlue: #0071bc; color: #333; } } + +.ms-DetailsRow-cell { + padding-top: 8px; +} diff --git a/ts/webui/src/static/style/experiment/overview/count.scss b/ts/webui/src/static/style/experiment/overview/count.scss index 0e8c962a73..5c8c0bd840 100644 --- a/ts/webui/src/static/style/experiment/overview/count.scss +++ b/ts/webui/src/static/style/experiment/overview/count.scss @@ -32,6 +32,7 @@ $margin: 24px; .maxTrialNum { margin-bottom: 10px; + .editparam { position: relative; top: -7px; @@ -48,7 +49,7 @@ $margin: 24px; top: -4px; } -.editExpDuration{ +.editExpDuration { box-sizing: border-box; width: 31%; position: relative; diff --git a/ts/webui/src/static/style/nav/nav.scss b/ts/webui/src/static/style/nav/nav.scss index 7cb06a705c..2f2edb288e 100644 --- a/ts/webui/src/static/style/nav/nav.scss +++ b/ts/webui/src/static/style/nav/nav.scss @@ -85,7 +85,6 @@ $barHeight: 56px; border-bottom: 1px solid #fff; } - .left-right-margin { margin-left: 20px; margin-right: 20px; diff --git a/ts/webui/src/static/style/nav/slideNavBtns.scss b/ts/webui/src/static/style/nav/slideNavBtns.scss index 8d0fe52bbc..e6107ccd82 100644 --- a/ts/webui/src/static/style/nav/slideNavBtns.scss +++ b/ts/webui/src/static/style/nav/slideNavBtns.scss @@ -1,5 +1,6 @@ $buttonBorderRadius: 23px; -$errorseriscolor: #FC615C; +$errorseriscolor: #fc615c; + .config { position: fixed; right: 0; @@ -87,17 +88,18 @@ $errorseriscolor: #FC615C; right: 20px; max-width: 455px; min-width: 300px; - padding: 28px 32px; + padding: 24px; border-radius: 8px; - box-shadow: 0px 4px 16px rgba(78, 97, 123, 0.2); + border: 1px solid #f8f8f8; + box-shadow: 0 4px 16px rgba(78, 97, 123, 0.2); background-color: #fff; - + .head { height: 27px; line-height: 27px; - font-size: 20px; + font-size: 18px; font-weight: 700; - margin-bottom: 15px; + margin-bottom: 12px; .title { color: $errorseriscolor; @@ -108,17 +110,22 @@ $errorseriscolor: #FC615C; right: 30px; } - .icon{ - width: 25px; - height: 25px; + .icon { + width: 24px; + height: 24px; background-color: $errorseriscolor; border-radius: 50%; - margin-right: 15px; - - i{ - font-size: 21px; + margin-right: 10px; + margin-top: 1px; + + i { + display: block; + text-align: center; + font-size: 14px; + font-weight: 600; color: #fff; - margin-left: 2px; + position: relative; + top: -1px; } } } @@ -128,15 +135,20 @@ $errorseriscolor: #FC615C; } &-buttons { - margin-top: 10px; + margin-top: 16px; } .detailsBtn { - width: 113px; - height: 32px; + height: 30px; + font-size: 12px; color: #fff; background: $errorseriscolor; border: none; border-radius: 6px; + padding: 0 12px; + + .ms-Button-label { + font-size: 12px; + } } -} \ No newline at end of file +} diff --git a/ts/webui/src/static/style/table.scss b/ts/webui/src/static/style/table.scss index f2fa5c8aae..d14bb2f08c 100644 --- a/ts/webui/src/static/style/table.scss +++ b/ts/webui/src/static/style/table.scss @@ -55,12 +55,13 @@ overflow-y: auto; } -$checkboxwidth: 17px; +$checkboxwidth: 18px; .detail-check { .ms-Checkbox-checkbox { width: $checkboxwidth; height: $checkboxwidth; + margin-top: 3px; border-radius: 50%; border: none; @@ -69,7 +70,8 @@ $checkboxwidth: 17px; } i { - width: 12px; + font-size: 8px; + font-weight: 600; } } } @@ -88,4 +90,3 @@ $checkboxwidth: 17px; color: #cb4b16; } } -