Commit 9cfb6fa56e04cb8886ea4a9aced914377ebe1d94
1 parent
4a6500eb
tokar commit
Showing
3 changed files
with
11 additions
and
3 deletions
Show diff stats
frontend/views/layouts/main.php
| ... | ... | @@ -120,10 +120,10 @@ AppAsset::register($this); |
| 120 | 120 | |
| 121 | 121 | <div class="search-main-menu"> |
| 122 | 122 | <form action=""> |
| 123 | - <input type="search"/> | |
| 123 | + <input value="1" name="" type="search"/> | |
| 124 | 124 | <input type="submit" value=""/> |
| 125 | 125 | <div class="search-list"> |
| 126 | - <span>Исполнители</span> | |
| 126 | + <span>Проекты</span> | |
| 127 | 127 | <ul> |
| 128 | 128 | <li>Проекты</li> |
| 129 | 129 | <li>Исполнители</li> | ... | ... |
frontend/web/css/style.css
| ... | ... | @@ -256,7 +256,7 @@ ul.main-menu li span:after{ |
| 256 | 256 | height: 29px; |
| 257 | 257 | border: none; |
| 258 | 258 | box-sizing: border-box; |
| 259 | - padding: 0 32px 0 10px; | |
| 259 | + padding: 0 5px 0 128px; | |
| 260 | 260 | } |
| 261 | 261 | .search-main-menu form input[type="submit"] { |
| 262 | 262 | width: 29px; |
| ... | ... | @@ -4941,18 +4941,23 @@ input.custom-check:checked + label span, input.custom-check:checked + label:hove |
| 4941 | 4941 | top: 0; |
| 4942 | 4942 | left: 0; |
| 4943 | 4943 | height: 29px; |
| 4944 | + width: 118px; | |
| 4944 | 4945 | } |
| 4945 | 4946 | .search-list span { |
| 4946 | 4947 | display: block; |
| 4947 | 4948 | height: 19px; |
| 4949 | + width: 120px; | |
| 4948 | 4950 | line-height: 19px; |
| 4949 | 4951 | font-size: 13px; |
| 4950 | 4952 | color: #b7b7b7; |
| 4951 | 4953 | padding-left: 10px; |
| 4954 | + box-sizing: border-box; | |
| 4952 | 4955 | border-right: 1px solid #b7b7b7; |
| 4953 | 4956 | margin-top: 7px; |
| 4954 | 4957 | cursor: pointer; |
| 4955 | 4958 | padding-right: 28px; |
| 4959 | + position: relative; | |
| 4960 | + z-index: 2; | |
| 4956 | 4961 | } |
| 4957 | 4962 | .search-list:before { |
| 4958 | 4963 | position: absolute; |
| ... | ... | @@ -4972,6 +4977,7 @@ input.custom-check:checked + label span, input.custom-check:checked + label:hove |
| 4972 | 4977 | border-left: 1px solid #b7b7b7; |
| 4973 | 4978 | border-right: 1px solid #b7b7b7; |
| 4974 | 4979 | border-bottom: 1px solid #b7b7b7; |
| 4980 | + display: none; | |
| 4975 | 4981 | } |
| 4976 | 4982 | .search-list li { |
| 4977 | 4983 | list-style: none; | ... | ... |