Remove old hub styles
This commit is contained in:
parent
c1438c6169
commit
1ff25279bf
@ -218,169 +218,3 @@ body[data-route^="marketplace/"] {
|
||||
margin-top: calc(30vh);
|
||||
}
|
||||
}
|
||||
|
||||
body[data-route^="Hub/"] {
|
||||
.hub-icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.img-wrapper {
|
||||
border: 1px solid #d1d8dd;
|
||||
border-radius: 3px;
|
||||
padding: 12px;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
|
||||
.helper {
|
||||
height: 100%;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.tree {
|
||||
margin: 10px 0px;
|
||||
padding: 0px;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.tree.with-skeleton.opened::before {
|
||||
left: 9px;
|
||||
top: 14px;
|
||||
height: calc(~"100% - 32px");
|
||||
}
|
||||
|
||||
.list-header-icon {
|
||||
width: 72px;
|
||||
border-radius: 4px;
|
||||
flex-shrink: 0;
|
||||
margin: 10px;
|
||||
padding: 1px;
|
||||
border: 1px solid @border-color;
|
||||
height: 72px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
img {
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.star-icon.fa-star {
|
||||
color: @indicator-orange;
|
||||
}
|
||||
|
||||
.octicon-heart.liked {
|
||||
color: @indicator-red;
|
||||
}
|
||||
|
||||
.margin-vertical-10 {
|
||||
margin: 10px 0px;
|
||||
}
|
||||
|
||||
.margin-vertical-15 {
|
||||
margin: 15px 0px;
|
||||
}
|
||||
|
||||
.frappe-list .result {
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
.frappe-control[data-fieldtype="Attach Image"] {
|
||||
width: 140px;
|
||||
height: 180px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.frappe-control[data-fieldtype="Attach Image"] .form-group {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.frappe-control[data-fieldtype="Attach Image"] .clearfix {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.missing-image {
|
||||
display: block;
|
||||
position: relative;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #d1d8dd;
|
||||
border-radius: 6px;
|
||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.missing-image .octicon {
|
||||
position: relative;
|
||||
top: 50%;
|
||||
transform: translate(0px, -50%);
|
||||
-webkit-transform: translate(0px, -50%);
|
||||
}
|
||||
.attach-image-display {
|
||||
display: block;
|
||||
position: relative;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.img-container {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
padding: 2px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
border: 1px solid #d1d8dd;
|
||||
border-radius: 6px;
|
||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.img-overlay {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: #777777;
|
||||
background-color: rgba(255, 255, 255, 0.7);
|
||||
opacity: 0;
|
||||
}
|
||||
.img-overlay:hover {
|
||||
opacity: 1;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.image-view-container {
|
||||
.image-view-body {
|
||||
&:hover .like-button {
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
.like-button {
|
||||
bottom: 10px !important;
|
||||
left: 10px !important;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
opacity: 0;
|
||||
font-size: 16px;
|
||||
color: @text-color;
|
||||
position: absolute;
|
||||
|
||||
// show zoom button on mobile devices
|
||||
@media (max-width: @screen-xs) {
|
||||
opacity: 0.5
|
||||
}
|
||||
}
|
||||
|
||||
.image-view-body:hover .like-button {
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
.rating-area .star-icon {
|
||||
cursor: pointer;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user