organization-list.scss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. $organization-list-selector: 'organization-list';
  2. .#{$organization-list-selector} {
  3. &__headline {
  4. height: 44px;
  5. margin-bottom: 15px;
  6. padding: 0 18px 0 56px;
  7. box-sizing: border-box;
  8. position: relative;
  9. display: -webkit-flex;
  10. display: -ms-flex;
  11. display: flex;
  12. flex-direction: row;
  13. justify-content: space-between;
  14. align-content: center;
  15. align-items: center;
  16. background: #ebebeb;
  17. z-index: 2;
  18. &:before {
  19. content: '';
  20. position: absolute;
  21. width: 49px;
  22. height: 49px;
  23. border-radius: 50%;
  24. left: -10px;
  25. top: -8px;
  26. border: 5px solid #ffffff;
  27. background: url(../img/icon_leftbar_innermenu_01@2x.png) center/50% 50% no-repeat #004d7b;
  28. }
  29. }
  30. &__headline-text {
  31. width: 900px;
  32. margin-right: 20px;
  33. font-family: $fontcuprum;
  34. font-size: 20px;
  35. font-weight: bold;
  36. color: #004d7b;
  37. overflow: hidden;
  38. }
  39. &__item {
  40. border: 1px solid #ebebeb;
  41. background: #fff;
  42. font-family: $fontcuprum;
  43. margin-bottom: 10px;
  44. position: relative;
  45. padding-right: 30px;
  46. display: flex;
  47. flex-direction: row;
  48. text-decoration: none;
  49. &:hover {
  50. border-color: #d2dee9;
  51. }
  52. &-img {
  53. max-width: 110px;
  54. &-placeholder {
  55. width: 110px;
  56. height: 73px;
  57. background: #ebebeb;
  58. .#{$organization-list-selector}__item:hover & {
  59. background: #d2dee9;
  60. }
  61. }
  62. &-container {
  63. margin: -1px 9px -1px -1px;
  64. }
  65. }
  66. &-title {
  67. height: 29px;
  68. margin: 5px 0 6px;
  69. overflow: hidden;
  70. &-text {
  71. display: table-cell;
  72. height: 29px;
  73. vertical-align: middle;
  74. font-size: 17px;
  75. line-height: 14px;
  76. color: #3b434d;
  77. text-decoration: none;
  78. .#{$organization-list-selector}__item:hover & {
  79. color: lighten(#3b434d, 10%);
  80. }
  81. }
  82. }
  83. &-description {
  84. height: 29px;
  85. overflow: hidden;
  86. font-family: $fontopensans;
  87. font-size: 13px;
  88. line-height: 14px;
  89. color: #3b434d;
  90. }
  91. &-arrow {
  92. display: block;
  93. width: 14px;
  94. height: 14px;
  95. position: absolute;
  96. top: 50%;
  97. right: 4px;
  98. margin-top: -7px;
  99. background: url(../img/icon_leftbar_title_arrow1.png) no-repeat;
  100. }
  101. &-badge {
  102. left: -1px;
  103. bottom: 6px;
  104. }
  105. }
  106. &__grid {
  107. margin: 10px 0;
  108. }
  109. &__side-menu {
  110. z-index: 2;
  111. position: relative;
  112. background: #ffffff;
  113. margin-top: 3px;
  114. &-item {
  115. border-bottom: 1px solid #ebebeb;
  116. position: relative;
  117. $menuItem: &;
  118. &-arrow {
  119. background: url(../img/blockslide_sprite.png) 0 -9px no-repeat;
  120. position: absolute;
  121. right: 5px;
  122. top: 10px;
  123. display: block;
  124. width: 15px;
  125. height: 9px;
  126. cursor: pointer;
  127. #{$menuItem}.active & {
  128. background-position: 0 0;
  129. }
  130. }
  131. &.active ul {
  132. display: block;
  133. }
  134. }
  135. &-link {
  136. color: #004d7b;
  137. text-decoration: none;
  138. font-size: 16px;
  139. padding: 8px 25px 8px 8px;
  140. display: block;
  141. line-height: 19px;
  142. font-family: $fontcuprum;
  143. font-weight: normal;
  144. &:hover {
  145. background: #d2dee9;
  146. }
  147. }
  148. }
  149. &__side-submenu {
  150. display: none;
  151. background: #f7f7f7;
  152. .organization-list__side-menu-item.active & {
  153. display: block;
  154. }
  155. &-item {
  156. }
  157. &-link {
  158. color: #9b9b9b;
  159. text-decoration: none;
  160. font-size: 15px;
  161. padding: 8px 8px 8px 15px;
  162. display: block;
  163. line-height: 19px;
  164. font-family: $fontcuprum;
  165. font-weight: normal;
  166. position: relative;
  167. &:before {
  168. position: absolute;
  169. content: '>';
  170. left: 5px;
  171. top: 6px;
  172. font-size: 17px;
  173. }
  174. &:hover {
  175. background: #004d7b;
  176. color: #fff;
  177. }
  178. }
  179. }
  180. }