mirror of
https://github.com/arnaucube/commonroutesApp.git
synced 2026-02-07 11:36:42 +01:00
geolocation added on offerCar and travel page
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/*!
|
||||
* Angular Material Design
|
||||
* https://github.com/angular/material
|
||||
* @license MIT
|
||||
* v1.1.1
|
||||
*/
|
||||
.md-subheader.md-THEME_NAME-theme {
|
||||
color: '{{ foreground-2-0.23 }}';
|
||||
background-color: '{{background-default}}'; }
|
||||
.md-subheader.md-THEME_NAME-theme.md-primary {
|
||||
color: '{{primary-color}}'; }
|
||||
.md-subheader.md-THEME_NAME-theme.md-accent {
|
||||
color: '{{accent-color}}'; }
|
||||
.md-subheader.md-THEME_NAME-theme.md-warn {
|
||||
color: '{{warn-color}}'; }
|
||||
6
www/lib/angular-material/modules/closure/subheader/subheader-default-theme.min.css
vendored
Normal file
6
www/lib/angular-material/modules/closure/subheader/subheader-default-theme.min.css
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Angular Material Design
|
||||
* https://github.com/angular/material
|
||||
* @license MIT
|
||||
* v1.1.0-master-2b98560
|
||||
*/.md-subheader.md-THEME_NAME-theme{color:'{{ foreground-2-0.23 }}';background-color:'{{background-default}}'}.md-subheader.md-THEME_NAME-theme.md-primary{color:'{{primary-color}}'}.md-subheader.md-THEME_NAME-theme.md-accent{color:'{{accent-color}}'}.md-subheader.md-THEME_NAME-theme.md-warn{color:'{{warn-color}}'}
|
||||
@@ -0,0 +1,57 @@
|
||||
/*!
|
||||
* Angular Material Design
|
||||
* https://github.com/angular/material
|
||||
* @license MIT
|
||||
* v1.1.1
|
||||
*/
|
||||
@-webkit-keyframes subheaderStickyHoverIn {
|
||||
0% {
|
||||
box-shadow: 0 0 0 0 transparent; }
|
||||
100% {
|
||||
box-shadow: 0px 2px 4px 0 rgba(0, 0, 0, 0.16); } }
|
||||
|
||||
@keyframes subheaderStickyHoverIn {
|
||||
0% {
|
||||
box-shadow: 0 0 0 0 transparent; }
|
||||
100% {
|
||||
box-shadow: 0px 2px 4px 0 rgba(0, 0, 0, 0.16); } }
|
||||
|
||||
@-webkit-keyframes subheaderStickyHoverOut {
|
||||
0% {
|
||||
box-shadow: 0px 2px 4px 0 rgba(0, 0, 0, 0.16); }
|
||||
100% {
|
||||
box-shadow: 0 0 0 0 transparent; } }
|
||||
|
||||
@keyframes subheaderStickyHoverOut {
|
||||
0% {
|
||||
box-shadow: 0px 2px 4px 0 rgba(0, 0, 0, 0.16); }
|
||||
100% {
|
||||
box-shadow: 0 0 0 0 transparent; } }
|
||||
|
||||
.md-subheader-wrapper:not(.md-sticky-no-effect) {
|
||||
-webkit-transition: 0.2s ease-out margin;
|
||||
transition: 0.2s ease-out margin; }
|
||||
.md-subheader-wrapper:not(.md-sticky-no-effect) .md-subheader {
|
||||
margin: 0; }
|
||||
.md-subheader-wrapper:not(.md-sticky-no-effect).md-sticky-clone {
|
||||
z-index: 2; }
|
||||
.md-subheader-wrapper:not(.md-sticky-no-effect)[sticky-state="active"] {
|
||||
margin-top: -2px; }
|
||||
.md-subheader-wrapper:not(.md-sticky-no-effect):not(.md-sticky-clone)[sticky-prev-state="active"] .md-subheader-inner:after {
|
||||
-webkit-animation: subheaderStickyHoverOut 0.3s ease-out both;
|
||||
animation: subheaderStickyHoverOut 0.3s ease-out both; }
|
||||
|
||||
.md-subheader {
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
line-height: 1em;
|
||||
margin: 0 0 0 0;
|
||||
position: relative; }
|
||||
.md-subheader .md-subheader-inner {
|
||||
display: block;
|
||||
padding: 16px; }
|
||||
.md-subheader .md-subheader-content {
|
||||
display: block;
|
||||
z-index: 1;
|
||||
position: relative; }
|
||||
126
www/lib/angular-material/modules/closure/subheader/subheader.js
vendored
Normal file
126
www/lib/angular-material/modules/closure/subheader/subheader.js
vendored
Normal file
@@ -0,0 +1,126 @@
|
||||
/*!
|
||||
* Angular Material Design
|
||||
* https://github.com/angular/material
|
||||
* @license MIT
|
||||
* v1.1.1
|
||||
*/
|
||||
goog.provide('ngmaterial.components.subheader');
|
||||
goog.require('ngmaterial.components.sticky');
|
||||
goog.require('ngmaterial.core');
|
||||
/**
|
||||
* @ngdoc module
|
||||
* @name material.components.subheader
|
||||
* @description
|
||||
* SubHeader module
|
||||
*
|
||||
* Subheaders are special list tiles that delineate distinct sections of a
|
||||
* list or grid list and are typically related to the current filtering or
|
||||
* sorting criteria. Subheader tiles are either displayed inline with tiles or
|
||||
* can be associated with content, for example, in an adjacent column.
|
||||
*
|
||||
* Upon scrolling, subheaders remain pinned to the top of the screen and remain
|
||||
* pinned until pushed on or off screen by the next subheader. @see [Material
|
||||
* Design Specifications](https://www.google.com/design/spec/components/subheaders.html)
|
||||
*
|
||||
* > To improve the visual grouping of content, use the system color for your subheaders.
|
||||
*
|
||||
*/
|
||||
MdSubheaderDirective.$inject = ["$mdSticky", "$compile", "$mdTheming", "$mdUtil"];
|
||||
angular
|
||||
.module('material.components.subheader', [
|
||||
'material.core',
|
||||
'material.components.sticky'
|
||||
])
|
||||
.directive('mdSubheader', MdSubheaderDirective);
|
||||
|
||||
/**
|
||||
* @ngdoc directive
|
||||
* @name mdSubheader
|
||||
* @module material.components.subheader
|
||||
*
|
||||
* @restrict E
|
||||
*
|
||||
* @description
|
||||
* The `md-subheader` directive creates a sticky subheader for a section.
|
||||
*
|
||||
* Developers are able to disable the stickiness of the subheader by using the following markup
|
||||
*
|
||||
* <hljs lang="html">
|
||||
* <md-subheader class="md-no-sticky">Not Sticky</md-subheader>
|
||||
* </hljs>
|
||||
*
|
||||
* ### Notes
|
||||
* - The `md-subheader` directive uses the <a ng-href="api/service/$mdSticky">$mdSticky</a> service
|
||||
* to make the subheader sticky.
|
||||
*
|
||||
* > Whenever the current browser doesn't support stickiness natively, the subheader
|
||||
* will be compiled twice to create a sticky clone of the subheader.
|
||||
*
|
||||
* @usage
|
||||
* <hljs lang="html">
|
||||
* <md-subheader>Online Friends</md-subheader>
|
||||
* </hljs>
|
||||
*/
|
||||
|
||||
function MdSubheaderDirective($mdSticky, $compile, $mdTheming, $mdUtil) {
|
||||
return {
|
||||
restrict: 'E',
|
||||
replace: true,
|
||||
transclude: true,
|
||||
template: (
|
||||
'<div class="md-subheader _md">' +
|
||||
' <div class="md-subheader-inner">' +
|
||||
' <div class="md-subheader-content"></div>' +
|
||||
' </div>' +
|
||||
'</div>'
|
||||
),
|
||||
link: function postLink(scope, element, attr, controllers, transclude) {
|
||||
$mdTheming(element);
|
||||
element.addClass('_md');
|
||||
|
||||
// Remove the ngRepeat attribute from the root element, because we don't want to compile
|
||||
// the ngRepeat for the sticky clone again.
|
||||
$mdUtil.prefixer().removeAttribute(element, 'ng-repeat');
|
||||
|
||||
var outerHTML = element[0].outerHTML;
|
||||
|
||||
function getContent(el) {
|
||||
return angular.element(el[0].querySelector('.md-subheader-content'));
|
||||
}
|
||||
|
||||
// Transclude the user-given contents of the subheader
|
||||
// the conventional way.
|
||||
transclude(scope, function(clone) {
|
||||
getContent(element).append(clone);
|
||||
});
|
||||
|
||||
// Create another clone, that uses the outer and inner contents
|
||||
// of the element, that will be 'stickied' as the user scrolls.
|
||||
if (!element.hasClass('md-no-sticky')) {
|
||||
transclude(scope, function(clone) {
|
||||
// If the user adds an ng-if or ng-repeat directly to the md-subheader element, the
|
||||
// compiled clone below will only be a comment tag (since they replace their elements with
|
||||
// a comment) which cannot be properly passed to the $mdSticky; so we wrap it in our own
|
||||
// DIV to ensure we have something $mdSticky can use
|
||||
var wrapper = $compile('<div class="md-subheader-wrapper">' + outerHTML + '</div>')(scope);
|
||||
|
||||
// Delay initialization until after any `ng-if`/`ng-repeat`/etc has finished before
|
||||
// attempting to create the clone
|
||||
$mdUtil.nextTick(function() {
|
||||
// Append our transcluded clone into the wrapper.
|
||||
// We don't have to recompile the element again, because the clone is already
|
||||
// compiled in it's transclusion scope. If we recompile the outerHTML of the new clone, we would lose
|
||||
// our ngIf's and other previous registered bindings / properties.
|
||||
getContent(wrapper).append(clone);
|
||||
});
|
||||
|
||||
// Make the element sticky and provide the stickyClone our self, to avoid recompilation of the subheader
|
||||
// element.
|
||||
$mdSticky(scope, element, wrapper);
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
ngmaterial.components.subheader = angular.module("material.components.subheader");
|
||||
6
www/lib/angular-material/modules/closure/subheader/subheader.min.css
vendored
Normal file
6
www/lib/angular-material/modules/closure/subheader/subheader.min.css
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Angular Material Design
|
||||
* https://github.com/angular/material
|
||||
* @license MIT
|
||||
* v1.1.0-master-2b98560
|
||||
*/@-webkit-keyframes subheaderStickyHoverIn{0%{box-shadow:0 0 0 0 transparent}to{box-shadow:0 2px 4px 0 rgba(0,0,0,.16)}}@keyframes subheaderStickyHoverIn{0%{box-shadow:0 0 0 0 transparent}to{box-shadow:0 2px 4px 0 rgba(0,0,0,.16)}}@-webkit-keyframes subheaderStickyHoverOut{0%{box-shadow:0 2px 4px 0 rgba(0,0,0,.16)}to{box-shadow:0 0 0 0 transparent}}@keyframes subheaderStickyHoverOut{0%{box-shadow:0 2px 4px 0 rgba(0,0,0,.16)}to{box-shadow:0 0 0 0 transparent}}.md-subheader-wrapper:not(.md-sticky-no-effect){-webkit-transition:margin .2s ease-out;transition:margin .2s ease-out}.md-subheader-wrapper:not(.md-sticky-no-effect) .md-subheader{margin:0}.md-subheader-wrapper:not(.md-sticky-no-effect).md-sticky-clone{z-index:2}.md-subheader-wrapper:not(.md-sticky-no-effect)[sticky-state=active]{margin-top:-2px}.md-subheader-wrapper:not(.md-sticky-no-effect):not(.md-sticky-clone)[sticky-prev-state=active] .md-subheader-inner:after{-webkit-animation:subheaderStickyHoverOut .3s ease-out both;animation:subheaderStickyHoverOut .3s ease-out both}.md-subheader{display:block;font-size:14px;font-weight:500;line-height:1em;margin:0;position:relative}.md-subheader .md-subheader-inner{display:block;padding:16px}.md-subheader .md-subheader-content{display:block;z-index:1;position:relative}
|
||||
7
www/lib/angular-material/modules/closure/subheader/subheader.min.js
vendored
Normal file
7
www/lib/angular-material/modules/closure/subheader/subheader.min.js
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
/*!
|
||||
* Angular Material Design
|
||||
* https://github.com/angular/material
|
||||
* @license MIT
|
||||
* v1.1.0-master-2b98560
|
||||
*/
|
||||
function MdSubheaderDirective(e,r,a,n){return{restrict:"E",replace:!0,transclude:!0,template:'<div class="md-subheader _md"> <div class="md-subheader-inner"> <div class="md-subheader-content"></div> </div></div>',link:function(t,i,d,o,c){function m(e){return angular.element(e[0].querySelector(".md-subheader-content"))}a(i),i.addClass("_md"),n.prefixer().removeAttribute(i,"ng-repeat");var s=i[0].outerHTML;c(t,function(e){m(i).append(e)}),i.hasClass("md-no-sticky")||c(t,function(a){var d=r('<div class="md-subheader-wrapper">'+s+"</div>")(t);n.nextTick(function(){m(d).append(a)}),e(t,i,d)})}}}goog.provide("ngmaterial.components.subheader"),goog.require("ngmaterial.components.sticky"),goog.require("ngmaterial.core"),MdSubheaderDirective.$inject=["$mdSticky","$compile","$mdTheming","$mdUtil"],angular.module("material.components.subheader",["material.core","material.components.sticky"]).directive("mdSubheader",MdSubheaderDirective),ngmaterial.components.subheader=angular.module("material.components.subheader");
|
||||
Reference in New Issue
Block a user