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

5 years ago
5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  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. //createMsg
  80. taginput-container is-focusable:focus {
  81. border-color: @color !important;
  82. //box-shadow: 0;
  83. }
  84. // bookmark
  85. .bookmark-headline{
  86. margin: 10px;
  87. padding-bottom: 10px;
  88. }
  89. //empty state
  90. .empty-state{
  91. margin: 40px;
  92. margin-top: 40%;
  93. color: #6c757d;
  94. text-align: center;
  95. i{
  96. font-size: 50px;
  97. margin: 10px;
  98. }
  99. }
  100. // profil
  101. .profil-text {
  102. margin-top: 90px;
  103. text-align: center;
  104. display: block;
  105. margin-left: auto;
  106. margin-right: auto;
  107. z-index:2;
  108. }
  109. .profil-card {
  110. margin-left: 10px;
  111. margin-right: 10px;
  112. margin-top: 130px;
  113. padding-top: 10px;
  114. margin-bottom: 15px;
  115. position: relative;
  116. z-index:1;
  117. }
  118. .prof-image {
  119. background-color: @color;
  120. border-style: solid;
  121. border-color: @color;
  122. border-width: thick;
  123. border-radius: 50%;
  124. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
  125. display: block;
  126. position: absolute;
  127. top: -50px;
  128. left: 50%;
  129. margin-left: -60px;
  130. width: 120px !important;
  131. height: 120px;
  132. z-index:4;
  133. }
  134. hr.first {
  135. margin-top: 0px;
  136. margin-bottom: 0px;
  137. }
  138. .btnprofil {
  139. height: 60px;
  140. margin-top: 10px;
  141. margin-left: auto;
  142. margin-right: auto;
  143. margin-bottom: 10px;
  144. text-align: center;
  145. button {
  146. width: 110px;
  147. display: inline-block;
  148. margin-right: 20px;
  149. margin-left: 20px;
  150. }
  151. }
  152. .logout-item {
  153. color: @color;
  154. margin-top: -25px;
  155. margin-right: 10px;
  156. i {
  157. float: right;
  158. font-size: 30px;
  159. z-index:3;
  160. }
  161. }
  162. // Modal
  163. .vertical-alignment-helper {
  164. display:table;
  165. height: 100%;
  166. width: 100%;
  167. }
  168. .vertical-align-center {
  169. /* To center vertically */
  170. display: table-cell;
  171. vertical-align: middle;
  172. }
  173. .modal-content {
  174. width:inherit;
  175. height: 80%;
  176. /* To center horizontally */
  177. margin: 0 auto;
  178. }
  179. .om-tab {
  180. font-size: 16px;
  181. display: block;
  182. margin-left: auto;
  183. margin-right: auto;
  184. margin-bottom: 10px;
  185. }
  186. .om-tablinks{
  187. background: 0;
  188. border: 0;
  189. }
  190. //bmd changes
  191. //border
  192. .form-group.is-focused .form-control .custom-file-control, .form-control, .is-focused .custom-file-control, .is-focused .form-control {
  193. background-image: linear-gradient(0deg, @color 2px,rgba(0,150,136,0) 0),linear-gradient(0deg,rgba(0,0,0,.26) 1px,transparent 0);
  194. }
  195. //checkbox
  196. .checkbox label input[type=checkbox]:checked+.checkbox-decorator .check:before, label.checkbox-inline input[type=checkbox]:checked+.checkbox-decorator .check:before {
  197. color: @color;
  198. }
  199. .checkbox label input[type=checkbox]:checked+.checkbox-decorator .check, label.checkbox-inline input[type=checkbox]:checked+.checkbox-decorator .check {
  200. color: @color;
  201. border-color: @color;
  202. }
  203. //label
  204. .is-focused [class*="bmd-label"], .is-focused[class^=bmd-label]{
  205. color: @color;
  206. }
  207. /*//Präsentation Styles
  208. .om-card {
  209. font-size: 140%;
  210. }
  211. .msg-head{
  212. font-size:90%;
  213. }
  214. .empty-state{
  215. margin: 40px;
  216. margin-top: 30%;
  217. font-size:140%;
  218. }*/