Commit 9cfb6fa56e04cb8886ea4a9aced914377ebe1d94

Authored by Виталий
1 parent 4a6500eb

tokar commit

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