Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

style.less 2.9KB

5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. @color: #0046a0;
  2. //header
  3. .om-header-container{
  4. position: fixed;
  5. top: 0px;
  6. z-index: 1;
  7. width: 100%;
  8. display: block;
  9. }
  10. .om-header{
  11. justify-content:space-between;
  12. display: flex;
  13. padding-left: 2%;
  14. padding-right: 2%;
  15. height: 65px;
  16. background-color: @color;
  17. }
  18. .logo-img{
  19. padding:10px;
  20. }
  21. .om-searchbar{
  22. display: inline-block;
  23. padding: 0;
  24. margin: 15px;
  25. }
  26. //content
  27. .om-content{
  28. margin: 10px;
  29. margin-top: 80px;
  30. margin-bottom: 80px;
  31. a{
  32. color: @color;
  33. &:hover{color:@color;}
  34. }
  35. }
  36. //footer
  37. .om-nav{
  38. position:fixed;
  39. bottom: 0;
  40. height: 65px;
  41. width: 100%;
  42. background-color: @color;
  43. z-index:5;
  44. i{
  45. color: white;
  46. }
  47. }
  48. //msg-Card
  49. .om-card{
  50. margin: 10px;
  51. margin-bottom: 20px;
  52. padding: 20px;
  53. }
  54. .om-card-footer{
  55. justify-content: space-between;
  56. display: flex;
  57. }
  58. .om-btn{
  59. background-color: @color;
  60. color: white;
  61. }
  62. .msg-head{
  63. margin-top: 10px;
  64. margin-bottom: 10px;
  65. img{
  66. float: right
  67. }
  68. }
  69. .om-user-line{
  70. display: flex;
  71. width: 80%;
  72. i{
  73. margin-right: 2%;
  74. }
  75. }
  76. // bookmark
  77. .bookmark-headline{
  78. margin: 10px;
  79. padding-bottom: 10px;
  80. }
  81. //empty state
  82. .empty-state{
  83. margin: 40px;
  84. margin-top: 40%;
  85. color: #6c757d;
  86. text-align: center;
  87. i{
  88. font-size: 50px;
  89. margin: 10px;
  90. }
  91. }
  92. // profil
  93. .profil-text {
  94. margin-top: 70px;
  95. margin-bottom: 10px;
  96. text-align: center;
  97. display: block;
  98. margin-left: auto;
  99. margin-right: auto;
  100. }
  101. .profil-card {
  102. margin: 10px;
  103. margin-top: -80px;
  104. position: relative;
  105. z-index:1;
  106. }
  107. .profil-img {
  108. background-color: @color;
  109. border-style: solid;
  110. border-color: @color;
  111. border-width: thick;
  112. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
  113. display: block;
  114. margin-left: auto;
  115. margin-right: auto;
  116. position: relative;
  117. z-index:2;
  118. }
  119. .edit-item {
  120. color: @color;
  121. margin-top: 10px;
  122. margin-right: 10px;
  123. i {
  124. float: right;
  125. font-size: 30px;
  126. }
  127. }
  128. .om-tab {
  129. font-size: 16px;
  130. display: block;
  131. margin-left: auto;
  132. margin-right: auto;
  133. margin-bottom: 10px;
  134. }
  135. .om-tablinks{
  136. background: 0;
  137. border: 0;
  138. }
  139. //bmd changes
  140. //border
  141. .form-group.is-focused .form-control .custom-file-control, .form-control, .is-focused .custom-file-control, .is-focused .form-control {
  142. background-image: linear-gradient(0deg, @color 2px,rgba(0,150,136,0) 0),linear-gradient(0deg,rgba(0,0,0,.26) 1px,transparent 0);
  143. }
  144. //checkbox
  145. .checkbox label input[type=checkbox]:checked+.checkbox-decorator .check:before, label.checkbox-inline input[type=checkbox]:checked+.checkbox-decorator .check:before {
  146. color: @color;
  147. }
  148. .checkbox label input[type=checkbox]:checked+.checkbox-decorator .check, label.checkbox-inline input[type=checkbox]:checked+.checkbox-decorator .check {
  149. color: @color;
  150. border-color: @color;
  151. }
  152. //label
  153. .is-focused [class*="bmd-label"], .is-focused[class^=bmd-label]{
  154. color: @color;
  155. }