Skip to content

Instantly share code, notes, and snippets.

@ronycohen
Created May 13, 2015 17:32
Show Gist options
  • Save ronycohen/dbf68df71f78258a128c to your computer and use it in GitHub Desktop.
Save ronycohen/dbf68df71f78258a128c to your computer and use it in GitHub Desktop.
<ion-view title="Relation" cache-view="true" >
<div class="tabs tabs-top tabs-balanced has-subheader">
<a class= "tab-item" ng-class="{'tab-item-active':slideIndex==0}" ng-click="changeSlide(0)">
Echanges
</a>
<a class= "tab-item" ng-class="{'tab-item-active':slideIndex==1}" ng-click="changeSlide(1)">
Infos
</a>
<!-- <a class= "tab-item" ng-class="{'tab-item-active':slideIndex==2}" ng-click="changeSlide(2)">
Activités
</a>-->
<a class= "tab-item" ng-class="{'tab-item-active':slideIndex==2}" ng-click="changeSlide(2)">
Options
</a>
</div>
<div class="bar bar-subheader padding-subheader profil-relation-subheader">
<img class="img-collection" ng-src="{{relation.photos[0].value}}">
<span class="user_entete">{{relation.displayName}}</span>
</div>
.profil-relation-subheader{
top: $top-relation-subheader !important;
}
.platform-ios.platform-cordova:not(.fullscreen) .profil-relation-subheader {
top: $top-relation-subheader + $ios-statusbar-height !important;
}
@ronycohen
Copy link
Author

$ios-statusbar-height: 20px !default;
$top-relation-subheader : 69px !default;
$bar-subheader-height : 60px;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment