Commit 0f123b59a88c6e40a3ba1b02f01ef5ae6c19d258
1 parent
c1b4f4d6
git
Showing
7 changed files
with
42 additions
and
13 deletions
Show diff stats
frontend/views/bookmarks/bookmarks-customer.php
| @@ -21,7 +21,7 @@ | @@ -21,7 +21,7 @@ | ||
| 21 | <?= Html::a('Исполнители', [ 'bookmarks/performer' ], [ 'class' => 'search-performer-button-performers' ]) ?> | 21 | <?= Html::a('Исполнители', [ 'bookmarks/performer' ], [ 'class' => 'search-performer-button-performers' ]) ?> |
| 22 | <?= Html::a('Заказчики', [ 'bookmarks/customer' ], [ 'class' => 'search-performer-button-customers' ]) ?> | 22 | <?= Html::a('Заказчики', [ 'bookmarks/customer' ], [ 'class' => 'search-performer-button-customers' ]) ?> |
| 23 | <?= Html::a(Yii::t('app', 'Projects'), [ 'bookmarks/project' ], [ 'class' => 'search-performer-button-project' ]) ?> | 23 | <?= Html::a(Yii::t('app', 'Projects'), [ 'bookmarks/project' ], [ 'class' => 'search-performer-button-project' ]) ?> |
| 24 | - <?= Html::a('Вакансии', [ 'bookmarks/vacancy' ], [ 'class' => 'search-performer-button-project' ]) ?> | 24 | + <?= Html::a('Вакансии', [ 'bookmarks/vacancy' ], [ 'class' => 'search-performer-button-vacant_' ]) ?> |
| 25 | </div> | 25 | </div> |
| 26 | <div class="right-search-work"> | 26 | <div class="right-search-work"> |
| 27 | <div class="search-worker-title style"><span>Заказчики</span></div> | 27 | <div class="search-worker-title style"><span>Заказчики</span></div> |
frontend/views/bookmarks/bookmarks-performer.php
| @@ -21,7 +21,7 @@ | @@ -21,7 +21,7 @@ | ||
| 21 | <?= Html::a('Исполнители', [ 'bookmarks/performer' ], [ 'class' => 'search-performer-button-performers' ]) ?> | 21 | <?= Html::a('Исполнители', [ 'bookmarks/performer' ], [ 'class' => 'search-performer-button-performers' ]) ?> |
| 22 | <?= Html::a('Заказчики', [ 'bookmarks/customer' ], [ 'class' => 'search-performer-button-customers' ]) ?> | 22 | <?= Html::a('Заказчики', [ 'bookmarks/customer' ], [ 'class' => 'search-performer-button-customers' ]) ?> |
| 23 | <?= Html::a(Yii::t('app', 'Projects'), [ 'bookmarks/project' ], [ 'class' => 'search-performer-button-project' ]) ?> | 23 | <?= Html::a(Yii::t('app', 'Projects'), [ 'bookmarks/project' ], [ 'class' => 'search-performer-button-project' ]) ?> |
| 24 | - <?= Html::a('Вакансии', [ 'bookmarks/vacancy' ], [ 'class' => 'search-performer-button-project' ]) ?> | 24 | + <?= Html::a('Вакансии', [ 'bookmarks/vacancy' ], [ 'class' => 'search-performer-button-vacant_' ]) ?> |
| 25 | </div> | 25 | </div> |
| 26 | <div class="right-search-work"> | 26 | <div class="right-search-work"> |
| 27 | <div class="search-worker-title style"><span>Исполнители</span></div> | 27 | <div class="search-worker-title style"><span>Исполнители</span></div> |
frontend/views/bookmarks/bookmarks-project.php
| @@ -21,7 +21,7 @@ | @@ -21,7 +21,7 @@ | ||
| 21 | <?= Html::a('Исполнители', [ 'bookmarks/performer' ], [ 'class' => 'search-performer-button-performers' ]) ?> | 21 | <?= Html::a('Исполнители', [ 'bookmarks/performer' ], [ 'class' => 'search-performer-button-performers' ]) ?> |
| 22 | <?= Html::a('Заказчики', [ 'bookmarks/customer' ], [ 'class' => 'search-performer-button-customers' ]) ?> | 22 | <?= Html::a('Заказчики', [ 'bookmarks/customer' ], [ 'class' => 'search-performer-button-customers' ]) ?> |
| 23 | <?= Html::a(Yii::t('app', 'Projects'), [ 'bookmarks/project' ], [ 'class' => 'search-performer-button-project' ]) ?> | 23 | <?= Html::a(Yii::t('app', 'Projects'), [ 'bookmarks/project' ], [ 'class' => 'search-performer-button-project' ]) ?> |
| 24 | - <?= Html::a('Вакансии', [ 'bookmarks/vacancy' ], [ 'class' => 'search-performer-button-project' ]) ?> | 24 | + <?= Html::a('Вакансии', [ 'bookmarks/vacancy' ], [ 'class' => 'search-performer-button-vacant_' ]) ?> |
| 25 | </div> | 25 | </div> |
| 26 | <div class="right-search-work"> | 26 | <div class="right-search-work"> |
| 27 | <div class="search-worker-title style"><span><?=Yii::t('app', 'Projects')?></span></div> | 27 | <div class="search-worker-title style"><span><?=Yii::t('app', 'Projects')?></span></div> |
frontend/views/bookmarks/bookmarks-vacancy.php
| @@ -21,7 +21,7 @@ | @@ -21,7 +21,7 @@ | ||
| 21 | <?= Html::a('Исполнители', [ 'bookmarks/performer' ], [ 'class' => 'search-performer-button-performers' ]) ?> | 21 | <?= Html::a('Исполнители', [ 'bookmarks/performer' ], [ 'class' => 'search-performer-button-performers' ]) ?> |
| 22 | <?= Html::a('Заказчики', [ 'bookmarks/customer' ], [ 'class' => 'search-performer-button-customers' ]) ?> | 22 | <?= Html::a('Заказчики', [ 'bookmarks/customer' ], [ 'class' => 'search-performer-button-customers' ]) ?> |
| 23 | <?= Html::a(Yii::t('app', 'Projects'), [ 'bookmarks/project' ], [ 'class' => 'search-performer-button-project' ]) ?> | 23 | <?= Html::a(Yii::t('app', 'Projects'), [ 'bookmarks/project' ], [ 'class' => 'search-performer-button-project' ]) ?> |
| 24 | - <?= Html::a('Вакансии', [ 'bookmarks/vacancy' ], [ 'class' => 'search-performer-button-project' ]) ?> | 24 | + <?= Html::a('Вакансии', [ 'bookmarks/vacancy' ], [ 'class' => 'search-performer-button-vacant_' ]) ?> |
| 25 | </div> | 25 | </div> |
| 26 | <div class="right-search-work"> | 26 | <div class="right-search-work"> |
| 27 | <div class="search-worker-title style"><span>Вакансии</span></div> | 27 | <div class="search-worker-title style"><span>Вакансии</span></div> |
frontend/views/bookmarks/bookmarks.php
| @@ -12,7 +12,7 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -12,7 +12,7 @@ $this->params['breadcrumbs'][] = $this->title; | ||
| 12 | <a href="#" class="search-performer-button-performers">Исполнители</a> | 12 | <a href="#" class="search-performer-button-performers">Исполнители</a> |
| 13 | <a href="#" class="search-performer-button-customers">Заказчики</a> | 13 | <a href="#" class="search-performer-button-customers">Заказчики</a> |
| 14 | <a href="#" class="search-performer-button-project"><?=Yii::t('app', 'Projects')?></a> | 14 | <a href="#" class="search-performer-button-project"><?=Yii::t('app', 'Projects')?></a> |
| 15 | - <a href="#" class="search-performer-button-project">Вакансии</a> | 15 | + <a href="#" class="search-performer-button-vacant_">Вакансии</a> |
| 16 | </div> | 16 | </div> |
| 17 | <div class="right-search-work"> | 17 | <div class="right-search-work"> |
| 18 | <div class="search-worker-title style"><span>Исполнители</span></div> | 18 | <div class="search-worker-title style"><span>Исполнители</span></div> |
frontend/web/css/style.css
| @@ -420,7 +420,7 @@ ul.main-menu li span:after{ | @@ -420,7 +420,7 @@ ul.main-menu li span:after{ | ||
| 420 | /*min-height: 322px;*/ | 420 | /*min-height: 322px;*/ |
| 421 | height: 323px; | 421 | height: 323px; |
| 422 | position: relative; | 422 | position: relative; |
| 423 | - overflow: hidden; | 423 | + /*overflow: hidden;*/ |
| 424 | margin-top: 23px; | 424 | margin-top: 23px; |
| 425 | border-top: 1px solid #dfdfdf; | 425 | border-top: 1px solid #dfdfdf; |
| 426 | border-bottom: 1px solid #dfdfdf; | 426 | border-bottom: 1px solid #dfdfdf; |
| @@ -444,11 +444,13 @@ ul.content-menu-first li { | @@ -444,11 +444,13 @@ ul.content-menu-first li { | ||
| 444 | transition: 0.3s; | 444 | transition: 0.3s; |
| 445 | background: #fff; | 445 | background: #fff; |
| 446 | } | 446 | } |
| 447 | -ul.content-menu-first li:first-child {border-top: 0} | 447 | +ul.content-menu-first > li:first-child { border-top-left-radius: 4px;} |
| 448 | +ul.content-menu-first > li:last-child, ._fix_radius_ {border-bottom-left-radius: 4px;} | ||
| 448 | ul.content-menu-first li:hover { | 449 | ul.content-menu-first li:hover { |
| 449 | background: #bb0f3f; | 450 | background: #bb0f3f; |
| 451 | + transition: 0s; | ||
| 450 | } | 452 | } |
| 451 | - | 453 | +ul.content-menu-first li:first-child {border-top: 0} |
| 452 | ul.content-menu-first li a { | 454 | ul.content-menu-first li a { |
| 453 | text-decoration: none; | 455 | text-decoration: none; |
| 454 | color: #333333; | 456 | color: #333333; |
| @@ -484,6 +486,7 @@ ul.content-menu-first li ul li:hover a { | @@ -484,6 +486,7 @@ ul.content-menu-first li ul li:hover a { | ||
| 484 | } | 486 | } |
| 485 | ul.content-menu-first li > ul li{box-sizing: border-box;padding-left: 19px} | 487 | ul.content-menu-first li > ul li{box-sizing: border-box;padding-left: 19px} |
| 486 | ul.content-menu-first li > ul li a{color: #fff !important} | 488 | ul.content-menu-first li > ul li a{color: #fff !important} |
| 489 | + | ||
| 487 | .remove-link, .remove-link-two {position: relative} | 490 | .remove-link, .remove-link-two {position: relative} |
| 488 | .hack-arrow { | 491 | .hack-arrow { |
| 489 | width: 6px; | 492 | width: 6px; |
| @@ -503,7 +506,7 @@ ul.content-menu-first li > ul li a{color: #fff !important} | @@ -503,7 +506,7 @@ ul.content-menu-first li > ul li a{color: #fff !important} | ||
| 503 | /*background: url("/images/arrow-menu-two.png") no-repeat;*/ | 506 | /*background: url("/images/arrow-menu-two.png") no-repeat;*/ |
| 504 | /*}*/ | 507 | /*}*/ |
| 505 | li.hov-arrow:after{ background: url("/images/arrow-menu-two-hov.png") no-repeat !important;} | 508 | li.hov-arrow:after{ background: url("/images/arrow-menu-two-hov.png") no-repeat !important;} |
| 506 | -ul.third-ul-menu{display: none !important;} | 509 | +ul.third-ul-menu{display: none !important; margin-left: -1px} |
| 507 | ul.content-menu-first li ul li:hover ul.third-ul-menu{display: block !important;} | 510 | ul.content-menu-first li ul li:hover ul.third-ul-menu{display: block !important;} |
| 508 | .third-ul-menu li:last-child{border-bottom: 1px solid #dfdfdf;} | 511 | .third-ul-menu li:last-child{border-bottom: 1px solid #dfdfdf;} |
| 509 | ul.last-ul-menu{display: none!important;} | 512 | ul.last-ul-menu{display: none!important;} |
| @@ -511,7 +514,13 @@ ul.last-ul-menu{display: none!important;} | @@ -511,7 +514,13 @@ ul.last-ul-menu{display: none!important;} | ||
| 511 | .last-ul-menu li{border-right: none !important} | 514 | .last-ul-menu li{border-right: none !important} |
| 512 | ul.third-ul-menu li:hover ul.last-ul-menu {display: block !important;} | 515 | ul.third-ul-menu li:hover ul.last-ul-menu {display: block !important;} |
| 513 | ul.content-menu-first li ul li:last-child, ul.content-menu-first li:last-child{border-bottom: 1px solid #dfdfdf;} | 516 | ul.content-menu-first li ul li:last-child, ul.content-menu-first li:last-child{border-bottom: 1px solid #dfdfdf;} |
| 514 | -ul.third-ul-menu li {background: #fff !important; height: auto; line-height: 18px; min-height: 36px; padding: 9px 0 8px 0;} | 517 | +ul.third-ul-menu li {background: #fff !important;border-left: 1px solid #dfdfdf;} |
| 518 | +ul.content-menu-first li > ul li { | ||
| 519 | + height: auto; | ||
| 520 | + line-height: 18px; | ||
| 521 | + min-height: 36px; | ||
| 522 | + padding: 9px 16px 8px 19px; | ||
| 523 | +} | ||
| 515 | ul.third-ul-menu li:after{margin-top: -13px; } | 524 | ul.third-ul-menu li:after{margin-top: -13px; } |
| 516 | /*ul.third-ul-menu li:after{margin-top: -13px; height: 100% !important; background: red !important;}*/ | 525 | /*ul.third-ul-menu li:after{margin-top: -13px; height: 100% !important; background: red !important;}*/ |
| 517 | /***************************/ | 526 | /***************************/ |
| @@ -3603,7 +3612,7 @@ form.offer-project { | @@ -3603,7 +3612,7 @@ form.offer-project { | ||
| 3603 | height: 52px; | 3612 | height: 52px; |
| 3604 | top: -16px; | 3613 | top: -16px; |
| 3605 | } | 3614 | } |
| 3606 | -.search-performer-button-performers, .search-performer-button-customers, .search-performer-button-project { | 3615 | +.search-performer-button-performers, .search-performer-button-customers, .search-performer-button-project, .search-performer-button-vacant_ { |
| 3607 | width: 170px; | 3616 | width: 170px; |
| 3608 | height: 43px; | 3617 | height: 43px; |
| 3609 | line-height: 45px; | 3618 | line-height: 45px; |
| @@ -3632,6 +3641,21 @@ form.offer-project { | @@ -3632,6 +3641,21 @@ form.offer-project { | ||
| 3632 | background: linear-gradient(to bottom, #f8941e 0%,#fd9d2b 100%); | 3641 | background: linear-gradient(to bottom, #f8941e 0%,#fd9d2b 100%); |
| 3633 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8941e', endColorstr='#fd9d2b',GradientType=0 ); | 3642 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8941e', endColorstr='#fd9d2b',GradientType=0 ); |
| 3634 | } | 3643 | } |
| 3644 | +.search-performer-button-vacant_ { | ||
| 3645 | + border-bottom: 2px solid #692767; | ||
| 3646 | + background: #a764a7; | ||
| 3647 | + background: -moz-linear-gradient(top, #a764a7 0%, #854e87 100%); | ||
| 3648 | + background: -webkit-linear-gradient(top, #a764a7 0%,#854e87 100%); | ||
| 3649 | + background: linear-gradient(to bottom, #a764a7 0%,#854e87 100%); | ||
| 3650 | + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a764a7', endColorstr='#854e87',GradientType=0 ); | ||
| 3651 | +} | ||
| 3652 | +.search-performer-button-vacant_:hover { | ||
| 3653 | + background: #854e87; | ||
| 3654 | + background: -moz-linear-gradient(top, #854e87 0%, #a764a7 100%); | ||
| 3655 | + background: -webkit-linear-gradient(top, #854e87 0%,#a764a7 100%); | ||
| 3656 | + background: linear-gradient(to bottom, #854e87 0%,#a764a7 100%); | ||
| 3657 | + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#854e87', endColorstr='#a764a7',GradientType=0 ); | ||
| 3658 | +} | ||
| 3635 | .search-performer-button-customers { | 3659 | .search-performer-button-customers { |
| 3636 | border-bottom: 2px solid #3e9825; | 3660 | border-bottom: 2px solid #3e9825; |
| 3637 | background: #6bcb50; | 3661 | background: #6bcb50; |
| @@ -6924,5 +6948,4 @@ li.active-menu-admin:hover a .ico_num { | @@ -6924,5 +6948,4 @@ li.active-menu-admin:hover a .ico_num { | ||
| 6924 | width: 100%; | 6948 | width: 100%; |
| 6925 | float: left; | 6949 | float: left; |
| 6926 | margin-bottom: 16px; | 6950 | margin-bottom: 16px; |
| 6927 | -} | ||
| 6928 | - | 6951 | +} |
| 6929 | \ No newline at end of file | 6952 | \ No newline at end of file |
frontend/web/js/script.js
| @@ -28,6 +28,7 @@ $(document).ready( | @@ -28,6 +28,7 @@ $(document).ready( | ||
| 28 | featuresTags(); | 28 | featuresTags(); |
| 29 | inputNumber(); | 29 | inputNumber(); |
| 30 | videoFull(); | 30 | videoFull(); |
| 31 | + fixMenuRadius() | ||
| 31 | function resizeWindow() | 32 | function resizeWindow() |
| 32 | { | 33 | { |
| 33 | $(window).resize( | 34 | $(window).resize( |
| @@ -1263,5 +1264,10 @@ $(document).ready( | @@ -1263,5 +1264,10 @@ $(document).ready( | ||
| 1263 | return false; | 1264 | return false; |
| 1264 | } | 1265 | } |
| 1265 | }); | 1266 | }); |
| 1267 | + function fixMenuRadius() { | ||
| 1268 | + var newRadius = $('.content-menu-first > li') | ||
| 1269 | + var radiusLenght = (newRadius.length)-1 | ||
| 1270 | + $(newRadius[radiusLenght]).addClass('_fix_radius_') | ||
| 1271 | + } | ||
| 1266 | } | 1272 | } |
| 1267 | ); | 1273 | ); |
| 1268 | \ No newline at end of file | 1274 | \ No newline at end of file |