Fixed Time Travel component styles.

This commit is contained in:
Filip Barl
2017-10-17 19:16:05 +02:00
parent 982711f9af
commit ce97b009da
2 changed files with 15 additions and 5 deletions

View File

@@ -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;
@@ -155,7 +168,7 @@ const TimestampLabel = styled.button`
}
`;
const TimelinePanButton = styled.button`
const TimelinePanButton = ShallowButton.extend`
pointer-events: all;
padding: 2px;
`;

View File

@@ -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;
}