diff --git a/src/drivers/webextension/css/styles.css b/src/drivers/webextension/css/styles.css index 131c8979b..39fa38d14 100644 --- a/src/drivers/webextension/css/styles.css +++ b/src/drivers/webextension/css/styles.css @@ -198,10 +198,14 @@ a, a:focus, a:hover { .empty { background: #fff; height: calc(100% - 4.5rem); - padding: 4.5rem 1.5rem 5rem 1.5rem; + padding: 2.5rem; text-align: center; } +.empty__text { + margin-bottom: 1.5rem; +} + .empty--hidden { display: none; } @@ -377,6 +381,7 @@ body.dynamic-icon .category__heading:hover .category__pin { } .options { + background: white; padding: 1.5rem 1.5rem 1rem 1.5rem; } @@ -389,6 +394,52 @@ body.dynamic-icon .category__heading:hover .category__pin { margin-top: 1rem; } +.ttt-grid { + background: var(--color-primary-lighten); + border-radius: 4px; + line-height: 0; + margin: auto; + width: calc(6rem + 2px); +} + +.ttt-cell { + border: 1px solid var(--color-primary); + border-width: 1px 0 0 1px; + display: inline-block; + padding: .2rem; + width: 2rem; + height: 2rem; +} + +.ttt-row:first-child .ttt-cell { + border-top: none; +} + +.ttt-cell:first-child { + border-left: none; +} + +.ttt-icon { + display: none; + height: 100%; + width: 100%; +} + +.ttt-cell .ttt-icon { + color: var(--color-primary); + display: block; +} + +.ttt-blink .ttt-icon { + animation: blink 250ms step-end 0s 3; +} + +@keyframes blink { + 50% { + opacity: 0; + } +} + /* Dark mode */ .dark { diff --git a/src/drivers/webextension/html/popup.html b/src/drivers/webextension/html/popup.html index 59b2adc87..b46f0de5c 100644 --- a/src/drivers/webextension/html/popup.html +++ b/src/drivers/webextension/html/popup.html @@ -44,7 +44,29 @@ -
+