omlink.scss 3.6 KB

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