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

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