From c1f9d02afbe34ef17edf036b8d5e841abc147855 Mon Sep 17 00:00:00 2001 From: Joxit Date: Thu, 21 Sep 2017 00:00:15 +0200 Subject: [PATCH] [riot-mui] Add riot-mui in taglist (#17) --- src/style.css | 92 +++++++++++++++++++++++++++++++++++++++++++- src/tags/taglist.tag | 81 +++++++++++++++----------------------- 2 files changed, 121 insertions(+), 52 deletions(-) diff --git a/src/style.css b/src/style.css index 410b8bb..594ef04 100644 --- a/src/style.css +++ b/src/style.css @@ -46,7 +46,8 @@ html > body { word-break: break-all; } -.mdl-logo a { +.mdl-logo a, +.material-card-title-action a { color: inherit; text-decoration: none; font-weight: inherit; @@ -122,3 +123,92 @@ h2 { -ms-flex-align: center; align-items: center; } + +.material-card-title-action { + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + display: block; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 16px; +} + +.material-card-title-action h2 { + margin: 0; +} + +material-card table { + width: 100%; + border: none; + position: relative; + border: 1px solid rgba(0,0,0,.12); + border-collapse: collapse; + white-space: nowrap; + font-size: 13px; + background-color: #fff; + border: none; +} + +material-card table th { + font-size: 18px; + vertical-align: bottom; + line-height: 24px; + height: 48px; + color: rgba(0,0,0,.54); + box-sizing: border-box; + padding: 0 18px 12px 18px; + text-align: right; +} + +.material-card-th-left { + text-align: left; +} + +material-card table tbody tr:hover { + background-color: #eee; +} + +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 { + font-size: 16px; + position: relative; + height: 48px; + border-top: 1px solid rgba(0,0,0,.12); + border-bottom: 1px solid rgba(0,0,0,.12); + padding: 12px 18px; + box-sizing: border-box; + vertical-align: middle; + text-align: right; +} +material-card table th.material-card-th-sorted-ascending:hover, +material-card table th.material-card-th-sorted-descending:hover { + cursor: pointer; +} +material-card table th.material-card-th-sorted-ascending:hover:before, +material-card table th.material-card-th-sorted-descending:hover:before { + color: rgba(0,0,0,.26); +} + +material-card table th.material-card-th-sorted-ascending:before, +material-card table th.material-card-th-sorted-descending:before { + font-family: 'Material Icons'; + font-weight: 400; + font-style: normal; + line-height: 1; + font-size: 16px; + content: "\e5d8"; + margin-right: 5px; + vertical-align: sub; +} +material-card table th.material-card-th-sorted-descending:before { + content: "\e5db"; +} \ No newline at end of file diff --git a/src/tags/taglist.tag b/src/tags/taglist.tag index 18904c9..d431ec2 100644 --- a/src/tags/taglist.tag +++ b/src/tags/taglist.tag @@ -16,40 +16,35 @@ --> -
-
-
- - arrow_back - -

Tags of { registryUI.url() + '/' + registryUI.taglist.name }

-
-
- - - - - - - - - - - - - - - -
RepositoryTag
{ registryUI.taglist.name }{ item } - -
+ +
+ + arrow_back + +

Tags of { registryUI.url() + '/' + registryUI.taglist.name }

-
-
- +
+
-
- + + + + + + + + + + + + + + + +
RepositoryTag
{ registryUI.taglist.name }{ item } + +
+