• Страница 2 из 2
  • «
  • 1
  • 2
Модератор форума: -SAM-  
Форум » Веб-разработка » Вопросы про uCoz » Адаптировать вверх панели инструментов uCoz
Адаптировать вверх панели инструментов uCoz
waak
Пятница, 24 Марта 2017 | Сообщение 16
Оффлайн
Заблокированные
Сообщений:588
Награды: 14
Цитата dagada3211978 ()
First, я ничего не делал только с адаптацией играл

вот и до игрался
Страна: (RU)
Dagada
Суббота, 25 Марта 2017 | Сообщение 17
Оффлайн
Vip
Сообщений:89
Награды: 2
waak, проблема вот в этих стилях вида новостей
Код
/******************************/
.tex{float: right;}
.col-sm-3, .col-sm-9 {
position: relative;
min-height: 1px;
padding-left: 10px;
padding-right: 10px;
}
@media (min-width: 768px) {
.col-sm-3 {float: left;width: 25%;}
.col-sm-9 {float: left;width: 75%;}
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.row:before,
.row:after
{
display: table;
content: " ";
}
.row:after{
clear: both;
}
@media (min-width: 1230px) {
.row, .my-row {
margin-left: -10px;
margin-right: -10px;
}
}
.news-list table.dayAllEntries{
margin-bottom: 50px;
}
.news-element{
margin-top: 30px;
padding-top: 30px;
border-top: 1px solid #C7C7C7;
font-size: 17px;
}
#allEntries > div:first-of-type .news-element,
.news-list .archiveEntries > div:first-of-type .news-element{
margin-top: 0;
padding-top: 0;
border-top: 0;
}
.news-element h5{
margin-top: -5px;
}
.news-element h5{
margin: -5px 0 20px;
font-size: 16px;
line-height: 1.2;
}
.news-element h5 a{
text-decoration: none;
color: #00487F;
-webkit-transition: all 200ms ease-out;
-moz-transition: all 200ms ease-out;
-o-transition: all 200ms ease-out;
transition: all 200ms ease-out;
}
.news-element h5 a:hover{
color: #2E2E2E;
}
.news-element img{
width: 100%;
}
.news-date{
position: absolute;
top: 0;
left: 0;
padding: 2px 15px;
color: #fff;
background: #00487F;
font-size: 14px;
}
.news-list .element-info{
margin: -5px 0 15px;
}
.element-info{
margin: 0 0 15px;
font-size: 16px;
color: #969696;
}
.element-info a{
text-decoration: none;
color: #F27935;
-webkit-transition: all 200ms ease-out;
-moz-transition: all 200ms ease-out;
-o-transition: all 200ms ease-out;
transition: all 200ms ease-out;
}
.element-info a:hover{
color: #2E2E2E;
}
.element-info span{
margin-right: 10px;
}
.element-info .fa{
margin-right: 4px;
}
.img-wrapper img {width: 100%;}
.img-wrapper{position: relative;}
.news-element .img-wrapper a:after{
background: url(http://kldou24.ucoz.ru/img/link-icon.png) 50% 50% no-repeat rgba(0,0,0,0.7);
background-size: 0 0;
-webkit-transition: all 200ms ease-out;
-moz-transition: all 200ms ease-out;
-o-transition: all 200ms ease-out;
transition: all 200ms ease-out;
content:"";
display: block;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
opacity: 0;
z-index: 5;
}
.news-element .img-wrapper a:hover:after{
opacity: 1;
background-size: 36px 36px;
}
@media only screen and (max-width: 767px) {
.news-element .img-wrapper{margin-bottom: 20px;}
.news-element{padding-top: 40px;}
}
.element-content{
padding: 20px;
background: #fff;
border: 1px solid #E2E6E7;
-webkit-transition: all 200ms ease-out;
-moz-transition: all 200ms ease-out;
-o-transition: all 200ms ease-out;
transition: all 200ms ease-out;
}
@media only screen and (min-width: 768px) {
.img-wrapper .text{
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 10px;
background: rgba(0,0,0,0.5);
color: #fff;
}
/********************/

причина тут
/****************************/
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/***********************/

что тут не так

Добавлено (25.03.2017, 09:40)
---------------------------------------------
всем спасибо ...Сам разобрался 09a Причина в стилях.Поставил перед стилями вида новостей и вуаля 41b

Сообщение отредактировал
First - Пятница, 24 Марта 2017, 22:40
Страна: (RU)
Форум » Веб-разработка » Вопросы про uCoz » Адаптировать вверх панели инструментов uCoz
  • Страница 2 из 2
  • «
  • 1
  • 2
Поиск: