fuse-angular/src/app/main/content/apps/scrumboard/scrumboard.component.scss
mustafahlvc cd99fbf77a (Scrumboard App) added
+ md2 added for date-time picker,
+ toggleInArray func added to FuseUtils
2017-08-30 06:54:11 +03:00

188 lines
3.7 KiB
SCSS

@import "src/app/core/scss/fuse";
:host {
min-height: 100%;
#board-selector {
margin-top: 88px;
.board-list {
padding: 32px 0;
.board-list-item {
min-width: 210px;
width: 210px;
padding: 24px 0;
margin: 16px;
border-radius: 2px;
background: rgba(0, 0, 0, 0.12);
cursor: pointer;
&:hover {
@include mat-elevation(4);
}
.board-name {
padding-top: 16px;
font-weight: 500;
}
}
}
}
}
#scrumboard {
height: 100%;
> .header {
position: relative;
height: 96px;
min-height: 96px;
max-height: 96px;
background-image: none;
z-index: 49;
.header-content {
.header-boards-button {
margin: 0;
}
.header-board-name {
font-size: 16px;
.board-subscribe {
margin-right: 8px;
}
.editable-buttons {
md-icon {
color: #FFFFFF !important;
}
}
}
.right-side {
> .md-button:last-child {
margin-right: 0;
}
}
}
}
#board-selector {
position: absolute;
top: 96px;
right: 0;
left: 0;
height: 192px;
z-index: 48;
padding: 24px;
opacity: 1;
.board-list-item {
width: 128px;
height: 192px;
padding: 16px;
cursor: pointer;
position: relative;
.board-name {
text-align: center;
padding: 16px 0;
}
.selected-icon {
position: absolute;
top: 0;
left: 50%;
width: 32px;
height: 32px;
margin-left: -16px;
border-radius: 50%;
text-align: center;
color: white;
i {
line-height: 32px !important;
}
}
&.add-new-board {
opacity: 0.6;
}
}
}
.content {
padding: 0;
background: transparent;
}
.editable-click {
cursor: pointer;
text-decoration: none;
color: inherit;
border-bottom: none;
}
.editable-wrap {
display: block;
position: relative;
.editable-controls {
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
.editable-input {
width: inherit;
background-color: white;
padding: 8px;
border: 1px solid rgba(0, 0, 0, 0.12);
}
.editable-buttons {
display: inherit;
.md-button {
margin: 0;
&:first-of-type {
padding-right: 0;
}
.icon-cancel {
color: rgba(0, 0, 0, 0.32);
}
}
}
}
}
.board-selector-backdrop {
z-index: 47;
}
}
// RESPONSIVE
@include media-breakpoint(xs) {
#scrumboard {
.header {
height: 120px;
max-height: 120px;
min-height: 120px;
}
#board-selector {
top: 120px;
}
}
}