diff --git a/src/app/pages/search/search.page.html b/src/app/pages/search/search.page.html index 517ddefc2..c47ea5e6c 100644 --- a/src/app/pages/search/search.page.html +++ b/src/app/pages/search/search.page.html @@ -1,81 +1,147 @@ - - - Pesquisa - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - Protocolos - 10 - - - - - - - Faturas - 10 - - - - + + + + Relatório 10 - - - - - - Protocolos - 10 - - - - - - Faturas - 10 - - - - Relatório 10 - - - - - + + Relatório + 10 + + + Relatório + 10 + + + Relatório + 10 + + + Relatório + 10 + + + + + + + + + + + + + Palavas mais pesquisdas + + + + + + + + Order por:Mais Recente + + + + + + + + + + + + + title + + MINEC, MINFIN + 13/04/2020 + + + + + + + + + title + + MINEC, MINFIN + 13/04/2020 + + + + + + + + + title + + MINEC, MINFIN + 13/04/2020 + + + + + + + + + title + + MINEC, MINFIN + 13/04/2020 + + + + + + + + + title + + MINEC, MINFIN + 13/04/2020 + + + + + + + + diff --git a/src/app/pages/search/search.page.scss b/src/app/pages/search/search.page.scss index 4226aacc8..df087037b 100644 --- a/src/app/pages/search/search.page.scss +++ b/src/app/pages/search/search.page.scss @@ -1,48 +1,210 @@ -.search-input-container{ +.header-main{ + padding: 5px 18px; + padding-bottom: 2px; + padding-top: 25px; + .search-input-container{ + max-width: 309px; + background-color: white; + border-radius: 27.5px; border: solid 1px #ebebeb; -} -.icon-search{ - font-size: 16px; - -} - -.icon-search-container, .icon-search{ - width: 45px; - height: 45px; -} - -.search-result{ - margin-top: 20px; - padding-bottom: 10px; - border-bottom: 1px solid #ebebeb; - .button{ - border: solid 1px #e9e9e9; - - padding: 5px 20px; - p{ - padding: 0px; - margin: 0px; - font-family: Roboto; - color: #0d89d1; - font-size: 15px; - } - .label{ - font-family: Roboto; - font-size: 13px; - font-weight: 300; + .icon{ color: #797979; + width: 45px; + height: 45px; + display: flex; + justify-content: center; + font-size: 25px; + align-items: center; } - border-radius: 15px; + .icon-z{ + width: 15px; + } + } + .icon-z{ + display: flex; + justify-content: center; + align-items: center; + font-size: 45px; + } + .profile{ + display: none; + font-size: 45px; } - .button:hover{ - background-color: #42b9fe; - color: white; - p{ - color: white; +} + +// search result type +.options{ + margin-top: 10px; + .container{ + display: flex; + .d-flex{ + display: flex; + flex-wrap: wrap; + width: 100%; + flex-wrap: wrap; + .button{ + width: 116px; + border: solid 1px #e9e9e9; + margin: 0px 5px; + margin-bottom: 10px; + padding: 5px 20px; + p{ + padding: 0px; + margin: 0px; + font-family: Roboto; + color: #0d89d1; + font-size: 15px; + } + .label{ + font-family: Roboto; + font-size: 13px; + font-weight: 300; + color: #797979; + } + border-radius: 15px; + } + + .button:hover{ + background-color: #42b9fe; + color: white; + p{ + color: white; + } + .label{ + color: white; + } + } } - .label{ - color: white; + .icon{ + display: none; + width: 45px; + height: 45px; + justify-content: center; + align-items: center; + ion-icon{ + width: 25px; + } } } -} \ No newline at end of file + + +} + + + +.d-flex{ + display: flex; + // search result + .search-result{ + width: 100%; + border-bottom: unset; + padding: 0px 20px; + + .header{ + border-top: 1px solid #ebebeb; + .sort-by{ + width: 100%; + .order{ + font-family: Roboto; + font-size: 13px; + font-weight: 300; + color:#797979 + } + .order-labal{ + font-family: Roboto; + font-size: 15px; + color: #0d89d1; + margin-left: 20px; + } + } + ion-icon{ + font-size: 25px; + } + } + ul{ + padding: 0px; + margin: 0px; + li{ + padding-top: 8px; + padding-bottom: 8px; + border-top: 1px solid #ebebeb; + display: flex; + align-items: center; + .icon{ + font-size: 35px; + align-items: center; + display: flex; + } + .content{ + width: 100%; + margin-left: 10px; + p{ + margin: 0px; + width: 100%; + font-family: Roboto; + font-size: 15px; + color: #0d89d1; + line-height: 1.67; + } + span{ + height: 15px; + font-family: Roboto; + font-size: 13px; + font-weight: 300; + color: #797979; + } + } + } + } + } + // most searched word + .most-searched-words{ + width: 400px; + display: none; + p{ + height: 24px; + font-family: Roboto; + font-size: 20px; + text-align: center; + color: black; + } + } +} + + + + +@media only screen and (min-width: 1024px) { + + .header-main { + background-color: #0782c9; + .profile{ + display: inline-block; + } + .icon-most-searched-word-open{ + display: none !important; + } + } + + .options{ + .container{ + border-bottom: 1px solid #ebebeb; + .icon{ + display: flex; + } + } + padding: 0px 20px; + } + + + .most-searched-words{ + display: inline-block !important; + } + .search-result{ + border-left: 1px solid #d8d8d8; + .header{ + border-top: unset !important; + } + } +} diff --git a/src/assets/images/icons-arrow-arrow-down-25.svg b/src/assets/images/icons-arrow-arrow-down-25.svg new file mode 100644 index 000000000..9601cfc73 --- /dev/null +++ b/src/assets/images/icons-arrow-arrow-down-25.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/src/assets/images/icons-most-searched-words-open.svg b/src/assets/images/icons-most-searched-words-open.svg new file mode 100644 index 000000000..cd0fa9c46 --- /dev/null +++ b/src/assets/images/icons-most-searched-words-open.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/images/icons-search-close.svg b/src/assets/images/icons-search-close.svg new file mode 100644 index 000000000..11669d50a --- /dev/null +++ b/src/assets/images/icons-search-close.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/images/icons-search-document.svg b/src/assets/images/icons-search-document.svg new file mode 100644 index 000000000..50e282eb5 --- /dev/null +++ b/src/assets/images/icons-search-document.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + +
Protocolos
Faturas
Relatório
Palavas mais pesquisdas
Order por:Mais Recente
title