diff --git a/src/material-icons.css b/src/material-icons.css index ae2b2dd..fff516d 100644 --- a/src/material-icons.css +++ b/src/material-icons.css @@ -11,7 +11,9 @@ url(fonts/MaterialIcons-Regular.ttf) format('truetype'); } -.material-icons { +material-button .content i.material-icons, +material-button[rounded=true] .content i.material-icons, +i.material-icons { font-family: 'Material Icons'; font-weight: normal; font-style: normal; @@ -36,4 +38,9 @@ /* Support for IE. */ font-feature-settings: 'liga'; -} \ No newline at end of file +} + +material-button .content i.material-icons, +material-button[rounded=true] .content i.material-icons { + margin: auto; +} diff --git a/src/style.css b/src/style.css index d3f1951..66e3161 100644 --- a/src/style.css +++ b/src/style.css @@ -175,16 +175,21 @@ material-card table th { text-align: left; } +material-card material-button:hover, material-card table tbody tr:hover { background-color: #eee; } +material-card material-button, +material-card table tbody tr { + transition-duration: .28s; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); + transition-property: background-color; +} + material-card table tbody tr { position: relative; height: 48px; - transition-duration: .28s; - transition-timing-function: cubic-bezier(.4, 0, .2, 1); - transition-property: background-color; } material-card table td { @@ -223,6 +228,7 @@ material-card table th.material-card-th-sorted-descending:before { content: "\e5db"; } +material-button .content i.material-icons, .material-icons { color: #777; } @@ -339,10 +345,6 @@ select { text-align: center; } -.copy-to-clipboard a:hover { - cursor: pointer; -} - tag-history material-card { min-height: auto; } @@ -382,4 +384,17 @@ tag-history-element.id div.value { tag-history-button button { background: none; border: none; -} \ No newline at end of file +} + +material-button { + max-height: 30px; + max-width: 30px; +} + +material-button:hover material-waves { + background: none; +} + +material-card material-button { + background-color: inherit; +} diff --git a/src/tags/app.tag b/src/tags/app.tag index 957b3b6..bd5ef4e 100644 --- a/src/tags/app.tag +++ b/src/tags/app.tag @@ -231,6 +231,11 @@ along with this program. If not, see . const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024))); return Math.ceil(bytes / Math.pow(1024, i)) + ' ' + sizes[i]; }; + + registryUI.taglist.go = function(image) { + route('taglist/' + image); + }; + route.start(true); \ No newline at end of file diff --git a/src/tags/catalog.tag b/src/tags/catalog.tag index c1a1bc4..d31e732 100644 --- a/src/tags/catalog.tag +++ b/src/tags/catalog.tag @@ -27,7 +27,7 @@ along with this program. If not, see .