+
-
-
diff --git a/src/app/_modules/pages/sections/types/basic/member/list/member-section-list.component.scss b/src/app/_modules/pages/sections/types/basic/member/list/member-section-list.component.scss
index e5d4877..cf7db25 100644
--- a/src/app/_modules/pages/sections/types/basic/member/list/member-section-list.component.scss
+++ b/src/app/_modules/pages/sections/types/basic/member/list/member-section-list.component.scss
@@ -4,7 +4,7 @@
width: 100%;
max-width: 900px;
.add {
- padding: 16px 12px;
+ padding: 16px ;
display: flex;
justify-content: space-between;
width: 100%;
@@ -64,6 +64,7 @@
}
.image {
+ cursor: pointer;
// background: url("/assets/images/view-man.svg") center no-repeat;
img {
width: 273px;
@@ -91,28 +92,46 @@
}
.link{
font-size: 20px;
- display: block;
+ display: inline-block;
+ &.tel::before{
+ content: '';
+ width: 24px;
+ height: 24px;
+ display: inline-block;
+ vertical-align: -3px;
+ margin-right: 4px;
+ background: url('~src/assets/images/icons/phone_blue_24dp.svg') center no-repeat;
+ }
+ &.mail::before{
+ content: '';
+ width: 24px;
+ height: 24px;
+ display: inline-block;
+ vertical-align: -5px;
+ margin-right: 4px;
+ background: url('~src/assets/images/icons/mail_blue_24dp.svg') center no-repeat;
+ }
+
+
}
.doc{
width: 100%;
display: flex;
- overflow: hidden;
- text-overflow:ellipsis;
.doc-icon{
flex-basis: 60px;
align-items: flex-start;
flex-shrink: 0;
height: 60px;
background: center no-repeat;
- background-image: url('~src/assets/images/icons/document/document_pdf_60dp.svg');
+ background-image: url('~src/assets/images/icons/document/document_60dp.svg');
background-size: contain;
}
.doc-link{
flex-shrink: 0;
flex-grow: 0;
- flex-basis: 100%;
+ flex-basis: 200px;
white-space: nowrap;
overflow: hidden;
text-overflow:ellipsis;
@@ -127,4 +146,41 @@
}
}
}
-}
+
+ .full-screen{
+ position: fixed;
+ top:0;
+ z-index: 200;
+ left: 0;
+ background-color: rgba(45, 45, 45, 0.63);
+ width: 100vw;
+ height: 100vh;
+ object-fit: contain;
+ cursor: pointer;
+
+ }
+ .modal{
+ position: fixed;
+ top:0;
+ z-index: 200;
+ left: 0;
+ background-color: rgba(45, 45, 45, 0.63);
+ width: 100vw;
+ height: 100vh;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ div{
+ background-color: #fff;
+ width: 50vw;
+ min-width: 400px;
+ border-radius: 12px;
+ padding: 0 24px;
+ }
+ }
+ .hidden{
+ display: none;
+ }
+ }
+
diff --git a/src/app/_modules/pages/sections/types/basic/member/list/member-section-list.component.ts b/src/app/_modules/pages/sections/types/basic/member/list/member-section-list.component.ts
index 912b317..b087ecf 100644
--- a/src/app/_modules/pages/sections/types/basic/member/list/member-section-list.component.ts
+++ b/src/app/_modules/pages/sections/types/basic/member/list/member-section-list.component.ts
@@ -12,6 +12,9 @@ export class MemberSectionListComponent {
@Input() editMode: boolean;
@Input() page: any;
+ public showImage:boolean[] = [];
+ public showDescription = false;
+
constructor(
private formsService: FormsService,
private router: Router,
@@ -51,8 +54,9 @@ export class MemberSectionListComponent {
return this.section.id;
}
- iconUrl(name: string) {
- return `url(/assets/images/icons/document/${name.toUpperCase()}.svg)`
+
+ iconUrl(name:string) {
+ if (name) return ICON_TYPE[name] && `url(/assets/images/icons/document/${ICON_TYPE[name]}.svg)`
}
get modelType() {
@@ -70,4 +74,23 @@ export class MemberSectionListComponent {
getLink(id: any) {
return this.router.url + '?id=' + id;
}
+
+ photo(member) {
+ return this.getFields(member)['member-image'].links.open
+ }
+}
+
+
+const ICON_TYPE:any={
+ rtf:'DOC',
+ docx:'DOC',
+ doc:'DOC',
+ xl:'XLS',
+ xls:'XLS',
+ xlsx:'XLS',
+ ppt:'PPT',
+ pptx:'PPT',
+ jpg:'JPG',
+ jpeg:'JPG',
+ pdf:'PDF'
}
diff --git a/src/app/_modules/pages/tree/pages-tree.component.scss b/src/app/_modules/pages/tree/pages-tree.component.scss
index 1dfe339..b44e8d4 100644
--- a/src/app/_modules/pages/tree/pages-tree.component.scss
+++ b/src/app/_modules/pages/tree/pages-tree.component.scss
@@ -14,6 +14,13 @@
.item .item .bar{
padding-left: 150px;
}
+ .item .item .item .bar{
+ padding-left: 200px;
+ }
+
+ .item .item .item .item .bar{
+ padding-left: 250px;
+ }
}
@@ -137,7 +144,7 @@
}
-@media screen and (max-width: 767px) {
+@media screen and (max-width: 1264px) {
.item {
.bar {
.mid {
diff --git a/src/app/_modules/publications/list/item/news/news.component.scss b/src/app/_modules/publications/list/item/news/news.component.scss
index 60dd72e..3bcdf64 100644
--- a/src/app/_modules/publications/list/item/news/news.component.scss
+++ b/src/app/_modules/publications/list/item/news/news.component.scss
@@ -1,7 +1,11 @@
+:host-context(publications-list-item:not(:last-child)){
+ .item {
+ border-bottom: 1px solid #C0C0C0;
+ }
+}
+
.item {
- border-top: 1px solid #E8E8E8;
- margin-top: 24px;
- padding-top: 24px;
+ padding: 24px 0;
display: flex;
flex-direction: column;
diff --git a/src/app/_modules/publications/list/list.component.scss b/src/app/_modules/publications/list/list.component.scss
index f7f6583..5223c45 100644
--- a/src/app/_modules/publications/list/list.component.scss
+++ b/src/app/_modules/publications/list/list.component.scss
@@ -1,5 +1,4 @@
.items {
- border-bottom: 1px solid #E8E8E8;
padding-bottom: 24px;
margin-bottom: 24px;
.add {
diff --git a/src/assets/css/main-menu.scss b/src/assets/css/main-menu.scss
index cf8d50a..86163c7 100644
--- a/src/assets/css/main-menu.scss
+++ b/src/assets/css/main-menu.scss
@@ -74,12 +74,11 @@
margin-right: 16px;
}
.toggle{
- background: url('~src/assets/images/icons/expand_less_24.svg') center no-repeat;
- transform: rotateZ(90deg);
+ background: url('~src/assets/images/icons/chevron_cirle_right_24dp.svg') center no-repeat;
transition: transform 0.3s;
}
.open {
- transform: rotateZ(180deg);
+ transform: rotateZ(90deg);
}
diff --git a/src/assets/images/icons/chevron_cirle_right_24dp.svg b/src/assets/images/icons/chevron_cirle_right_24dp.svg
new file mode 100644
index 0000000..60f0d33
--- /dev/null
+++ b/src/assets/images/icons/chevron_cirle_right_24dp.svg
@@ -0,0 +1,9 @@
+
+
\ No newline at end of file
diff --git a/src/assets/images/icons/document/document_60dp.svg b/src/assets/images/icons/document/document_60dp.svg
new file mode 100644
index 0000000..b0e563a
--- /dev/null
+++ b/src/assets/images/icons/document/document_60dp.svg
@@ -0,0 +1,20 @@
+
\ No newline at end of file
diff --git a/src/assets/images/icons/mail_orange_24dp.svg b/src/assets/images/icons/mail_blue_24dp.svg
similarity index 90%
rename from src/assets/images/icons/mail_orange_24dp.svg
rename to src/assets/images/icons/mail_blue_24dp.svg
index c1877f6..a33d91a 100644
--- a/src/assets/images/icons/mail_orange_24dp.svg
+++ b/src/assets/images/icons/mail_blue_24dp.svg
@@ -1,6 +1,6 @@