cobuild-angular-stack
Version:
Base stack angular sass jade gulp
260 lines (255 loc) • 4.68 kB
text/less
#catalog {
aside.filters {
ul {
list-style: none;
}
}
.header-list {
.main-group-btn {
margin-top: 22px;
}
}
.body-grid {
margin-top: 30px;
.list-group {
position: relative;
.action-float {
position: absolute;
right: 0;
top: 0;
font-size: 54px;
width: 77px;
text-align: center;
z-index: 1;
background: rgba(185, 185, 185, 0.4);
}
.list-group-item {
text-align: center;
&.pw-container {
line-height: 150px;
img {
max-height: 150px;
max-width: 100%;
}
}
&.description {
height: 100px;
}
&.title {
> * {
display: inline-block;
vertical-align: middle;
}
}
}
}
}
.table {
.cell-text {
display: inline-block;
}
.sort {
display: inline-block;
height: 25px;
width: 16px;
text-align: center;
vertical-align: bottom;
font-weight: normal;
}
.fa {
position: absolute;
&:hover, &.active {
cursor: pointer;
color: @color-pink;
}
&.fa-chevron-up {
top: 0;
}
&.fa-chevron-down {
bottom: 0;
}
}
th:first-child {
width: 9%;
}
th:nth-child(3) {
width: 16%;
}
}
}
#new-gift {
.main-image {
> * {
width: 90%;
margin: 0 auto;
display: block;
background-color: #FFF;
}
}
.carousel {
width: 75%;
margin: 10px auto;
.carousel-item {
text-align: center;
line-height: 100px;
&:focus {
outline: none;
}
.remove {
position: absolute;
top: 50%;
left: 50%;
margin-top: -15px;
margin-left: -15px;
color: #F00;
opacity: 0;
transition: all 1s;
font-size: 30px;
line-height: 30px;
vertical-align: middle;
display: inline-block;
}
&:hover {
.remove {
opacity: 1;
}
}
.child {
max-width: 70px;
max-height: 70px;
text-align: center;
line-height: 70px;
font-size: 30px;
display: inline-block;
&.uploader {
width: 100%;
.input-uploader {
position: absolute;
opacity: 0;
height: 100%;
width: 100%;
cursor: pointer;
left: 0px;
top: 0px;
}
}
}
}
.btn-prev,
.btn-next {
font-size: 24px;
position: absolute;
top: 50%;
display: block;
width: 24px;
height: 24px;
margin-top: -12px;
padding: 0;
cursor: pointer;
color: #868686;
border: none;
outline: none;
}
.btn-next {
right: -30px;
}
.btn-prev {
left: -30px;
}
}
.editable-icon {
font-size: 15px;
}
.editable-checklist label {
display: block;
}
}
.gifts-received {
td {
vertical-align: middle ;
border-top: none ;
font-size: 15px;
min-height: 100px;
}
th {
color: @color-slate-gray;
font-size: 14px;
letter-spacing: 1.4px;
text-transform: uppercase;
font-weight: normal;
}
tr {
border-bottom: 1px solid rgb(224, 224, 229);
}
.img-gift {
width: 74px;
height: 74px;
border: 1px solid rgb(224, 224, 229);
display: inline-block;
position: relative;
> div {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-size: cover;
}
}
.btn {
width: 95px;
color: white ;
&.btn-dark {
width: 80px;
height: 35px;
padding: 5px;
background: #7d8c93;
border-radius: 5px;
margin-top: 0px;
}
}
.display-button {
position: relative ;
margin-left: 0 ;
}
.gift-in-groups {
width: 100%;
border-top: none;
margin-bottom: 0;
tr {
border-bottom: 0;
}
.sort {
height: 0 ;
}
}
}
table.search-table {
tr {
border-bottom: 2px solid #ddd;
}
td {
border-top: none ;
&.image-container {
width: 20%;
padding-top: 20px;
img {
max-width: 100%;
border-radius: 100%;
}
}
&.data-container {
padding-top: 35px;
}
&.btn-container {
padding-top: 40px;
width: 100px;
.btn {
width: 100%;
}
}
> * {
padding-bottom: 10px;
}
}
}