[flex] {
box-sizing: border-box;
}
[flex] { flex: 1; } // == { flex: 1 1 0%; }
[flex="grow"] { flex: 1 1 100%; }
[flex="initial"] { flex: 0 1 auto; }
[flex="auto"] { flex: 1 1 auto; }
[flex="none"] { flex: 0 0 auto; }
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// import global themes | |
@import '~@angular/material/theming'; | |
@import './ng-io-theme'; | |
// import global variables | |
@import './constants'; | |
// import global mixins | |
@import './mixins'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import '~@angular/material/theming'; | |
// Plus imports for other components in your app. | |
// Include the base styles for Angular Material core. We include this here so that you only | |
// have to load a single css file for Angular Material in your app. | |
@include mat-core(); | |
// Define the palettes for your theme using the Material Design palettes available in palette.scss | |
// (imported above). For each palette, you can optionally specify a default, lighter, and darker | |
// hue. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import '~@angular/material/theming'; | |
// Plus imports for other components in your app. | |
// Include the common styles for Angular Material. We include this here so that you only | |
// have to load a single css file for Angular Material in your app. | |
// Be sure that you only ever include this mixin once! | |
@include mat-core(); | |
// Define the palettes for your theme using the Material Design palettes available in palette.scss | |
// (imported above). For each palette, you can optionally specify a default, lighter, and darker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//... | |
import {ROUTER_DIRECTIVES, Router, Event, NavigationEnd} from '@angular/router'; | |
import {environment} from './environment'; | |
//... | |
declare var ga : any; | |
//.. | |
constructor(private router: Router ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apiVersion": "v1", | |
"kind": "ReplicationController", | |
"metadata": { | |
"name": "hello-node" | |
}, | |
"spec": { | |
"replicas": 2, | |
"selector": { | |
"app":"hello-node" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore | |
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm | |
*.iml | |
## Directory-based project format: | |
.idea/ | |
# if you remove the above rule, at least ignore the following: | |
# User-specific stuff: | |
# .idea/workspace.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.devintent.fitness.app; | |
import android.annotation.SuppressLint; | |
import android.app.Activity; | |
import android.app.DatePickerDialog; | |
import android.app.Dialog; | |
import android.app.DialogFragment; | |
import android.app.TimePickerDialog; | |
import android.content.Intent; | |
import android.content.IntentSender; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @ngDoc directive | |
* @restrict A | |
* @description Add this attribute to input fields that need to support browser autofill such as username and password. | |
*/ | |
main.directive('autoFillSync', function($timeout) { | |
return { | |
require: 'ngModel', | |
restrict: 'A', | |
link: function(scope, elem, attrs, model) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.fade { | |
transition:0.5s linear all; | |
} | |
.fade.ng-enter-stagger, | |
.fade.ng-leave-stagger { | |
transiton-delay:0.1s; | |
transition-duration:0s; | |
} | |
.fade.ng-enter { | |
opacity:0; |