2018-03-08 15:57:19 -05:00
|
|
|
@import "../../colors";
|
|
|
|
@import "../../frameless";
|
|
|
|
|
2018-05-02 15:27:49 -04:00
|
|
|
/* override view padding for share banner */
|
|
|
|
#view {
|
|
|
|
padding: 0 0 20px 0;
|
|
|
|
}
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.gui {
|
2018-05-02 15:27:49 -04:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
z-index: 11;
|
2018-03-15 17:40:16 -04:00
|
|
|
margin: 0;
|
2018-03-08 15:57:19 -05:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2018-05-02 15:27:49 -04:00
|
|
|
// .gui * { box-sizing: border-box; }
|
2018-03-08 15:57:19 -05:00
|
|
|
|
2018-03-14 15:50:27 -04:00
|
|
|
.preview {
|
2018-05-02 15:27:49 -04:00
|
|
|
|
2018-04-24 11:00:47 -04:00
|
|
|
.project-title {
|
|
|
|
font-size: 1.75rem;
|
2018-03-14 15:50:27 -04:00
|
|
|
font-weight: 500;
|
2018-04-24 11:00:47 -04:00
|
|
|
|
|
|
|
&.has-error {
|
|
|
|
|
|
|
|
.validation-message {
|
|
|
|
transform: translate(22rem, 0);
|
|
|
|
}
|
|
|
|
}
|
2018-03-14 15:50:27 -04:00
|
|
|
}
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
img {
|
|
|
|
|
|
|
|
&.avatar {
|
|
|
|
border: 0;
|
|
|
|
border-radius: 5px;
|
|
|
|
width: 3rem;
|
|
|
|
|
|
|
|
&.remix {
|
|
|
|
margin-right: .5em;
|
|
|
|
width: 1.5rem;
|
|
|
|
}
|
|
|
|
}
|
2018-03-14 15:50:27 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
margin-left: 1rem;
|
|
|
|
text-align: left;
|
2018-03-15 17:40:16 -04:00
|
|
|
font-size: .8rem;
|
2018-03-14 15:50:27 -04:00
|
|
|
}
|
|
|
|
|
2018-04-24 11:00:47 -04:00
|
|
|
.validation-message {
|
|
|
|
$arrow-border-width: 1rem;
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
margin-left: $arrow-border-width;
|
|
|
|
border: 1px solid $active-gray;
|
|
|
|
border-radius: 5px;
|
|
|
|
background-color: $ui-orange;
|
|
|
|
padding: 1rem;
|
|
|
|
max-width: 18.75rem;
|
|
|
|
min-height: 1rem;
|
|
|
|
overflow: visible;
|
|
|
|
color: $type-white;
|
|
|
|
font-size: 1rem;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 1rem;
|
|
|
|
left: -$arrow-border-width / 2;
|
|
|
|
|
|
|
|
transform: rotate(45deg);
|
|
|
|
|
|
|
|
border-bottom: 1px solid $active-gray;
|
|
|
|
border-left: 1px solid $active-gray;
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
|
|
background-color: $ui-orange;
|
|
|
|
width: $arrow-border-width;
|
|
|
|
height: $arrow-border-width;
|
|
|
|
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.row {
|
|
|
|
|
|
|
|
&.has-error {
|
|
|
|
.inplace-input,
|
|
|
|
.inplace-textarea {
|
|
|
|
border: 1px solid $ui-orange;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.col-sm-9 {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-14 15:50:27 -04:00
|
|
|
.button {
|
|
|
|
margin-left: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comments-container {
|
|
|
|
width: 60%;
|
|
|
|
}
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.share-button,
|
|
|
|
.remix-button,
|
|
|
|
.see-inside-button {
|
|
|
|
font-size: .875rem;
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: .5rem;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
background-size: contain;
|
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
|
|
|
vertical-align: middle;
|
|
|
|
content: "";
|
|
|
|
}
|
2018-03-08 15:57:19 -05:00
|
|
|
}
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.shareText {
|
|
|
|
align-self: center;
|
2018-03-08 15:57:19 -05:00
|
|
|
}
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.share-button {
|
|
|
|
background-color: $ui-orange;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
background-image: url("/svgs/favorite/favorite_type-gray.svg");
|
|
|
|
}
|
2018-03-08 15:57:19 -05:00
|
|
|
}
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.remix-button {
|
|
|
|
background-color: $ui-green;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
background-image: url("/svgs/remix/remix_type-gray.svg");
|
|
|
|
}
|
2018-03-08 15:57:19 -05:00
|
|
|
}
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.see-inside-button {
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
background-image: url("/images/emoji/cool-cat.png");
|
|
|
|
}
|
|
|
|
}
|
2018-03-14 15:50:27 -04:00
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.preview-row {
|
|
|
|
margin-top: 1rem;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
2018-03-08 15:57:19 -05:00
|
|
|
|
2018-05-02 15:27:49 -04:00
|
|
|
.guiPlayer {
|
2018-03-15 17:40:16 -04:00
|
|
|
display: inline-block;
|
|
|
|
width: 480px;
|
|
|
|
}
|
2018-03-08 15:57:19 -05:00
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.project-notes {
|
|
|
|
width: 45%;
|
|
|
|
height: 404px;
|
|
|
|
flex-flow: column;
|
|
|
|
align-items: left;
|
|
|
|
}
|
2018-03-08 15:57:19 -05:00
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.share-date {
|
|
|
|
height: 2.5rem;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2018-03-08 15:57:19 -05:00
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.remix-credit {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
border: 1px solid $ui-blue-10percent;
|
|
|
|
border-radius: 8px;
|
|
|
|
background-color: $ui-blue-10percent;
|
|
|
|
padding: .5rem;
|
|
|
|
width: 100%;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
2018-03-08 15:57:19 -05:00
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.credit-text {
|
|
|
|
font-size: .875rem;
|
|
|
|
flex-shrink: 1;
|
2018-03-08 15:57:19 -05:00
|
|
|
}
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.project-description {
|
|
|
|
border: 1px solid $ui-blue-10percent;
|
|
|
|
border-radius: 8px;
|
|
|
|
background-color: $ui-blue-10percent;
|
|
|
|
padding: .5rem;
|
|
|
|
width: 100%;
|
|
|
|
white-space: pre-line;
|
|
|
|
overflow-y: scroll;
|
|
|
|
flex: 1;
|
2018-04-24 11:00:47 -04:00
|
|
|
|
|
|
|
&.textarea-row {
|
|
|
|
border: 0;
|
|
|
|
background-color: inherit;
|
|
|
|
padding: 0;
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.has-error {
|
|
|
|
.validation-message {
|
|
|
|
transform: translate(26rem, 0);
|
|
|
|
}
|
|
|
|
}
|
2018-03-08 15:57:19 -05:00
|
|
|
}
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.copyleft {
|
|
|
|
display: inline-block;
|
|
|
|
transform: scale(-1, 1);
|
|
|
|
margin: 0;
|
|
|
|
text-align: right;
|
2018-03-08 15:57:19 -05:00
|
|
|
}
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.stats {
|
|
|
|
width: 480px;
|
|
|
|
justify-content: flex-start;
|
2018-03-08 15:57:19 -05:00
|
|
|
}
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.project-loves,
|
|
|
|
.project-favorites,
|
|
|
|
.project-remixes,
|
|
|
|
.project-views {
|
|
|
|
|
|
|
|
display: inline;
|
|
|
|
padding-right: 2rem;
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: .1rem;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
background-size: contain;
|
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
content: "";
|
|
|
|
}
|
2018-03-08 15:57:19 -05:00
|
|
|
}
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.project-loves {
|
|
|
|
|
2018-04-24 11:00:47 -04:00
|
|
|
cursor: pointer;
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
&:before {
|
|
|
|
background-image: url("/svgs/love/love_type-gray.svg");
|
|
|
|
}
|
2018-03-08 15:57:19 -05:00
|
|
|
}
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.project-loves.loved {
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
background-image: url("/svgs/messages/love.svg");
|
|
|
|
}
|
2018-03-08 15:57:19 -05:00
|
|
|
}
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.project-favorites {
|
|
|
|
|
2018-04-24 11:00:47 -04:00
|
|
|
cursor: pointer;
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
&:before {
|
|
|
|
background-image: url("/svgs/favorite/favorite_type-gray.svg");
|
|
|
|
}
|
|
|
|
}
|
2018-03-08 15:57:19 -05:00
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.project-favorites.favorited {
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
background-image: url("/svgs/messages/favorite.svg");
|
|
|
|
}
|
|
|
|
}
|
2018-03-08 15:57:19 -05:00
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.project-remixes {
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
background-image: url("/svgs/remix/remix_type-gray.svg");
|
2018-03-08 15:57:19 -05:00
|
|
|
}
|
2018-03-15 17:40:16 -04:00
|
|
|
}
|
2018-03-08 15:57:19 -05:00
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
.project-views {
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
background-image: url("/svgs/view/view_type-gray.svg");
|
2018-03-08 15:57:19 -05:00
|
|
|
}
|
2018-03-15 17:40:16 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.action-buttons {
|
|
|
|
display: flex;
|
|
|
|
width: 40%;
|
|
|
|
color: $type-white;
|
|
|
|
font-size: .8rem;
|
|
|
|
font-weight: 500;
|
|
|
|
justify-content: flex-end;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 5px;
|
|
|
|
border: 1px solid $ui-blue;
|
|
|
|
border-radius: 50px;
|
|
|
|
background-color: $ui-blue;
|
|
|
|
padding: .5em .75em .5em 1.5em;
|
|
|
|
text-decoration: none;
|
|
|
|
color: $type-white;
|
|
|
|
list-style-type: none;
|
2018-03-08 15:57:19 -05:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
transition: background-color .25s ease;
|
|
|
|
border-color: transparent;
|
|
|
|
background-color: $active-gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
border: 0 solid transparent;
|
|
|
|
box-shadow: inset 0 0 5px $box-shadow-gray;
|
|
|
|
background-color: $active-dark-gray;
|
|
|
|
padding: calc(.75em + 1px) calc(1.5em + 1px);
|
|
|
|
}
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
&.report {
|
|
|
|
border: 1px solid $ui-coral;
|
|
|
|
background-color: $ui-coral;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
transition: background-color .25s ease;
|
|
|
|
border-color: transparent;
|
|
|
|
background-color: $active-gray;
|
2018-03-08 15:57:19 -05:00
|
|
|
}
|
|
|
|
|
2018-03-15 17:40:16 -04:00
|
|
|
&:active {
|
|
|
|
border: 0 solid transparent;
|
|
|
|
box-shadow: inset 0 0 5px $box-shadow-gray;
|
|
|
|
background-color: $active-dark-gray;
|
|
|
|
padding: calc(.75em + 1px) calc(1.5em + 1px);
|
2018-03-08 15:57:19 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-04-24 11:00:47 -04:00
|
|
|
|
|
|
|
.remix-list,
|
|
|
|
.studio-list {
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.project {
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.creator-image img {
|
|
|
|
max-width: 2rem;
|
|
|
|
max-height: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail-column {
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2018-03-08 15:57:19 -05:00
|
|
|
}
|