2016-10-03 19:38:57 -04:00
|
|
|
// This file is for changes to the standard Ionic Framework which cannot be made
|
|
|
|
|
// in variables.scss.
|
2016-09-30 21:28:25 -04:00
|
|
|
|
2016-10-03 19:38:57 -04:00
|
|
|
@import "../../bower_components/ionic/scss/ionic";
|
2016-08-31 15:54:40 -04:00
|
|
|
|
2016-10-03 19:38:57 -04:00
|
|
|
/* Ionic Overrides and Workarounds */
|
2016-09-30 21:28:25 -04:00
|
|
|
// Please include a description of the problem solved by the workaround.
|
2016-09-20 18:22:12 -03:00
|
|
|
|
2016-09-30 21:35:23 -04:00
|
|
|
// the ion tabs element never needs it's own background (backgrounds are
|
|
|
|
|
// rendered by the tabs), and the default background would cover the scanner
|
|
|
|
|
ion-tabs.ion-tabs-transparent {
|
|
|
|
|
background: none transparent;
|
|
|
|
|
}
|
2016-08-31 15:54:40 -04:00
|
|
|
|
2016-12-27 15:39:33 -03:00
|
|
|
ion-nav-bar.hide { display: block !important; }
|
|
|
|
|
|
2016-10-11 14:30:41 -04:00
|
|
|
// .placeholder-icon padding cannot be modified by a variable
|
|
|
|
|
$placeholder-icon-padding: 10px;
|
|
|
|
|
.placeholder-icon {
|
|
|
|
|
&:first-child {
|
|
|
|
|
padding-right: $placeholder-icon-padding;
|
|
|
|
|
}
|
|
|
|
|
&:last-child {
|
|
|
|
|
padding-left: $placeholder-icon-padding;
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-10-13 00:02:06 -04:00
|
|
|
|
|
|
|
|
// .item-input-wrapper background cannot be modified by a variable
|
|
|
|
|
.item-input-wrapper {
|
|
|
|
|
background: none transparent;
|
|
|
|
|
}
|
2016-10-19 22:52:50 -04:00
|
|
|
|
|
|
|
|
// the default .item p color of #666 cannot be modified by a variable
|
|
|
|
|
.item p {
|
2017-02-23 16:46:41 -05:00
|
|
|
color: $v-mid-gray;
|
2016-10-19 22:52:50 -04:00
|
|
|
}
|
2016-10-21 01:51:00 -04:00
|
|
|
|
|
|
|
|
// we'd like to diverge from the standard ionic formula for left-right card margins
|
|
|
|
|
.card {
|
|
|
|
|
margin: ($content-padding * 2) 14px;
|
|
|
|
|
}
|
2016-11-17 13:16:20 -05:00
|
|
|
|
|
|
|
|
// A somewhat dirty solution to the nav-bar "flashing" during page transitions.
|
|
|
|
|
// Since the old nav-bar is hidden before the new one is shown, this pseudo
|
|
|
|
|
// element fills the space with the proper background color.
|
2016-11-17 17:50:15 -05:00
|
|
|
ion-view.deflash-blue:before {
|
2016-11-17 13:16:20 -05:00
|
|
|
content: " ";
|
|
|
|
|
display: block;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
height: $bar-height;
|
|
|
|
|
background-color: $royal;
|
|
|
|
|
}
|
2016-11-17 17:50:15 -05:00
|
|
|
.platform-ios.platform-cordova:not(.fullscreen) ion-view.deflash-blue:before {
|
2016-11-17 13:16:20 -05:00
|
|
|
height: $bar-height + $ios-statusbar-height;
|
|
|
|
|
}
|