Skip to content

Instantly share code, notes, and snippets.

@vansika
Created October 14, 2020 06:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vansika/d0cf7e64f3934f33841aeacc3c7c92ef to your computer and use it in GitHub Desktop.
Save vansika/d0cf7e64f3934f33841aeacc3c7c92ef to your computer and use it in GitHub Desktop.
#recommendations {
padding: 10px;
> .recommendation-card {
padding: 15px;
margin-bottom: 7px;
max-height: 72px;
&.current-recommendation {
background-color: rgba(217, 237, 247, 0.3) !important ;
}
div {
padding: 0px;
}
> .col-xs-9, .col-xs-11 {
> .col-xs-9, .col-xs-11 {
display: flex;
.track-details {
width: 100%;
p {
overflow: hidden;
text-overflow: ellipsis;
white-space:nowrap;
margin-bottom: 0px;
}
}
}
}
> .col-xs-1 {
display: table;
height: 40px;
> * {
display: table-cell;
vertical-align: middle;
}
a {
word-break: break-word;
}
.recommendation-controls {
> svg:hover {
cursor: pointer;
}
.smile, .laugh, .angry, .disappoint, .meh {
font-size: 18px;
margin: 0% 7%;
}
.dropdown-menu {
min-width: 400px;
vertical-align: middle;
button {
width: 100%;
background: none;
color: inherit;
border: none;
padding: 5px 20px;
font: inherit;
cursor: pointer;
outline: inherit;
text-align: left;
&:hover {
color: #ffffff;
background-color: #eb743b;
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment