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.8KB

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