diff --git a/dashboard-ui/css/detailtable.css b/dashboard-ui/css/detailtable.css new file mode 100644 index 000000000..9567146ba --- /dev/null +++ b/dashboard-ui/css/detailtable.css @@ -0,0 +1,48 @@ +.detailTable { + border-collapse: collapse; + border-spacing: 0; + width: 100%; + max-width: 1200px; + text-align: left; +} + +.centeredDetailTable { + margin: auto; +} + +.stretchedDetailTable { + width: 100%; +} + +.detailTable a { + text-decoration: none; +} + + .detailTable a:hover { + text-decoration: underline; + } + +.detailTable td { + border-spacing: 0; + border-top: 1px solid #444; + border-bottom: 1px solid #444; + padding: 3px 5px; +} + +.detailTable th { + border-spacing: 0; + border-bottom: 1px solid #444; + padding: 5px; + font-weight: normal; + text-align: left; + vertical-align: top; +} + +.detailTable .imgUserItemRating { + width: 18px; + height: 18px; +} + +.userDataCell { + width: 140px; +} diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index 6fb16886d..5eb5aab14 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -33,7 +33,7 @@ } .listHeader { - margin-top: 1em; + margin-top: .5em; margin-bottom: 5px; } @@ -554,53 +554,4 @@ .itemsContainer { text-align: center; -} - -.detailTable { - border-collapse: collapse; - border-spacing: 0; - width: 100%; - max-width: 1200px; - text-align: left; -} - -.centeredDetailTable { - margin: auto; -} - -.stretchedDetailTable { - width: 100%; -} - -.detailTable a { - text-decoration: none; -} - -.detailTable a:hover { - text-decoration: underline; -} - -.detailTable td { - border-spacing: 0; - border-top: 1px solid #444; - border-bottom: 1px solid #444; - padding: 3px 5px; -} - -.detailTable th { - border-spacing: 0; - border-bottom: 1px solid #444; - padding: 5px; - font-weight: normal; - text-align: left; - vertical-align: top; -} - -.detailTable .imgUserItemRating { - width: 18px; - height: 18px; -} - -.userDataCell { - width: 140px; -} +} \ No newline at end of file diff --git a/dashboard-ui/css/posteritem.css b/dashboard-ui/css/posteritem.css new file mode 100644 index 000000000..0b511affd --- /dev/null +++ b/dashboard-ui/css/posteritem.css @@ -0,0 +1,61 @@ +.posterItem { + margin: 3px; + text-shadow: none; + font-weight: normal!important; + display: inline-block; + font-size: 14px; + position: relative; + color: #fff; + text-decoration: none; + text-align: left; + overflow: hidden; +} + + .posterItem:hover { + -moz-box-shadow: 0 0 20px 3px #2572EB; + -webkit-box-shadow: 0 0 20px 3px #2572EB; + box-shadow: 0 0 20px 3px #2572EB; + } + +.posterItemImage { + background-size: contain; + background-repeat: no-repeat; + background-position: center bottom; + overflow: hidden; +} + +.defaultPosterItemImage { + background-color: #999; +} + +.posterItemText { + text-overflow: ellipsis; + overflow: hidden; + text-wrap: none; + white-space: nowrap; + padding: 4px 5px 4px; + background: #181818; + text-shadow: none; +} + + .posterItemText + .posterItemText { + padding-top: 2px; + } + +.squarePosterItem { + width: 200px; +} + + .squarePosterItem .posterItemImage { + height: 200px; + background-size: 200px auto; + } + +.backdropPosterItem { + width: 160px; +} + + .backdropPosterItem .posterItemImage { + height: 90px; + background-size: 160px auto; + } diff --git a/dashboard-ui/css/site.css b/dashboard-ui/css/site.css index a0024e13f..bf96fd99d 100644 --- a/dashboard-ui/css/site.css +++ b/dashboard-ui/css/site.css @@ -438,10 +438,8 @@ form, .readOnlyContent { text-align: right; top: 0; right: 0; - width: 75px!important; - height: 75px!important; - max-width: 75px!important; - max-height: 75px!important; + width: 60px; + height: 60px; } .posterViewItemText { @@ -481,7 +479,7 @@ form, .readOnlyContent { .posterViewItem img { max-width: 190px; - max-height: 160px; + max-height: 130px; } } @@ -493,7 +491,7 @@ form, .readOnlyContent { .posterViewItem img { max-width: 270px; - max-height: 220px; + max-height: 160px; } } @@ -518,7 +516,7 @@ form, .readOnlyContent { .posterViewItem img { max-width: 310px; - max-height: 250px; + max-height: 210px; } } diff --git a/dashboard-ui/musicrecommended.html b/dashboard-ui/musicrecommended.html index 88f09160b..885b7b210 100644 --- a/dashboard-ui/musicrecommended.html +++ b/dashboard-ui/musicrecommended.html @@ -15,6 +15,18 @@ Artists Genres + +