Unverified Commit 7a8189ee authored by Daniel's avatar Daniel Committed by GitHub

Overhaul of UI Part 1 (#54)

Overhaul of UI
- NavBar - Resized to 48px, rework bottom border with box-shadow
- Search Bar - Simplify DOM elements, height 60px, font 24px bold, narrower in md, lg screens.
- Container top margin at 96, 64, 32px for lg, md, sm screens.
- Search results has 16px top and bottom
- Consolidated buttons classes to: btn-primary btn-default
- Reworked Tag buttons and labels
- Fixed panel border radiuses
- Fixed NavBar active state highlighting
parent 5110dc5b
...@@ -28,21 +28,9 @@ ...@@ -28,21 +28,9 @@
margin-bottom: 4px; margin-bottom: 4px;
} }
&.btn-cancel {
border-color: $gray-lighter;
font-family: $font-family-sans-serif-bold;
font-weight: $font-weight-sans-serif-bold;
&:focus,
&:not(.disabled):hover,
&:not([disabled]):hover {
background-color: $gray-lighter;
border-color: $gray-lighter;
}
}
&.btn-flat-icon { &.btn-flat-icon {
border: none; border: none;
background-color: transparent;
color: $gray-light; color: $gray-light;
box-shadow: none !important; box-shadow: none !important;
padding: 0px; padding: 0px;
...@@ -60,16 +48,15 @@ ...@@ -60,16 +48,15 @@
} }
} }
&.btn-primary { &.btn-default {
border-width: 2px; border-radius: 4px;
-webkit-box-shadow: 8px 9px 20px -15px rgba(0,0,0,0.46); border: 1px solid rgba(0, 7, 39, 0.13);
-moz-box-shadow: 8px 9px 20px -15px rgba(0,0,0,0.46); height: 36px;
box-shadow: 8px 9px 20px -15px rgba(0,0,0,0.46);
font-family: $font-family-sans-serif-bold; font-family: $font-family-sans-serif-bold;
font-weight: $font-weight-sans-serif-bold; font-weight: $font-weight-sans-serif-bold;
} }
&.btn-save { &.btn-primary {
color: white; color: white;
background-color: $brand-color-4; background-color: $brand-color-4;
border-color: $brand-color-4; border-color: $brand-color-4;
...@@ -85,6 +72,10 @@ ...@@ -85,6 +72,10 @@
} }
} }
&.btn-shadow {
box-shadow: 0 1px 3px 0 rgba(17, 17, 31, 0.12);
}
&.disabled, &.disabled,
&:disabled { &:disabled {
-webkit-box-shadow: none; -webkit-box-shadow: none;
......
...@@ -56,6 +56,11 @@ img.icon { ...@@ -56,6 +56,11 @@ img.icon {
mask-image: url('/static/images/icons/Right.svg'); mask-image: url('/static/images/icons/Right.svg');
} }
&.icon-search {
-webkit-mask-image: url('/static/images/icons/Search.svg');
mask-image: url('/static/images/icons/Search.svg');
}
&.icon-up { &.icon-up {
-webkit-mask-image: url('/static/images/icons/Up.svg'); -webkit-mask-image: url('/static/images/icons/Up.svg');
mask-image: url('/static/images/icons/Up.svg'); mask-image: url('/static/images/icons/Up.svg');
......
...@@ -6,7 +6,26 @@ ...@@ -6,7 +6,26 @@
@import 'list-group-item'; @import 'list-group-item';
@import 'popovers'; @import 'popovers';
// TODO - Find a better place for misc styles. // TODO - Move to separate files
// Layout
#main > .container {
margin: 96px auto 48px;
}
@media (max-width: $screen-md-max) {
#main > .container {
margin: 64px auto 48px;
}
}
@media (max-width: $screen-sm-max) {
#main > .container {
margin: 32px auto 48px;
}
}
// Misc
td { td {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
...@@ -15,4 +34,3 @@ td { ...@@ -15,4 +34,3 @@ td {
form { form {
margin-bottom: 0; margin-bottom: 0;
} }
@import 'variables'; @import 'variables';
.announcement-container {
margin: 64px auto 48px;
}
.announcement-container hr { .announcement-container hr {
border: 2px solid $brand-color-4; border: 2px solid $brand-color-4;
} }
......
...@@ -3,6 +3,7 @@ import Avatar from 'react-avatar'; ...@@ -3,6 +3,7 @@ import Avatar from 'react-avatar';
import { Link, NavLink } from 'react-router-dom'; import { Link, NavLink } from 'react-router-dom';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { bindActionCreators } from 'redux'; import { bindActionCreators } from 'redux';
import { withRouter } from 'react-router-dom'
import AppConfig from '../../../config/config'; import AppConfig from '../../../config/config';
import { GlobalState } from "../../ducks/rootReducer"; import { GlobalState } from "../../ducks/rootReducer";
...@@ -70,7 +71,7 @@ class NavBar extends React.Component<NavBarProps, NavBarState> { ...@@ -70,7 +71,7 @@ class NavBar extends React.Component<NavBarProps, NavBarState> {
} }
{ {
this.state.currentUser && this.state.currentUser &&
<Avatar name={this.state.currentUser.display_name} size={48} round={true}/> <Avatar name={this.state.currentUser.display_name} size={32} round={true}/>
} }
</div> </div>
</div> </div>
...@@ -90,4 +91,4 @@ const mapDispatchToProps = (dispatch) => { ...@@ -90,4 +91,4 @@ const mapDispatchToProps = (dispatch) => {
return bindActionCreators({ getCurrentUser }, dispatch); return bindActionCreators({ getCurrentUser }, dispatch);
}; };
export default connect<StateFromProps, DispatchFromProps>(mapStateToProps, mapDispatchToProps)(NavBar); export default withRouter(connect<StateFromProps, DispatchFromProps>(mapStateToProps, mapDispatchToProps)(NavBar));
@import 'variables'; @import 'variables';
.nav-bar { .nav-bar {
height: 72px; height: 48px;
border-bottom: 1px solid $gray-lighter; box-shadow: 0 2px 0 -1px $gray-lightest;
padding: 10px 32px 10px 32px; padding: 8px 32px 8px 32px;
font-family: $font-family-sans-serif-bold; font-family: $font-family-sans-serif-bold;
font-weight: $font-weight-sans-serif-bold; font-weight: $font-weight-sans-serif-bold;
color: $gray-light; color: $gray-light;
...@@ -56,6 +56,6 @@ ...@@ -56,6 +56,6 @@
} }
.logo-icon { .logo-icon {
max-height: 48px; max-height: 32px;
max-width: 144px; max-width: 144px;
} }
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
.not-found-page { .not-found-page {
width: 70%; width: 70%;
margin: 64px auto 48px;
text-align: center; text-align: center;
} }
......
...@@ -145,7 +145,7 @@ class OwnerEditor extends React.Component<OwnerEditorProps, OwnerEditorState> { ...@@ -145,7 +145,7 @@ class OwnerEditor extends React.Component<OwnerEditorProps, OwnerEditorState> {
placeholder='Enter an email address' placeholder='Enter an email address'
ref={ this.inputRef } ref={ this.inputRef }
/> />
<button className="btn btn-light add-button" type="submit" aria-label="Add Item"> <button className="btn btn-default add-button" type="submit" aria-label="Add Item">
<span aria-hidden="true">Add</span> <span aria-hidden="true">Add</span>
</button> </button>
</form> </form>
...@@ -222,8 +222,8 @@ class OwnerEditor extends React.Component<OwnerEditorProps, OwnerEditorState> { ...@@ -222,8 +222,8 @@ class OwnerEditor extends React.Component<OwnerEditorProps, OwnerEditorState> {
</Modal.Header> </Modal.Header>
{ this.renderModalBody() } { this.renderModalBody() }
<Modal.Footer> <Modal.Footer>
<button type="button" className="btn btn-cancel" onClick={this.cancelEdit}>Cancel</button> <button type="button" className="btn btn-default" onClick={this.cancelEdit}>Cancel</button>
<button type="button" className="btn btn-save" onClick={this.saveEdit}>Save</button> <button type="button" className="btn btn-primary" onClick={this.saveEdit}>Save</button>
</Modal.Footer> </Modal.Footer>
</Modal> </Modal>
</div> </div>
......
...@@ -24,7 +24,7 @@ class SearchBar extends React.Component<SearchBarProps, SearchBarState> { ...@@ -24,7 +24,7 @@ class SearchBar extends React.Component<SearchBarProps, SearchBarState> {
public static defaultProps: SearchBarProps = { public static defaultProps: SearchBarProps = {
handleValueSubmit: () => undefined, handleValueSubmit: () => undefined,
placeholder: 'Search for data resources...', // TODO: Hard-coded text strings should be translatable/customizable placeholder: 'search for data resources...', // TODO: Hard-coded text strings should be translatable/customizable
searchTerm: '', searchTerm: '',
subText: DEFAULT_SUBTEXT, subText: DEFAULT_SUBTEXT,
}; };
...@@ -89,23 +89,22 @@ class SearchBar extends React.Component<SearchBarProps, SearchBarState> { ...@@ -89,23 +89,22 @@ class SearchBar extends React.Component<SearchBarProps, SearchBarState> {
render() { render() {
const subTextClass = `subtext ${this.state.optionalSubTextClass}`; const subTextClass = `subtext ${this.state.optionalSubTextClass}`;
return ( return (
<div className="col-xs-12"> <div id="search-bar" className="col-xs-12 col-md-offset-1 col-md-10">
<div id="searchBar" className="search-bar"> <form className="search-bar-form" onSubmit={ this.handleValueSubmit }>
<form id="searchForm" onSubmit={ this.handleValueSubmit }> <button className="btn btn-flat-icon search-bar-button" type="submit">
<div id="inputContainer" className="input-container"> <img className="icon icon-search" />
<button id="searchButton" type="submit" className="btn icon" /> </button>
<input <input
id="searchInput" id="searchInput"
value={ this.state.searchTerm } className="search-bar-input form-control"
onChange={ this.handleValueChange } value={ this.state.searchTerm }
aria-label={ this.props.placeholder } onChange={ this.handleValueChange }
placeholder={ this.props.placeholder } aria-label={ this.props.placeholder }
autoFocus={ true } placeholder={ this.props.placeholder }
ref={ this.inputRef } autoFocus={ true }
/> ref={ this.inputRef }
</div> />
</form> </form>
</div>
<div className={ subTextClass }> <div className={ subTextClass }>
{ this.state.subText } { this.state.subText }
</div> </div>
......
@import 'variables'; @import 'variables';
.search-bar { #search-bar {
-webkit-box-shadow: 8px 9px 20px -15px rgba(0,0,0,0.46); .search-bar-form {
-moz-box-shadow: 8px 9px 20px -15px rgba(0,0,0,0.46); position: relative;
box-shadow: 8px 9px 20px -15px rgba(0,0,0,0.46);
border: 1px solid $gray-lighter;
padding: 10px;
border-radius: 5px;
height:48px;
}
.search-bar:focus-within {
border: 2px solid $brand-color-2;
}
.input-container {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.input-container button {
height: 24px;
width: 24px;
border: none;
background-color: $gray-light;
-webkit-mask-image: url('/static/images/icons/Search.svg');
mask-image: url('/static/images/icons/Search.svg');
}
.input-container input {
cursor: text;
font-family: $font-family-sans-serif-bold;
font-weight: $font-weight-sans-serif-bold;
width: 100%;
height: 24px;
margin-left: 12px;
font-size: 16px;
background-color: transparent;
border: none;
}
.input-container input:focus {
outline: none;
}
.subtext { .search-bar-button {
color: $gray-light; position: absolute;
font-size: 14px; height: 24px;
margin-top: 8px; width: 24px;
height: 32px; top: 18px;
} left: 16px;
}
.search-bar-input {
border-radius: 4px;
box-shadow: 0 3px 12px 0 rgba(17, 17, 31, 0.04);
color: $text-color;
font-family: $font-family-sans-serif-bold;
font-size: 24px;
font-weight: $font-weight-sans-serif-bold;
width: 100%;
height: 60px;
padding: 16px 16px 16px 50px;
&:focus {
border-color: $brand-color-2;
box-shadow: 0 3px 12px 0 rgba($brand-color-2, 0.5);
}
}
}
.subtext {
color: $gray-light;
margin-top: 8px;
}
.error { .error {
color: red; color: red;
}
} }
...@@ -154,7 +154,7 @@ class SearchPage extends React.Component<SearchPageProps, SearchPageState> { ...@@ -154,7 +154,7 @@ class SearchPage extends React.Component<SearchPageProps, SearchPageState> {
} }
return ( return (
<div className="col-xs-12"> <div className="col-xs-12 col-md-offset-1 col-md-10">
<div className="search-list-container"> <div className="search-list-container">
<div className="search-list-header"> <div className="search-list-header">
<label> { listTitle } </label> <label> { listTitle } </label>
......
@import 'variables'; @import 'variables';
.search-page { .search-page {
margin: 64px auto 48px; .search-list-container {
} margin: 64px 0 0 0;
.search-list-container { }
margin: 32px 0px 0px 0px; @media (max-width: $screen-sm-max) {
} .search-list-container {
.search-list-header { margin: 32px 0 0 0;
display: flex; }
flex-direction: row; }
margin-bottom: 32px;
} .search-list-header {
.search-list-header label { display: flex;
font-family: $font-family-sans-serif-bold; flex-direction: row;
font-weight: $font-weight-sans-serif-bold; margin-bottom: 32px;
font-size: 20px; }
margin-top: auto; .search-list-header label {
margin-bottom: auto; font-family: $font-family-sans-serif-bold;
width: fit-content; font-weight: $font-weight-sans-serif-bold;
line-height: 24px; font-size: 20px;
} margin-top: auto;
.search-pagination-component { margin-bottom: auto;
display: flex; width: fit-content;
justify-content: center; line-height: 24px;
}
.search-pagination-component {
display: flex;
justify-content: center;
}
} }
.pagination { .pagination {
......
...@@ -181,7 +181,7 @@ class DataPreviewButton extends React.Component<DataPreviewButtonProps, DataPrev ...@@ -181,7 +181,7 @@ class DataPreviewButton extends React.Component<DataPreviewButtonProps, DataPrev
const previewButton = ( const previewButton = (
<button <button
className="btn btn-primary btn-block" className="btn btn-default btn-shadow btn-block"
disabled={disabled} disabled={disabled}
onClick={this.handleShow}> onClick={this.handleShow}>
<img className={"icon icon-color " + iconClass} /> <img className={"icon icon-color " + iconClass} />
......
...@@ -259,7 +259,11 @@ class TableDetail extends React.Component<TableDetailProps & RouteComponentProps ...@@ -259,7 +259,11 @@ class TableDetail extends React.Component<TableDetailProps & RouteComponentProps
<DataPreviewButton modalTitle={`${this.schema}.${this.tableName}`} /> <DataPreviewButton modalTitle={`${this.schema}.${this.tableName}`} />
{ {
AppConfig.tableProfile.isExploreEnabled && AppConfig.tableProfile.isExploreEnabled &&
<a role="button" href={this.getExploreSqlUrl()} target="_blank" className="btn btn-primary btn-block"> <a className="btn btn-default btn-shadow btn-block"
href={this.getExploreSqlUrl()}
role="button"
target="_blank"
>
<img className="icon icon-color icon-database"/> <img className="icon icon-color icon-database"/>
Explore with SQL Explore with SQL
</a> </a>
......
@import 'variables'; @import 'variables';
.table-detail { .table-detail {
margin: 64px auto 48px;
.error-label { .error-label {
margin: 48px auto; margin: 48px auto;
......
...@@ -23,14 +23,14 @@ class TagInfo extends React.Component<TagInfoProps, {}> { ...@@ -23,14 +23,14 @@ class TagInfo extends React.Component<TagInfoProps, {}> {
if (this.props.compact) { if (this.props.compact) {
return ( return (
<Link role="button" to={searchUrl} className="btn btn-default tag-button compact"> <Link role="button" to={searchUrl} className="btn tag-button compact">
{this.props.data.tag_name} {this.props.data.tag_name}
</Link> </Link>
); );
} }
return ( return (
<Link role="button" to={searchUrl} className="btn btn-default tag-button"> <Link role="button" to={searchUrl} className="btn tag-button">
<span className="tag-name">{this.props.data.tag_name}</span> <span className="tag-name">{this.props.data.tag_name}</span>
<span className="tag-count">{this.props.data.tag_count}</span> <span className="tag-count">{this.props.data.tag_count}</span>
</Link> </Link>
......
@import 'variables'; @import 'variables';
.tag-button { .btn.tag-button {
border-radius: 2px; background-color: $gray-lightest;
border: 0;
border-radius: 4px;
color: $gray;
font-size: $font-size-large; font-size: $font-size-large;
margin: 4px; margin: 4px;
overflow: hidden; overflow: hidden;
padding: 4px 8px; padding: 4px 8px;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
}
.tag-button.compact { &.compact {
// Color to match up with the multi select tag library font-size: $font-size-base;
background-color: rgb(230, 230, 230); line-height: 24px;
height: 30px;
margin: 2px;
padding: 3px 6px;
}
border: 0; &:hover,
font-size: $font-size-small; &:focus {
line-height: 16px; color: $gray;
margin: 2px; background-color: $brand-color-2;
padding: 3px 6px; }
}
.tag-name { .tag-name {
margin-right: 8px; margin-right: 8px;
} }
.tag-count { .tag-count {
color: $gray-light; color: $gray-light;
}
} }
...@@ -187,7 +187,7 @@ class TagInput extends React.Component<TagInputProps, TagInputState> { ...@@ -187,7 +187,7 @@ class TagInput extends React.Component<TagInputProps, TagInputState> {
else if (this.batchEditSet[tagName] === BatchEditState.DELETE) { else if (this.batchEditSet[tagName] === BatchEditState.DELETE) {
this.batchEditSet[tagName] = BatchEditState.CURRENT; this.batchEditSet[tagName] = BatchEditState.CURRENT;
} }
} };
renderTagBlob(tagArray, keyPrefix, className) { renderTagBlob(tagArray, keyPrefix, className) {
return tagArray.map((tag) => { return tagArray.map((tag) => {
...@@ -199,7 +199,7 @@ class TagInput extends React.Component<TagInputProps, TagInputState> { ...@@ -199,7 +199,7 @@ class TagInput extends React.Component<TagInputProps, TagInputState> {
}; };
const updateTag = (event) => { const updateTag = (event) => {
this.toggleTag(event, tagName); this.toggleTag(event, tagName);
} };
return ( return (
<div onClick={updateTag} key={`${keyPrefix}:${tagName}`} className={className}> <div onClick={updateTag} key={`${keyPrefix}:${tagName}`} className={className}>
<components.MultiValueContainer> <components.MultiValueContainer>
...@@ -257,6 +257,9 @@ class TagInput extends React.Component<TagInputProps, TagInputState> { ...@@ -257,6 +257,9 @@ class TagInput extends React.Component<TagInputProps, TagInputState> {
styles={{ styles={{
multiValueLabel: (provided) => ({ multiValueLabel: (provided) => ({
...provided, ...provided,
fontSize: '14px',
height: '30px',
lineHeight: '24px',
width: '100%', width: '100%',
}), }),
option: this.generateCustomOptionStyle option: this.generateCustomOptionStyle
...@@ -277,8 +280,8 @@ class TagInput extends React.Component<TagInputProps, TagInputState> { ...@@ -277,8 +280,8 @@ class TagInput extends React.Component<TagInputProps, TagInputState> {
{this.renderModalBody()} {this.renderModalBody()}
</Modal.Body> </Modal.Body>
<Modal.Footer> <Modal.Footer>
<button type="button" className="btn btn-cancel" onClick={this.handleClose}>Cancel</button> <button type="button" className="btn btn-default" onClick={this.handleClose}>Cancel</button>
<button type="button" className="btn btn-save" onClick={this.handleSaveModalEdit}>Save</button> <button type="button" className="btn btn-primary" onClick={this.handleSaveModalEdit}>Save</button>
</Modal.Footer> </Modal.Footer>
</Modal> </Modal>
</div> </div>
......
...@@ -5,27 +5,51 @@ ...@@ -5,27 +5,51 @@
using !important as a temporary workaround in places where a compiled class using !important as a temporary workaround in places where a compiled class
is taking precendence, is taking precendence,
*/ */
.amundsen__multi-value__remove:hover, .tag-input .basic-multi-select {
.amundsen__multi-value__remove:focus { .amundsen__control {
background-color: $gray-light !important;
color: $text-color !important; min-height: 34px;
}
&,
.amundsen__control--is-focused,
.amundsen__control--is-focused:hover {
border: none !important;
box-shadow: none !important;
}
.amundsen__multi-value {
background-color: $gray-lightest !important;
border-radius: 4px;
.amundsen__multi-value__label {
border-radius: 4px 0 0 4px;
color: $gray;
}
.amundsen__multi-value__remove {
border-radius: 0 4px 4px 0;
cursor: pointer;
&:hover,
&:focus {
background-color: $brand-color-2 !important;
color: $gray;
}
}
}
}
.amundsen__control.amundsen__control--is-disabled { .amundsen__control--is-disabled {
background-color: transparent; background-color: transparent;
border-style: none; border-style: none;
}
} }
.amundsen__value-container { .amundsen__value-container {
padding: 0px !important; padding: 0 !important;
} }
.amundsen__control,
.amundsen__control--is-focused,
.amundsen__control--is-focused:hover {
border: none !important;
box-shadow: none !important;
}
.amundsen__option--is-focused { .amundsen__option--is-focused {
background-color: #eee !important; background-color: #eee !important;
...@@ -45,7 +69,7 @@ ...@@ -45,7 +69,7 @@
} }
.multi-value-container { .multi-value-container {
border-radius: 2px; border-radius: 4px;
border: 1px solid hsl(0,0%,90%); border: 1px solid hsl(0,0%,90%);
display: flex; display: flex;
margin: 4px; margin: 4px;
......
@import 'variables'; @import 'variables';
.entity-card { .entity-card {
border-radius: 2px; border-radius: 0 0 6px 6px;
border-top: 4px solid $brand-color-4; border-top: 4px solid $brand-color-4;
box-shadow: 0 0 24px -2px rgba(0, 0, 0, .2); box-shadow: 0 0 24px -2px rgba(0, 0, 0, .2);
padding: 32px; padding: 32px;
......
...@@ -98,7 +98,7 @@ export class RatingFeedbackForm extends AbstractFeedbackForm { ...@@ -98,7 +98,7 @@ export class RatingFeedbackForm extends AbstractFeedbackForm {
<textarea name="comment" form={AbstractFeedbackForm.FORM_ID} <textarea name="comment" form={AbstractFeedbackForm.FORM_ID}
rows={ 5 } maxLength={ 2000 } placeholder="Additional Comments"/> rows={ 5 } maxLength={ 2000 } placeholder="Additional Comments"/>
<div> <div>
<button className="btn btn-light submit" type="submit">Submit</button> <button className="btn btn-default submit" type="submit">Submit</button>
</div> </div>
</form> </form>
); );
...@@ -125,7 +125,7 @@ export class BugReportFeedbackForm extends AbstractFeedbackForm { ...@@ -125,7 +125,7 @@ export class BugReportFeedbackForm extends AbstractFeedbackForm {
maxLength={ 2000 } placeholder="What you did to encounter this bug?"/> maxLength={ 2000 } placeholder="What you did to encounter this bug?"/>
</div> </div>
<div> <div>
<button className="btn btn-light submit" type="submit">Submit</button> <button className="btn btn-default submit" type="submit">Submit</button>
</div> </div>
</form> </form>
); );
...@@ -152,7 +152,7 @@ export class RequestFeedbackForm extends AbstractFeedbackForm { ...@@ -152,7 +152,7 @@ export class RequestFeedbackForm extends AbstractFeedbackForm {
maxLength={ 2000 } placeholder="How does this feature add value?"/> maxLength={ 2000 } placeholder="How does this feature add value?"/>
</div> </div>
<div> <div>
<button className="btn btn-light submit" type="submit">Submit</button> <button className="btn btn-default submit" type="submit">Submit</button>
</div> </div>
</form> </form>
); );
......
...@@ -9,10 +9,6 @@ ...@@ -9,10 +9,6 @@
background-color: $gray-lighter; background-color: $gray-lighter;
} }
.btn-light {
border-color: $gray-lighter;
}
.radio-set { .radio-set {
display: flex; display: flex;
margin-top: 8px; margin-top: 8px;
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
&.expanded { &.expanded {
background-color: white; background-color: white;
border-radius: 2px; border-radius: 0 0 6px 6px;
border-top: 4px solid $brand-primary; border-top: 4px solid $brand-primary;
height: auto; height: auto;
min-height: 450px; min-height: 450px;
......
@import 'variables'; @import 'variables';
.search-list-item { .search-list-item {
padding: 16px 4px;
.resultInfo { .resultInfo {
margin-left: 8px; margin-left: 8px;
margin-right: 8px; margin-right: 8px;
......
...@@ -33,7 +33,7 @@ ReactDOM.render( ...@@ -33,7 +33,7 @@ ReactDOM.render(
<DocumentTitle title="Amundsen - Data Discovery Portal"> <DocumentTitle title="Amundsen - Data Discovery Portal">
<Provider store={store}> <Provider store={store}>
<BrowserRouter> <BrowserRouter>
<div> <div id="main">
<NavBar /> <NavBar />
<Switch> <Switch>
<Route path="/table_detail/:cluster/:db/:schema/:table" component={TableDetail} /> <Route path="/table_detail/:cluster/:db/:schema/:table" component={TableDetail} />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment