|
- /*
- * App Global CSS
- * ----------------------------------------------------------------------------
- * Put style rules here that you want to apply globally. These styles are for
- * the entire app and not just one component. Additionally, this file can be
- * used as an entry point to import other CSS/Sass files to be included in the
- * output CSS.
- * For more information on global stylesheets, visit the documentation:
- * https://ionicframework.com/docs/layout/global-stylesheets
- */
-
- /* Core CSS required for Ionic components to work properly */
- @import "~@ionic/angular/css/core.css";
-
- /* Basic CSS for apps built with Ionic */
- @import "~@ionic/angular/css/normalize.css";
- @import "~@ionic/angular/css/structure.css";
- @import "~@ionic/angular/css/typography.css";
- @import '~@ionic/angular/css/display.css';
-
- /* Optional CSS utils that can be commented out */
- @import "~@ionic/angular/css/padding.css";
- @import "~@ionic/angular/css/float-elements.css";
- @import "~@ionic/angular/css/text-alignment.css";
- @import "~@ionic/angular/css/text-transformation.css";
- @import "~@ionic/angular/css/flex-utils.css";
-
-
- @import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');
- @import url('https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c:400&display=swap');
-
- ion-button, button, a, p, div, input {
- font-family: 'Roboto', sans-serif;
- text-transform: none;
- outline: none;
- }
-
- figure {
- margin: 0;
- }
-
- header, h1, h2, h3, h4, h5 {
- font-family: 'M PLUS Rounded 1c', sans-serif;
- margin: 0;
- }
-
- // Hamburger menu
-
- .menu-icon-holder {
- background-color: #005cbe;
- color: white;
- position: fixed;
- bottom: -60px;
- box-shadow: 0px 0px 5px var(--brand-blue);
- width: 100px;
- height: 100px;
- text-align: center;
- left: calc((100% - 100px)/2);
- border-radius: 50%;
- padding-top: 7px;
- z-index: 1;
- transition: transform 0.5s;
- transform: translateY(0);
- opacity: 0.7;
-
- &.inactive {
- transform: translateY(100px);
- }
-
- ion-icon {
- font-size: 30px;
- }
- }
-
- .close-icon-holder {
- background-color: white;
- width: 70%;
- position: fixed;
- left: calc((100% - 70%) / 2);
- height: 100px;
- border-radius: 50%;
- color: var(--brand-blue);
- text-align: center;
- z-index: 2;
- bottom: -60px;
- padding-top: 10px;
- transition: transform 0.3s;
- transform: scale(0);
- transition-delay: 0.7s;
-
- &.active {
- transform: scale(1);
- }
-
- ion-icon {
- font-size: 25px;
- }
- }
-
- .menu-items-holder {
- background-image: url('assets/custom/background-2.svg');
- background-size: cover;
- background-repeat: no-repeat;
- background-position: left top;
- border-radius: 50%;
- position: fixed;
- left: calc((100% - 150%) / 2);
- bottom: -150px;
- z-index: 1;
- height: 300px;
- width: 150%;
- padding: 20px 30%;
- display: flex;
- justify-content: space-between;
- align-items: flex-start;
- transition: transform 0.5s;
- transform: scale(0);
- transition-delay: 0.3s;
-
- &.active {
- transform: scale(1);
- }
-
- button {
- background-color: white;
- height: 50px;
- width: 50px;
- border-radius: 50%;
- font-size: 20px;
- position: relative;
-
- &:first-child {
- transform: translateY(40px);
- }
-
- &:nth-child(2) {
- transform: translateY(20px);
- }
-
- &:nth-child(3) {
- transform: translateY(10px);
- }
-
- &:last-child {
- transform: translateY(40px);
- }
-
- &:nth-child(4) {
- transform: translateY(20px);
- }
- }
- }
-
- .overlay {
- position: fixed;
- top: 0;
- left: 0;
- height: 100vh;
- width: 100vw;
- pointer-events: none;
- background-color: black;
- opacity: 0;
- z-index: 1;
- transition: opacity 0.5s;
-
- &.active {
- pointer-events: all;
- opacity: 0.5;
- }
- }
|