Skip to content

Commit

Permalink
style(styling): fix some styles issues raised after covalent package …
Browse files Browse the repository at this point in the history
…updating; delete some unused co
  • Loading branch information
plastikaweb committed Mar 15, 2017
1 parent 52f401f commit 4bc05c3
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 25 deletions.
3 changes: 1 addition & 2 deletions src/app/geo-header/geo-header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
</app-geolocator>
</div>

<app-radius-filter flex="60"
flex="nogrow"
<app-radius-filter flex="nogrow"
layout="row"
flex-gt-md="25"
flex-gt-xs="40"
Expand Down
Empty file.
3 changes: 1 addition & 2 deletions src/app/geo-header/geo-header.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import { GeolocationService, GeocodeService } from '../geo/geo.module';

@Component({
selector: 'app-geo-header',
templateUrl: './geo-header.component.html',
styleUrls: [ './geo-header.component.scss' ]
templateUrl: './geo-header.component.html'
})
export class GeoHeaderComponent implements OnInit {
geoAddress = '';
Expand Down
2 changes: 1 addition & 1 deletion src/app/places/places.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- places list -->
<md-toolbar td-sidenav-content>
<div td-toolbar-content layout="row"
layout-align="start center" flex
layout-align="start center" flex="90"
*ngIf="media.registerQuery('xs') | async">
<md-icon md-list-icon class="tc-grey-600">center_focus_weak</md-icon>
<span class="tc-grey-600 small">
Expand Down
Empty file.
3 changes: 1 addition & 2 deletions src/app/shared/branding/branding.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { Component } from '@angular/core';

@Component({
selector: 'app-branding',
templateUrl: './branding.component.html',
styleUrls: ['./branding.component.scss']
templateUrl: './branding.component.html'
})
export class BrandingComponent {
brand = `Cercador d'AV | CONFAVC`;
Expand Down
29 changes: 11 additions & 18 deletions src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,53 +1,46 @@
// <main header> //
md-toolbar-row {
> div[td-toolbar-content] {
width: 100%;
}
}

// <main toolbar header> //
@media (max-width: 960px) {
md-toolbar {
&.mat-primary {
min-height: 70px;
min-height: 75px;
md-toolbar-row {
height: 70px;
height: 75px;
}
}
button.td-menu-button {
display: none;
}
}
}

@media (max-width: 600px) {
md-toolbar {
// text for toolbar list
// just visible on mobile screeners
.small {
font-size: 16px;
overflow-x: hidden;
text-overflow: ellipsis;
box-sizing: border-box;
}
&.mat-primary {
min-height: 105px;
padding-bottom: 5px;
min-height: 115px;
md-toolbar-row {
height: 105px;
height: 115px;
}
}
}
}

// </main header> //

// <places list items> //
a[md-list-item], .place-detail-box {
opacity: 0;
transform: translateX(-20px);
}

md-card-title > h3 {
margin: 0;
}

// </places list items> //

// <app-activity-indicator> //
app-activity-indicator {
height: 5px;
z-index: 1;
Expand Down

0 comments on commit 4bc05c3

Please sign in to comment.