diff --git a/frontend/views/accounts/_portfolio_form.php b/frontend/views/accounts/_portfolio_form.php index dde6572..679a230 100644 --- a/frontend/views/accounts/_portfolio_form.php +++ b/frontend/views/accounts/_portfolio_form.php @@ -100,7 +100,7 @@
Для создания галереи перейдите по " . Html::a('ссылке', [ 'accounts/gallery-create' ], [ 'target' => '_BLANK' ]) . "
") ->dropDownList($galleries, [ 'prompt' => 'Выберите галерею' ]) ?> @@ -189,7 +189,17 @@ $(document).ready( function() { + bottomButton() + function bottomButton(){ + if( ($('.admin-portfolio-foto .admin-avatar-pattern img').length)>0 ) { + } else { + $('.admin-portfolio-foto .tst').css({marginBottom:0}) + } + } + $('body').on('click', '.admin-portfolio-foto #cover_remove_img',function(){ + bottomButton() + }) } ) diff --git a/frontend/views/layouts/admin.php b/frontend/views/layouts/admin.php index ca3b3fb..8001d3a 100755 --- a/frontend/views/layouts/admin.php +++ b/frontend/views/layouts/admin.php @@ -26,6 +26,7 @@ $this->beginContent('@app/views/layouts/main.php'); [ 'label' => 'Учетные данные', 'url' => ['accounts/general'], + 'options' => ['class' => 'admin-menu-icons admin-menu-ico-1',], ], [ 'label' => 'Контакты', @@ -87,6 +88,7 @@ $this->beginContent('@app/views/layouts/main.php'); [ 'label' => 'Сообщения', 'url' => ['chat/list'], + 'options' => ['class' => 'admin-menu-icons admin-menu-ico-2',], ], [ 'label' => 'Уведомления о проектах', @@ -95,10 +97,12 @@ $this->beginContent('@app/views/layouts/main.php'); [ 'label' => 'Закладки', 'url' => ['accounts/bookmarks'], + 'options' => ['class' => 'admin-menu-icons admin-menu-ico-3',], ], [ 'label' => 'Настройка аккаунта', 'url' => ['accounts/setting'], + 'options' => ['class' => 'admin-menu-icons admin-menu-ico-4',], ], [ 'label' => 'Выход', diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index 9793c3a..48d61c9 100755 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -154,15 +154,15 @@ AppAsset::register($this); 'items' => [ [ 'url' => ['/projects'], - 'template' => '', + 'template' => '99+', ], [ 'url' => ['chat/list'], - 'template' => '', + 'template' => '28', ], [ 'url' => ['accounts/bookmarks'], - 'template' => '', + 'template' => '1', ], ], ]); diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css index cea9f6a..9f52c01 100755 --- a/frontend/web/css/style.css +++ b/frontend/web/css/style.css @@ -3304,6 +3304,26 @@ ul.proektant-comments {margin-top: 15px} float: left; margin-left: 20px; margin-top: 9px; + position: relative; +} +.main-menu-icons-wr a span { + position: absolute; + width: 18px; + height: 18px; + background: #ea5151; + border-radius: 100%; + top: -6px; + right: -18px; + line-height: 18px; + text-align: center; + font-size: 9px; + color: #fff; +} +.main-menu-icons-home span { + right: -15px !important; +} +.main-menu-icons-copy span { + right: -20px !important; } .main-menu-icons-wr a:first-child{margin-left: 0} .main-menu-icons-home { @@ -5931,7 +5951,9 @@ a {color: #0072bc} font-size: 13px; color: #0072bc; border-bottom: 1px dashed #0072bc; + cursor: pointer; } +.admin-hint-vacancy-contact:active {color: #00558C} .input-blocks-wrapper.admn-select-company select{ line-height: normal; padding: 0 0 0 8px; @@ -6249,8 +6271,8 @@ input[disabled], select[disabled] { } .admin-page .third-ul-menu li a{cursor: default} .admin-menu-list {margin-top: 37px} -.admin-portfolio-foto .tst{background: none; height: auto} -.admin-portfolio-foto.success_download .tst {height: 150px} +.admin-portfolio-foto .tst{background: none; height: auto; margin-bottom: 15px} +.admin-portfolio-foto.success_download .tst {height: 150px; margin-bottom: 0} .admin-portfolio-foto .admin-ava-wr img{width: 210px !important; height: 150px !important;} .admin-portfolio-foto .file-uploader-block{width: 210px} .admin-portfolio-foto .admin-avatar-pattern {height: auto; width: 210px} @@ -6267,4 +6289,45 @@ input[disabled], select[disabled] { display: block; text-align: left; height: auto; +} +.admin-portfolio-select select{ + margin-top: 5px !important; + +} +.input-blocks.admin-portfolio-select { + position: relative; +} +.admin-portfolio-select .hint-block { + position: absolute; + top: 29px; + left: 310px; + width: 400px; +} +.admin-portfolio-select .hint-block p, .admin-portfolio-select .hint-block a { + font-size: 13px; +} +.admin-portfolio-select .hint-block p { + color: #b7b7b7; +} +.admin-menu-icons a:before { + position: absolute; + top: 50%; + margin-top: -8px; + right: 10px; + width: 16px; + height: 16px; + content: ''; + background: red; +} +.admin-menu-ico-1 a:before { + background: url("/images/menu-ico/ico-1.png") 100% 50% no-repeat ; +} +.admin-menu-ico-2 a:before { + background: url("/images/menu-ico/ico-2.png") 100% 50% no-repeat ; +} +.admin-menu-ico-3 a:before { + background: url("/images/menu-ico/ico-3.png") 100% 50% no-repeat ; +} +.admin-menu-ico-4 a:before { + background: url("/images/menu-ico/ico-4.png") 100% 50% no-repeat ; } \ No newline at end of file -- libgit2 0.21.4