Skip to content

Commit

Permalink
rwd calendar fixed
Browse files Browse the repository at this point in the history
smaller font for products category
fixed scene overflow in multidot
  • Loading branch information
Andrzej Bacz committed Feb 11, 2021
1 parent 40502a2 commit 444a0ea
Show file tree
Hide file tree
Showing 10 changed files with 143 additions and 5 deletions.
73 changes: 73 additions & 0 deletions s4e-web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@

&__package {
margin: 5px 0 10px 0;
word-wrap: break-word;

* {
margin-right: 3px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
<div *ngIf="!(loadingMetadata$ | async); else metadataLoadingRef">
<form [formGroup]="form" class="form form--sentinel">
<div class="infobox infobox--poligon" i18>
Możesz zawęzić obszar w którym chcesz szukać danych Sentinel. Wyznacz punkty klikając dowolnym przyciskiem myszy.
Możesz zawęzić obszar w którym chcesz szukać danych Sentinel. Wyznacz punkty klikając
dowolnym przyciskiem myszy.
</div>
<ul>
<li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright 2021 ACC Cyfronet AGH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you m§ay not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@

<div class="dropdown__content dropdown__content--login" data-e2e="options-dropdown">
<div class="dropdown__header">
<img src="/assets/images/logo_s4e_color.png" width="60" i18n-alt alt="Logo Sat4Envi"/>
<a href="https://sat4envi.imgw.pl">
<img src="/assets/images/logo_s4e_color.png" width="60" i18n-alt alt="Logo Sat4Envi"/>
</a>
</div>
<div class="dropdown__close" (click)="toggleLoginOptions.emit(false)"></div>
<section>
Expand Down
1 change: 1 addition & 0 deletions s4e-web/src/scss/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@ input.checkbox-slide:checked + .slider:after
background: $color-white;
font-weight: 500;
line-height: 1rem;
padding-left: 75px;

&:before {
position: absolute;
Expand Down
13 changes: 13 additions & 0 deletions s4e-web/src/scss/_rwd_phone.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
top: 100px;
left: 0;
right: 0;

.search-results {
width: 100% !important;
}
}


Expand Down Expand Up @@ -111,6 +115,8 @@
}




/* TIMELINE */
.timeline {
width: 100%;
Expand Down Expand Up @@ -298,6 +304,12 @@

/* MODALS */

.modal-footer {
button {
margin-bottom: 10px;
}
}

.s4e-modal-body.report {
flex-direction: column-reverse;

Expand Down Expand Up @@ -325,4 +337,5 @@
}



}
37 changes: 35 additions & 2 deletions s4e-web/src/scss/_rwd_varia.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,40 @@
}
}

@media screen and (max-resolution: 90dpi) {
body {transform: scale(0.8);transform-origin:top left;width: 125%;height: 125%;}
@media (max-width: 700px) {
.cdk-overlay-pane {
left: calc(50% - 155px) !important;
bottom: 90px !important;
right: auto !important;
}
}

@media (max-width: 550px) {
.modal-footer {
button {
width: 100%;
}
}
}

@media (max-width: 467px) {
.search-result {
&__quicklook {
margin-bottom: 10px;
}

&__content {
flex-wrap: wrap;

&__details {
margin-right: 5px !important;
}
}
}
}

//
//@media screen and (max-resolution: 90dpi) {
// body {transform: scale(0.8);transform-origin:top left;width: 125%;height: 125%;}
//}

5 changes: 5 additions & 0 deletions s4e-web/src/scss/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@
border-bottom: 1px solid $color-grey-secondary;
position: relative;

//&.down {
// border-radius: $border-radius-default;
//}

.products__toggle {
top: 10px;
width: calc(100% - 35px);
Expand Down Expand Up @@ -240,6 +244,7 @@

p {
margin: 0 20px 0 15px;
font-size: 0.85rem;
}
}

Expand Down
9 changes: 9 additions & 0 deletions s4e-web/src/scss/_timeline.scss
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,11 @@
margin: 2px 0 8px 0;
}

ul {
overflow-x: auto;
max-height: 50vh;
}

li {
padding: 5px;
background-color: $color-white;
Expand All @@ -330,6 +335,10 @@
padding: 4px;
}

&:last-child {
margin-bottom: 0;
}

}

&:after {
Expand Down

0 comments on commit 444a0ea

Please sign in to comment.