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 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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. z-index:10;
  10. }
  11. .om-header{
  12. justify-content:space-between;
  13. display: flex;
  14. padding-left: 2%;
  15. padding-right: 2%;
  16. height: 65px;
  17. background-color: @color;
  18. }
  19. .logo-img{
  20. padding:10px;
  21. }
  22. .om-searchbar{
  23. display: inline-block;
  24. padding: 0;
  25. margin: 15px;
  26. }
  27. //content
  28. .om-content{
  29. margin: 10px;
  30. margin-top: 80px;
  31. margin-bottom: 80px;
  32. a{
  33. color: @color;
  34. &:hover{color:@color;}
  35. }
  36. }
  37. //footer
  38. .om-nav{
  39. position:fixed;
  40. bottom: 0;
  41. height: 65px;
  42. width: 100%;
  43. background-color: @color;
  44. z-index:10;
  45. i{
  46. color: white;
  47. }
  48. }
  49. a.nav-item.nav-link{
  50. }
  51. //msg-Card
  52. .om-card{
  53. margin: 10px;
  54. margin-bottom: 20px;
  55. padding: 20px;
  56. }
  57. .om-card-footer{
  58. justify-content: space-between;
  59. display: flex;
  60. }
  61. .om-btn{
  62. background-color: @color;
  63. color: white;
  64. }
  65. .msg-head{
  66. margin-top: 10px;
  67. margin-bottom: 10px;
  68. img{
  69. float: right
  70. }
  71. }
  72. .om-user-line{
  73. display: flex;
  74. width: 80%;
  75. i{
  76. margin-right: 2%;
  77. }
  78. }
  79. // bookmark
  80. .bookmark-headline{
  81. margin: 10px;
  82. padding-bottom: 10px;
  83. }
  84. //empty state
  85. .empty-state{
  86. margin: 40px;
  87. margin-top: 40%;
  88. color: #6c757d;
  89. text-align: center;
  90. i{
  91. font-size: 50px;
  92. margin: 10px;
  93. }
  94. }
  95. // profil
  96. .profil-text {
  97. margin-top: 90px;
  98. text-align: center;
  99. display: block;
  100. margin-left: auto;
  101. margin-right: auto;
  102. z-index:2;
  103. }
  104. .profil-card {
  105. margin-left: 10px;
  106. margin-right: 10px;
  107. margin-top: 130px;
  108. padding-top: 10px;
  109. margin-bottom: 15px;
  110. position: relative;
  111. z-index:1;
  112. }
  113. .prof-image {
  114. background-color: @color;
  115. border-style: solid;
  116. border-color: @color;
  117. border-width: thick;
  118. border-radius: 50%;
  119. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
  120. display: block;
  121. position: absolute;
  122. top: -50px;
  123. left: 50%;
  124. margin-left: -60px;
  125. width: 120px !important;
  126. height: 120px;
  127. z-index:4;
  128. }
  129. hr.first {
  130. margin-top: 0px;
  131. margin-bottom: 0px;
  132. }
  133. .btnprofil {
  134. height: 60px;
  135. margin-top: 10px;
  136. margin-left: auto;
  137. margin-right: auto;
  138. margin-bottom: 10px;
  139. text-align: center;
  140. button {
  141. width: 110px;
  142. display: inline-block;
  143. margin-right: 20px;
  144. margin-left: 20px;
  145. }
  146. }
  147. .logout-item {
  148. color: @color;
  149. margin-top: -25px;
  150. margin-right: 10px;
  151. i {
  152. float: right;
  153. font-size: 30px;
  154. z-index:3;
  155. }
  156. }
  157. // Modal
  158. .vertical-alignment-helper {
  159. display:table;
  160. height: 100%;
  161. width: 100%;
  162. }
  163. .vertical-align-center {
  164. /* To center vertically */
  165. display: table-cell;
  166. vertical-align: middle;
  167. }
  168. .modal-content {
  169. width:inherit;
  170. height: 80%;
  171. /* To center horizontally */
  172. margin: 0 auto;
  173. }
  174. .om-tab {
  175. font-size: 16px;
  176. display: block;
  177. margin-left: auto;
  178. margin-right: auto;
  179. margin-bottom: 10px;
  180. }
  181. .om-tablinks{
  182. background: 0;
  183. border: 0;
  184. }
  185. //bmd changes
  186. //border
  187. .form-group.is-focused .form-control .custom-file-control, .form-control, .is-focused .custom-file-control, .is-focused .form-control {
  188. background-image: linear-gradient(0deg, @color 2px,rgba(0,150,136,0) 0),linear-gradient(0deg,rgba(0,0,0,.26) 1px,transparent 0);
  189. }
  190. //checkbox
  191. .checkbox label input[type=checkbox]:checked+.checkbox-decorator .check:before, label.checkbox-inline input[type=checkbox]:checked+.checkbox-decorator .check:before {
  192. color: @color;
  193. }
  194. .checkbox label input[type=checkbox]:checked+.checkbox-decorator .check, label.checkbox-inline input[type=checkbox]:checked+.checkbox-decorator .check {
  195. color: @color;
  196. border-color: @color;
  197. }
  198. //label
  199. .is-focused [class*="bmd-label"], .is-focused[class^=bmd-label]{
  200. color: @color;
  201. }
  202. /*//Präsentation Styles
  203. .om-card {
  204. font-size: 140%;
  205. }
  206. .msg-head{
  207. font-size:90%;
  208. }
  209. .empty-state{
  210. margin: 40px;
  211. margin-top: 30%;
  212. font-size:140%;
  213. }*/