Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

161 rader
3.7 KiB

  1. /*
  2. * App Global CSS
  3. * ----------------------------------------------------------------------------
  4. * Put style rules here that you want to apply globally. These styles are for
  5. * the entire app and not just one component. Additionally, this file can be
  6. * used as an entry point to import other CSS/Sass files to be included in the
  7. * output CSS.
  8. * For more information on global stylesheets, visit the documentation:
  9. * https://ionicframework.com/docs/layout/global-stylesheets
  10. */
  11. /* Core CSS required for Ionic components to work properly */
  12. @import "~@ionic/angular/css/core.css";
  13. /* Basic CSS for apps built with Ionic */
  14. @import "~@ionic/angular/css/normalize.css";
  15. @import "~@ionic/angular/css/structure.css";
  16. @import "~@ionic/angular/css/typography.css";
  17. @import '~@ionic/angular/css/display.css';
  18. /* Optional CSS utils that can be commented out */
  19. @import "~@ionic/angular/css/padding.css";
  20. @import "~@ionic/angular/css/float-elements.css";
  21. @import "~@ionic/angular/css/text-alignment.css";
  22. @import "~@ionic/angular/css/text-transformation.css";
  23. @import "~@ionic/angular/css/flex-utils.css";
  24. @import './app/colors';
  25. @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
  26. * {
  27. font-family: 'Roboto', sans-serif;
  28. outline: none;
  29. text-decoration: none;
  30. letter-spacing: 0.5px;
  31. }
  32. ion-content {
  33. --background: transparent;
  34. background: linear-gradient(0deg, lighten($dark-blue, 10%), $dark-blue 80%);
  35. }
  36. .header-with-action-buttons {
  37. display: flex;
  38. justify-content: space-between;
  39. align-items: flex-start;
  40. padding: 0 3% 0 0%;
  41. height: 70px;
  42. position: sticky;
  43. position: -webkit-sticky;
  44. left: 0;
  45. top: 0;
  46. background-color: lighten($dark-blue, 5%);
  47. z-index: 2;
  48. width: 100%;
  49. align-items: center;
  50. box-shadow: 0px 0px 5px $dark-blue;
  51. button {
  52. background-color: transparent;
  53. border: none;
  54. }
  55. .nav button {
  56. color: lighten($blue-grey, 10%);
  57. display: flex;
  58. align-items: center;
  59. justify-content: flex-start;
  60. ion-icon {
  61. font-size: 24px;
  62. }
  63. span {
  64. font-size: 14px;
  65. }
  66. }
  67. header {
  68. flex-grow: 1;
  69. padding: 0 15px;
  70. font-size: 14px;
  71. color: lighten($blue-grey, 50%);
  72. font-weight: 500;
  73. text-align: left;
  74. white-space: nowrap;
  75. overflow: hidden;
  76. text-overflow: ellipsis;
  77. span {
  78. font-weight: 500;
  79. color: lighten($blue-grey, 10%);
  80. font-size: 12px;
  81. }
  82. }
  83. .action {
  84. display: flex;
  85. justify-content: flex-end;
  86. }
  87. .action button {
  88. width: 40px;
  89. height: 40px;
  90. border: 2px solid darken($green, 10%);
  91. background-color: rgba($green, 0.1);
  92. border-radius: 50%;
  93. display: flex;
  94. align-items: center;
  95. justify-content: center;
  96. margin-left: 15px;
  97. ion-icon {
  98. color: darken($green, 10%);
  99. font-size: 20px;
  100. }
  101. }
  102. }
  103. figure {
  104. margin: 0;
  105. }
  106. .content-container {
  107. animation: fadeIn 0.4s forwards;
  108. opacity: 0;
  109. @keyframes fadeIn {
  110. 0% {
  111. opacity: 0;
  112. transform: translateY(3vh);
  113. }
  114. 100% {
  115. opacity: 1;
  116. transform: translateY(0vh);
  117. }
  118. }
  119. }
  120. .chat-button {
  121. --background: transparent;
  122. background-color: lighten($brand-red, 10%);
  123. border-radius: 50%;
  124. position: relative;
  125. overflow: visible;
  126. width: 60px;
  127. height: 60px;
  128. ion-icon {
  129. font-size: 25px;
  130. }
  131. ion-badge {
  132. position: absolute;
  133. right: 7px;
  134. top: 7px;
  135. font-size: 10px;
  136. }
  137. }