omlink.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. /**
  2. * Main SCSS file
  3. *
  4. * @author Open Mind
  5. * @date 27/06/2018
  6. * @time 17:42
  7. * @since 18/07/2018 in SCSS format
  8. */
  9. // DEFAULTS
  10. // Background color
  11. $mainColor: #eeeeee;
  12. // Main text color
  13. $textColor: white;
  14. // Upper and Lower navbar background color
  15. $navbarsColor: rgba(94, 107, 116, 0.95);
  16. // drop-shadow and box-shadow color
  17. $shadowColor: #444444;
  18. // All input tag colors
  19. $inputBgColor: rgb(77, 80, 153);
  20. $inputColor: white;
  21. $placeholderColor: gray !important;
  22. .navbar.fixed-bottom {
  23. color: white;
  24. }
  25. html, body {
  26. height: 100%;
  27. }
  28. body {
  29. background-color: $mainColor !important;
  30. background: linear-gradient(to right, darken($mainColor, 10%), $mainColor);
  31. color: $textColor !important;
  32. font-family: 'Roboto';
  33. }
  34. .navbar-dark {
  35. background: black;
  36. background: linear-gradient(to right, #6b6767, #000000);
  37. }
  38. /* latin */
  39. @font-face {
  40. font-family: 'Roboto';
  41. font-style: normal;
  42. font-weight: 400;
  43. src: local('Roboto'), local('Roboto-Regular'), url('../fonts/Roboto-Regular.ttf') format('truetype');
  44. unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  45. }
  46. .error_body:before {
  47. content: "";
  48. position: absolute;
  49. left: 0;
  50. top: 0;
  51. width: 100%;
  52. height: 100%;
  53. background: url('../../../assets/images/error_bg.png');
  54. background-size: cover;
  55. }
  56. .error_body .card {
  57. opacity: 0.9;
  58. }
  59. /*
  60. input[type="text"], input[type="password"] {
  61. border-color: #C5AC0F !important;
  62. background-color: #484848 !important;
  63. }
  64. input[type="text"]:focus, input[type="password"]:focus {
  65. border-color: #C5AC0F !important;
  66. color: #ffd242 !important;
  67. }
  68. */
  69. /*input {
  70. border-color: darken($inputBgColor, 10%);
  71. color: darken($inputColor, 10%);
  72. }
  73. input:focus {
  74. background-color: $inputBgColor !important;
  75. border-color: $inputColor !important;
  76. }*/
  77. .form-control, .btn {
  78. background-color: $inputBgColor !important;
  79. color: $inputColor !important;
  80. }
  81. .form-control:focus, .btn:focus {
  82. // border-color: #c5ac0f !important;
  83. background-color: lighten($inputBgColor, 8%) !important;
  84. border-color: darken($inputBgColor, 10%) !important;
  85. box-shadow: 0 0 10px $inputBgColor !important;
  86. }
  87. .form-control:disabled {
  88. color: darken($inputColor, 10%) !important;
  89. background-color: darken($inputBgColor, 8%) !important;
  90. }
  91. .debugborder {
  92. border: 1px solid red !important;
  93. }
  94. .disablebutton {
  95. opacity: 0.4;
  96. }
  97. .imgbuttonmenu {
  98. max-height: 180px !important;
  99. border-radius: 10px !important;
  100. }
  101. .om-shadow {
  102. filter: drop-shadow(0px 0.2em 5px $shadowColor);
  103. }
  104. input::placeholder {
  105. color: $placeholderColor;
  106. }
  107. input::-ms-input-placeholder {
  108. color: $placeholderColor;
  109. }
  110. .navbar {
  111. background-color: $navbarsColor !important;
  112. }
  113. .rounded {
  114. border-radius: 15px !important;
  115. }
  116. @mixin prefix($property, $parameters...) {
  117. @each $prefix in -webkit-, -moz-, -ms-, -o-, "" {
  118. #{$prefix}#{$property}: $parameters;
  119. }
  120. }
  121. // Blink Effect
  122. @keyframes blink {
  123. 0% {
  124. @include prefix(opacity, 0.1);
  125. // background-color: lighten(#28a745, 40%);
  126. }
  127. 100% {
  128. @include prefix(opacity, 1);
  129. // background-color: darken(#28a745, 10%);
  130. }
  131. }
  132. @-webkit-keyframes blink {
  133. 0% {
  134. @include prefix(opacity, 0.1);
  135. // background-color: lighten(#28a745, 40%);
  136. }
  137. 100% {
  138. @include prefix(opacity, 1);
  139. // background-color: darken(#28a745, 10%);
  140. }
  141. }
  142. .blink {
  143. @include prefix(transition, all 0.1s ease-in-out);
  144. @include prefix(animation, blink alternate 1s infinite ease-in-out);
  145. }
  146. #sysmsgnum {
  147. color: white;
  148. background-color: red;
  149. font-size: 40%;
  150. position: absolute;
  151. left: 15px;
  152. bottom: 0;
  153. }
  154. #notification_area {
  155. padding-bottom: 0;
  156. border-radius: 10px 10px
  157. }
  158. #notification_area_deleteall {
  159. background-color: #3380BD;
  160. color: white;
  161. border-radius: 0 0 10px 10px;
  162. padding: 0;
  163. }