/* * 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 './app/colors'; @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap'); * { font-family: 'Roboto', sans-serif; outline: none; text-decoration: none; letter-spacing: 0.5px; } ion-content { --background: transparent; background: linear-gradient(0deg, lighten($dark-blue, 10%), $dark-blue 80%); } .header-with-action-buttons { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 3% 0 0%; height: 70px; position: sticky; position: -webkit-sticky; left: 0; top: 0; background-color: lighten($dark-blue, 5%); z-index: 2; width: 100%; align-items: center; box-shadow: 0px 0px 5px $dark-blue; button { background-color: transparent; border: none; } .nav button { color: lighten($blue-grey, 10%); display: flex; align-items: center; justify-content: flex-start; ion-icon { font-size: 24px; } span { font-size: 14px; } } header { flex-grow: 1; padding: 0 15px; font-size: 14px; color: lighten($blue-grey, 50%); font-weight: 500; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; span { font-weight: 500; color: lighten($blue-grey, 10%); font-size: 12px; } } .action { display: flex; justify-content: flex-end; } .action button { width: 40px; height: 40px; border: 2px solid darken($green, 10%); background-color: rgba($green, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-left: 15px; ion-icon { color: darken($green, 10%); font-size: 20px; } } } figure { margin: 0; } .content-container { animation: fadeIn 0.4s forwards; opacity: 0; @keyframes fadeIn { 0% { opacity: 0; transform: translateY(3vh); } 100% { opacity: 1; transform: translateY(0vh); } } } .chat-button { --background: transparent; background-color: lighten($brand-red, 10%); border-radius: 50%; position: relative; overflow: visible; width: 60px; height: 60px; ion-icon { font-size: 25px; } ion-badge { position: absolute; right: 7px; top: 7px; font-size: 10px; } }