-
+
-
+
{this.props.stationName && removeHyphens(this.props.stationName)}
-
+
{this.props.timer && (
- = 600 ? `timer-long` : ``}
- id="topbar-timer"
- >
+ = 600}>
{timerFormat(this.props.time)}
-
+
)}
{this.props.tickDisplayed && (
)}
-
+
);
}
diff --git a/src/components/TopBar/style.scss b/src/components/TopBar/style.scss
deleted file mode 100644
index a4b19fd..0000000
--- a/src/components/TopBar/style.scss
+++ /dev/null
@@ -1,41 +0,0 @@
-#topbar-container {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 4px;
- padding-right: 16px;
- height: 40px;
- background-color: $darkgrey;
- color: #fff;
- font-family: $title-font;
- text-transform: uppercase;
- //border: 1px solid red;
-}
-
-#topbar-container #back,
-#topbar-container #complete {
- padding: 0 16px;
- border: none;
- background-color: transparent;
-}
-
-#topbar-container #complete {
- padding-right: 0 !important;
-}
-
-#topbar-title {
- flex: 1;
- justify-content: flex-start;
-}
-
-#topbar-timer {
- width: 55px;
-}
-
-#topbar img {
- height: 20px;
-}