alfresco-ng2-components/lib/content-services/content-node-selector/content-node-selector.component.scss
Eugenio Romano a52bb5600a
New packages org (#2639)
New packages org
2017-11-16 14:12:52 +00:00

124 lines
3.2 KiB
SCSS

@mixin adf-content-node-selector-theme($theme) {
$primary: map-get($theme, primary);
$accent: map-get($theme, accent);
.adf-content-node-selector-dialog {
.mat-dialog-container {
padding: 0;
}
.adf-content-node-selector {
&-title,
&-content,
&-actions {
padding: 16px;
margin: 0;
}
&-title::first-letter {
text-transform: uppercase;
}
&-content {
padding-top: 0;
&-input {
width: 100%;
&-icon {
color: rgba(0, 0, 0, 0.38);
cursor: pointer;
&:hover {
color: rgba(0, 0, 0, 1);
}
}
}
.mat-input-underline .mat-input-ripple {
height: 1px;
transition: none;
}
.adf-site-dropdown-list-element {
width: 100%;
margin-bottom: 20px;
.mat-select-trigger {
font-size: 14px;
}
}
.adf-toolbar .mat-toolbar {
border: none;
}
&-list {
height: 200px;
overflow: auto;
border: 1px solid rgba(0, 0, 0, 0.07);
.adf-highlight {
color: mat-color($accent);;
}
.adf-data-table {
border: none;
.adf-no-content-container {
text-align: center;
}
thead {
display: none;
}
.adf-data-table-cell {
padding-top: 8px;
padding-bottom: 8px;
border-top: none;
height: 30px;
}
tbody tr {
height: auto !important;
&:last-child {
.adf-data-table-cell {
border-bottom: none;
}
}
}
}
}
}
&-actions {
padding: 8px;
background-color: rgb(250, 250, 250);
display: flex;
justify-content: flex-end;
color: rgb(121, 121, 121);
&:last-child {
margin-bottom: 0px;
}
&-cancel {
font-weight: normal;
}
&-choose {
font-weight: normal;
&[disabled] {
opacity: 0.6;
}
}
}
}
}
}