Skip to content

Commit

Permalink
Fixed Time Travel component styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
fbarl committed Oct 17, 2017
1 parent 982711f commit ce97b00
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
17 changes: 15 additions & 2 deletions client/app/scripts/components/time-travel-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,20 @@ const DisabledRange = styled.rect`
fill-opacity: 0.15;
`;

const TimestampLabel = styled.button`
const ShallowButton = styled.button`
background-color: transparent;
border: 0;
color: ${props => props.theme.colors.primary.lavender};
cursor: pointer;
padding: 0;
outline: 0;
&:hover {
color: ${props => props.theme.colors.primary.charcoal};
}
`;

const TimestampLabel = ShallowButton.extend`
margin-left: 2px;
padding: 3px;
Expand All @@ -155,7 +168,7 @@ const TimestampLabel = styled.button`
}
`;

const TimelinePanButton = styled.button`
const TimelinePanButton = ShallowButton.extend`
pointer-events: all;
padding: 2px;
`;
Expand Down
3 changes: 0 additions & 3 deletions client/app/styles/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
url("../../node_modules/materialize-css/fonts/roboto/Roboto-Regular.ttf");
}

// TODO: Remove this line once Service UI CONFIGURE button stops being added to Scope.
.scope-wrapper .setup-nav-button { display: none; }

a {
text-decoration: none;
}
Expand Down

0 comments on commit ce97b00

Please sign in to comment.