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

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