diff --git a/public/app.css b/public/app.css index de8f7b2..5546f48 100644 --- a/public/app.css +++ b/public/app.css @@ -8,3 +8,17 @@ th { tbody tr:nth-child(even) td{ background:#eeeeee; } +main { + height:100vh; + display:grid; + grid-template-columns: repeat(3, minmax(10px, 1fr)); + grid-template-rows: repeat(2, minmax(10px, 1fr)); +} +section { + overflow:scroll; +} + +#timer { grid-area: 1 / 1 / 3 / 2; } +#summary { grid-area: 1 / 2 / 3 / 3; } +#category { grid-area: 1 / 3 / 2 / 4; } +#songs { grid-area: 2 / 3 / 3 / 4; } diff --git a/src/App.vue b/src/App.vue index f000adf..df3fa02 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,27 +8,21 @@ - + - + - + + + diff --git a/src/components/timer.vue b/src/components/timer.vue index dc993de..a5cab6c 100644 --- a/src/components/timer.vue +++ b/src/components/timer.vue @@ -93,12 +93,14 @@ Timer - - {{formatTime(totalSeconds)}} - - Start Timer - Stop Timer - Reset + + + {{formatTime(totalSeconds)}} + + Start Timer + Stop Timer + Reset + Description @@ -128,7 +130,7 @@ label, [type="submit"] { display:block; } -details.running { +.running { background:green; } button, em {