add Add to collection buttons

This commit is contained in:
Luke Pulverenti 2015-01-23 23:50:45 -05:00
parent 9b452f3b53
commit 218e086d94
19 changed files with 481 additions and 214 deletions

View file

@ -160,12 +160,6 @@
vertical-align: middle;
}
.viewMenuTextLink:hover {
background-color: #38c;
color: #fff !important;
opacity: 1;
}
.headerButtonRight:hover {
opacity: .5;
}
@ -183,36 +177,27 @@
vertical-align: top;
}
.viewMenuTextLink {
display: block;
padding: .7em .5em .6em 38px !important;
font-size: 14px;
.librarySidebarLinks a {
font-weight: 300 !important;
font-family: Roboto;
background-repeat: no-repeat;
background-size: 13px 13px;
background-position: 12px center;
}
.librarySidebarLinks a:hover {
background-color: #38c !important;
color: #fff !important;
}
.musicViewMenu {
background-image: url(images/items/folders/music.png);
}
.homeViewMenu {
background-image: url(images/mblogoicon.png);
background-size: 39px 26px;
background-position: 10px center;
padding-left: 60px !important;
background-image: url(images/mblogoicon.png) !important;
background-size: 39px 26px !important;
background-position: 13px center !important;
padding-left: 66px !important;
background-repeat: no-repeat !important;
}
.iconViewMenu {
padding-left: 13px !important;
}
.iconViewMenu span {
margin-right: 11px !important;
}
.viewMenuSecondary {
position: absolute;
top: 0;

183
dashboard-ui/css/materialize.css vendored Normal file
View file

@ -0,0 +1,183 @@
.z-depth-1, nav, .card-panel, .toast, .btn, .btn-large, .btn-floating, .dropdown-content, .collapsible, ul.side-nav.full, ul.side-nav.fixed {
-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
-moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.z-depth-1-half, .btn:hover, .btn-large:hover, .btn-floating:hover, .modal {
-webkit-box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
-moz-box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.toast .btn, .toast .btn-large, .toast .btn-flat {
margin: 0;
margin-left: 3rem;
}
.btn, .btn-large, .btn-flat {
display: block;
padding: 0 2rem;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
background-clip: padding-box;
text-transform: uppercase;
border: none;
outline: 0;
-webkit-tap-highlight-color: transparent;
margin-bottom: 15px;
}
.btn.disabled, .disabled.btn-large, .btn-floating.disabled, .btn-large.disabled, .btn:disabled, .btn-large:disabled, .btn-large:disabled, .btn-floating:disabled {
background-color: #DFDFDF;
box-shadow: none;
color: #9F9F9F;
}
.btn.disabled:hover, .disabled.btn-large:hover, .btn-floating.disabled:hover, .btn-large.disabled:hover, .btn:disabled:hover, .btn-large:disabled:hover, .btn-large:disabled:hover, .btn-floating:disabled:hover {
background-color: #DFDFDF;
color: #9F9F9F;
}
.btn i, .btn-large i, .btn-floating i, .btn-large i, .btn-flat i {
font-size: 1.3rem;
}
.btn, .btn-large {
text-decoration: none;
color: #FFF;
background-color: #2196F3;
text-align: center;
letter-spacing: 0.5px;
-webkit-transition: 0.2s ease-out;
-moz-transition: 0.2s ease-out;
-o-transition: 0.2s ease-out;
-ms-transition: 0.2s ease-out;
transition: 0.2s ease-out;
cursor: pointer;
}
.btn-floating {
display: inline-block;
position: relative;
z-index: 1;
width: 37px;
height: 37px;
line-height: 37px;
padding: 0;
background-color: #2196F3;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
background-clip: padding-box;
-webkit-transition: 0.3s;
-moz-transition: 0.3s;
-o-transition: 0.3s;
-ms-transition: 0.3s;
transition: 0.3s;
cursor: pointer;
}
.btn-floating i {
width: inherit;
display: inline-block;
text-align: center;
color: #FFF;
font-size: 1.6rem;
line-height: 37px;
}
.btn-floating.btn-large {
width: 55.5px;
height: 55.5px;
}
.btn-floating.btn-large i {
line-height: 55.5px;
}
.btn-flat {
box-shadow: none;
background-color: transparent;
color: #343434;
cursor: pointer;
}
.btn-flat.disabled {
color: #b3b3b3;
}
.btn {
padding: .6em 2em;
}
.btn-large {
padding: 1em 2em;
}
.btn-large i {
font-size: 1.6rem;
}
.btn, .btn-large {
background-color: #38c;
}
.btnAction {
background-color: #ee6e73;
}
.btnAltAction {
background-color: #ff8f00;
}
.btnActionAccent {
background-color: #52B54B;
}
.btn, .btn-large {
color: #fff !important;
font-weight: 500 !important;
font-size: 15px;
font-family: Roboto !important;
}
.btnCancel {
background-color: #444;
}
.ui-page-theme-a .btnCancel {
background-color: #e8e8e8;
color: #333!important;
}
.ui-page-theme-a .btnCancel i {
color: #666!important;
}
.btn-inline {
display: inline-block;
width: auto;
margin-bottom: 0;
}
button.btn:not(.btn-inline),button.btn-large:not(.btn-inline) {
width: 100%;
}
.btn i, .btn-large i, .btn span, .btn-large span {
vertical-align: middle;
}
.btn i {
position: absolute;
left: 24px;
}
.btn-large i {
position: absolute;
left: 24px;
top: 22px;
}

View file

@ -135,47 +135,4 @@
.imgNotificationWarning .imgNotificationInner {
background-image: url(images/notifications/error.png);
}
.waves-effect {
position: relative;
cursor: pointer;
display: inline-block;
overflow: hidden;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
z-index: 1;
will-change: opacity, transform;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
.btn-flat {
box-shadow: none;
background-color: transparent;
color: #343434;
cursor: pointer;
}
.btn, .btn-large, .btn-flat {
display: inline-block;
height: 36px;
margin-bottom: 15px;
padding: 0 2rem;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
background-clip: padding-box;
line-height: 36px;
text-transform: uppercase;
border: none;
outline: 0;
-webkit-tap-highlight-color: transparent;
}
}

View file

@ -140,39 +140,37 @@
}
.headerSearchInput {
width: 100%;
margin-top: 12px;
margin: 0;
background: #222;
border: 0;
color: #ddd;
border-radius: 3px;
padding: 5px 7px 4px 50px;
padding: 4px 7px 3px 50px;
font-size: 14px;
font-family: Roboto;
outline: none;
vertical-align: middle;
width: 200px;
}
.searchInputIcon {
position: absolute;
left: 20px;
top: 19px;
top: 6px;
font-size: 14px !important;
color: #ddd !important;
}
.viewMenuSearch {
position: absolute;
top: 0;
left: 40%;
right: 40%;
position: relative;
display: none;
padding-right: 55px;
margin-left: 2em;
}
@media all and (min-width: 800px) {
@media all and (min-width: 900px) {
.viewMenuSearch {
display: block;
display: inline-block;
}
.headerSearchButton {
@ -180,17 +178,9 @@
}
}
@media all and (min-width: 1200px) {
.viewMenuSearch {
left: 42%;
right: 42%;
}
}
.searchResultsOverlay {
position: fixed;
background: #222 !important;
background: rgba(34, 34, 34, 1);
top: 50px;
left: 0;
right: 0;
@ -202,3 +192,8 @@
.searchResultsContainer {
padding: 2em;
}
.btnCloseSearch {
margin-left: 5px;
outline: 0;
}

View file

@ -1042,3 +1042,17 @@ h1 + .accentButton {
.dashboardFooter .appLinks img {
height: 16px;
}
.supporterPromotion {
margin: 1em 0;
}
@media all and (min-width: 1200px) {
.supporterPromotion {
position: absolute;
top: 70px;
right: 20px;
margin: 0;
}
}