omlink.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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. color: $textColor !important;
  31. font-family: 'Roboto';
  32. }
  33. /* latin */
  34. @font-face {
  35. font-family: 'Roboto';
  36. font-style: normal;
  37. font-weight: 400;
  38. src: local('Roboto'), local('Roboto-Regular'), url('ui/fonts/Roboto-Regular.ttf') format('truetype');
  39. 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;
  40. }
  41. .error_body:before {
  42. content: "";
  43. position: absolute;
  44. left: 0;
  45. top: 0;
  46. width: 100%;
  47. height: 100%;
  48. background: url('ui/images/error_bg.png');
  49. background-size: cover;
  50. }
  51. .error_body .card {
  52. opacity: 0.9;
  53. }
  54. /*
  55. input[type="text"], input[type="password"] {
  56. border-color: #C5AC0F !important;
  57. background-color: #484848 !important;
  58. }
  59. input[type="text"]:focus, input[type="password"]:focus {
  60. border-color: #C5AC0F !important;
  61. color: #ffd242 !important;
  62. }
  63. */
  64. /*input {
  65. border-color: darken($inputBgColor, 10%);
  66. color: darken($inputColor, 10%);
  67. }
  68. input:focus {
  69. background-color: $inputBgColor !important;
  70. border-color: $inputColor !important;
  71. }*/
  72. .form-control, .btn {
  73. background-color: $inputBgColor !important;
  74. color: $inputColor !important;
  75. }
  76. .form-control:focus, .btn:focus {
  77. // border-color: #c5ac0f !important;
  78. background-color: lighten($inputBgColor, 8%) !important;
  79. border-color: darken($inputBgColor, 10%) !important;
  80. box-shadow: 0 0 10px $inputBgColor !important;
  81. }
  82. .form-control:disabled {
  83. color: darken($inputColor, 10%) !important;
  84. background-color: darken($inputBgColor, 8%) !important;
  85. }
  86. .debugborder {
  87. border: 1px solid red !important;
  88. }
  89. .disablebutton {
  90. opacity: 0.4;
  91. }
  92. .imgbuttonmenu {
  93. max-height: 180px !important;
  94. border-radius: 10px !important;
  95. }
  96. .om-shadow {
  97. filter: drop-shadow(0px 0.2em 5px $shadowColor);
  98. }
  99. input::placeholder {
  100. color: $placeholderColor;
  101. }
  102. input::-ms-input-placeholder {
  103. color: $placeholderColor;
  104. }
  105. .navbar {
  106. background-color: $navbarsColor !important;
  107. }
  108. .rounded {
  109. border-radius: 15px !important;
  110. }
  111. @mixin prefix($property, $parameters...) {
  112. @each $prefix in -webkit-, -moz-, -ms-, -o-, "" {
  113. #{$prefix}#{$property}: $parameters;
  114. }
  115. }
  116. // Blink Effect
  117. @keyframes blink {
  118. 0% {
  119. @include prefix(opacity, 0.1);
  120. // background-color: lighten(#28a745, 40%);
  121. }
  122. 100% {
  123. @include prefix(opacity, 1);
  124. // background-color: darken(#28a745, 10%);
  125. }
  126. }
  127. @-webkit-keyframes blink {
  128. 0% {
  129. @include prefix(opacity, 0.1);
  130. // background-color: lighten(#28a745, 40%);
  131. }
  132. 100% {
  133. @include prefix(opacity, 1);
  134. // background-color: darken(#28a745, 10%);
  135. }
  136. }
  137. .blink {
  138. @include prefix(transition, all 0.1s ease-in-out);
  139. @include prefix(animation, blink alternate 1s infinite ease-in-out);
  140. }
  141. #sysmsgnum {
  142. color: white;
  143. background-color: red;
  144. font-size: 40%;
  145. position: absolute;
  146. left: 15px;
  147. bottom: 0;
  148. }
  149. #notification_area {
  150. padding-bottom: 0;
  151. border-radius: 10px 10px
  152. }
  153. #notification_area_deleteall {
  154. background-color: #3380BD;
  155. color: white;
  156. border-radius: 0 0 10px 10px;
  157. padding: 0;
  158. }