Логика установки доступных дат при выборе интервала в datepicker-х

parent 55f619f4
/* Таблица стилей к странице одного блога */
.b-content__title {
padding: 85px 0 25px;
display: -webkit-flex;
display: flex;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.b-content__title .wrapp {
margin: auto;
height: auto;
}
.b-content__title h1 {
text-align: center;
color: #FFFFFF;
margin-bottom: 10px;
}
.b-content__title p.lead {
text-align: center;
margin-bottom: 10px;
color: #FFFFFF;
}
.b-content__title .date {
text-align: center;
color: #FFFFFF;
margin-bottom: 10px;
}
.tag-container {
margin-left: 16.6667%;
width: 66.6666667%;
text-align: center;
line-height: 2.1rem;
}
.b-content__article {
}
.b-content__article .wrapp {
padding: 70px 0 80px;
border-bottom: 1px solid #B9CBD1;
}
.b-content__article h2,
.b-content__article p.lead,
.b-content__article p.text,
.b-content__article blockquote,
.b-content__article ul {
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
.b-content__article h2 {
font-size: 1.2rem;
line-height: 1.16em;
margin-bottom: 30px;
}
.b-content__article p.text,
.b-content__article li.text {
margin-bottom: 25px;
}
.b-content__article p.text + h2 {
margin-top: 50px;
}
.b-content__article figure {
margin-bottom: 30px;
}
.b-content__article img {
width: 100%;
margin: 15px 0 5px;
}
.b-content__article img + figcaption {
}
blockquote p.share {
margin-bottom: 40px;
}
blockquote p.share a {
margin-right: 30px;
color : #43BDEF;
}
blockquote p.share a:before {
position: relative;
top: 2px;
display: inline-block;
height: 1rem;
width: 1.2rem;
margin-right: 5px;
content: '';
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}
blockquote p.share a.twitter:before {
background-image: url('../img/icon-share-tw.svg');
}
blockquote p.share a.facebook:before {
background-image: url('../img/icon-share-fb.svg');
}
.b-content__article ul {
margin-bottom: 50px;
}
.b-content__article li.text {
position: relative;
margin-left: 15px;
}
.b-content__article li.text:before {
position: absolute;
top: 0.5em;
left: -15px;
display: block;
content: '';
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #39B54A;
}
.b-content__article .source {
}
.b-content__article .source:before {
content: 'источник: ';
}
.b-content__contact-social {
margin-top: 60px;
}
.b-content__similar {
padding: 70px 0 60px;
}
.b-content__similar h1 {
text-align: center;
margin-bottom: 75px;
}
.b-content__contact {
padding: 60px 0 70px;
background : rgba(185, 203, 209, 0.3);
}
.b-content__contact h1 {
text-align: center;
margin-bottom: 35px;
}
.b-content__contact .input.input--akira {
float: left;
width: 55%;
}
.b-content__contact input[type="submit"] {
margin-top: 30px;
float: right;
width: 40%;
}
@media (max-width: 768px) {
.b-content__title {
height: auto;
}
.b-content__title .date {
margin-bottom: 20px;
}
.tag-container {
margin-bottom: 20px;
}
.b-content__contact .input.input--akira {
width: 100%;
}
.b-content__contact input[type="submit"] {
width: 100%;
}
}
@media (max-width: 550px) {
.b-content__title {
padding: 100px 0 50px;
}
.b-content__title .date {
margin-bottom: 20px;
}
.tag-container {
margin-left: 0;
width: 100%;
}
.b-content__article .wrapp {
padding: 30px 0;
}
.b-content__article h2 {
margin-bottom: 20px;
}
.b-content__article p.text,
.b-content__article li.text {
margin-bottom: 10px;
}
.b-content__article figure {
margin-bottom: 10px;
}
.b-content__article img {
margin-top: 0;
}
.b-content__article p.text + h2 {
margin-top: 20px;
}
.b-content__article ul {
margin-bottom: 10px;
}
.b-content__contact-social {
margin-top: 30px;
}
.b-content__similar {
padding: 30px 0 30px;
}
.b-content__similar h1 {
margin-bottom: 20px;
}
.blog-container .blog-item__inner {
padding-left: 0;
padding-right: 0;
margin-bottom: 30px;
}
.blog-container .blog-item__inner {
padding-left: 0;
padding-right: 0;
margin-bottom: 30px;
}
.blog-item__bg {
margin-bottom: 10px;
}
.blog-item__inner .text.bold {
margin-bottom: 5px;
}
.b-content__contact {
padding: 30px 0;
}
.b-content__contact h1 {
margin-bottom: 10px;
}
}
\ No newline at end of file
/* Таблица стилей к странице блога */
.b-content__title {
padding: 85px 0 25px;
display: -webkit-flex;
display: flex;
background-image: url('../img/bg-tittle-blog.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.b-content__title .wrapp {
margin: auto;
height: auto;
}
.b-content__title h1 {
text-align: center;
color: #FFFFFF;
margin-bottom: 10px;
}
.b-content__title p.lead {
text-align: center;
margin-bottom: 10px;
color: #FFFFFF;
}
.tag-container {
margin-left: 16.6667%;
width: 66.6666667%;
text-align: center;
line-height: 2.1rem;
}
.b-content__container {
padding: 60px 0 70px;
}
.blog-item__inner {
margin-bottom: 50px;
}
.blog-item__inner h2 {
}
.blog-item__inner p.text span {
color: #383838;
}
.b-content__paginator {
text-align: center;
font-size: 0;
margin-bottom: 70px;
}
.b-content__paginator span {
display: inline-block;
margin: 0 10px;
font-family: 'RalewayRegular', sans-serif;
font-size: 0.8rem;
line-height: 40px;
text-align: center;
background : rgba(185, 203, 209, 0.3);
width : 40px;
height : 40px;
border-radius: 50%;
cursor: pointer;
transition: background-color 0.2s ease,
color 0.2s ease;
}
.b-content__paginator span.current-page,
.b-content__paginator span:hover {
background : rgba(24, 181, 74, 0.2);
}
.b-content__contact {
padding: 60px 0 70px;
background : rgba(185, 203, 209, 0.3);
}
.b-content__contact h1 {
text-align: center;
margin-bottom: 35px;
}
.b-content__contact .input.input--akira {
float: left;
width: 55%;
}
.b-content__contact input[type="submit"] {
margin-top: 30px;
float: right;
width: 40%;
}
@media (max-width: 768px) {
.b-content__title {
height: auto;
}
.tag-container {
margin-bottom: 20px;
}
.b-content__contact .input.input--akira {
width: 100%;
}
.b-content__contact input[type="submit"] {
width: 100%;
}
}
@media (max-width: 550px) {
.b-content__title {
padding: 100px 0 50px;
}
.b-content__title p.lead {
margin-bottom: 20px;
}
.tag-container {
margin-left: 0;
width: 100%;
text-align: center;
line-height: 2.1rem;
}
.tag {
margin: 6px 0;
}
.b-content__container {
padding: 30px 0 0;
}
.b-content__container .blog-item__inner {
padding-left: 0;
padding-right: 0;
margin-bottom: 30px;
}
.blog-item__bg {
margin-bottom: 10px;
}
.blog-item__inner .text.bold {
margin-bottom: 5px;
}
.b-content__paginator {
margin-bottom: 30px;
}
.b-content__contact {
padding: 30px 0;
}
.b-content__contact h1 {
margin-bottom: 10px;
}
}
\ No newline at end of file
/* Таблица стилей к странице статистики */
.l-content {
padding-top: 0;
}
.b-content__title {
padding-top: 120px;
height: 400px;
background-color: #EAEFF1;
}
.b-content__title picture {
display: block;
margin: 0 auto;
width: 90px;
margin-bottom: 25px;
}
.b-content__title picture source {
}
.b-content__title picture img {
height: 90px;
width: 90px;
object-fit: cover;
border-radius: 50%;
}
.b-content__title p.lead {
margin-bottom: 10px;
text-align: center;
}
.b-content__title-settings {
text-align: center;
}
.b-content__title-settings .annotation {
color : #0071BC;
}
.b-content__title-settings .annotation:hover {
color : #177FC5;
}
.b-content__title-settings .annotation:first-child {
margin-right: 30px;
}
.b-content__getstats {
}
.b-content__getstats .wrapp {
padding: 70px 0 80px;
}
section h1 {
margin-bottom: 15px;
text-align: center;
color: #000000;
}
section h1 + p.text {
text-align: center;
margin-bottom: 60px;
}
.b-content__message {
display: table;
padding-right: 190px;
padding-left: 20px;
margin: 0 auto;
margin-bottom: 80px;
height: 85px;
border-radius: 8px;
background-repeat: no-repeat;
}
.b-content__message a.text.bold {
display: table;
margin: 0 auto;
padding-left: 34px;
text-align: center;
font-size: 1rem;
color: #000000;
background-repeat: no-repeat;
background-size: 24px 24px;
background-position: left center;
line-height: 85px;
}
.b-content__getstats a.text:hover {
color : #177FC5;
}
.b-content__help {
text-align: center;
}
.b-content__help a {
color : #0071BC;
}
.b-content__getstats-site {
position: relative;
background-color: #F9FDF9;
background-size: auto 25px;
background-position: 23px center;
}
.b-content__getstats-site:after {
position: absolute;
display: inline-block;
right: 20px;
top: 0;
padding-left: 20px;
line-height: 85px;
background-repeat: no-repeat;
background-position: left center;
background-size: auto 12px;
}
.b-content__getstats-site[data-successful]:after {
content: attr(data-successful);
color: #39B54A;
background-image: url('../img/marker.svg');
}
.b-content__getstats-site[data-failure]:after {
content: attr(data-failure);
color: #FC031C;
background-image: url('../img/icon-failure.svg');
}
.b-content__getstats-site a.text.bold {
color: #383838;
}
@media (max-width: 1025px) {
section .wrapp {
padding-left: 10px;
padding-right: 10px;
}
}
@media (max-width: 769px) {
.b-content__title {
padding-top: 120px;
}
.b-content__getstats-site {
margin-bottom: 60px;
}
}
@media (max-width: 670px) {
}
@media (max-width: 550px) {
.b-content__title {
padding-top: 80px;
}
.b-content__title p.lead {
margin-bottom: 20px;
}
.b-content__title-settings .annotation:first-child {
margin-right: 0;
margin-bottom: 20px;
display: block;
}
.b-content__getstats .wrapp {
padding: 30px 10px;
}
section h1 + p.text {
margin-bottom: 30px;
}
.b-content__message {
padding-right: 20px;
width: 100%;
margin-bottom: 30px;
}
.b-content__getstats-site:after {
display: none;
}
.b-content__help a.text {
line-height: normal;
}
}
\ No newline at end of file
/* Таблица стилей к странице контактов */
.b-content__title {
padding: 85px 0 25px;
display: -webkit-flex;
display: flex;
height: 260px;
background-image: url('../img/bg-tittle-contact.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.b-content__title .wrapp {
margin: auto;
height: auto;
}
.b-content__title h1 {
text-align: center;
color: #FFFFFF;
margin-bottom: 10px;
}
.b-content__title p.lead {
text-align: center;
color: #FFFFFF;
}
.b-content__form {
padding: 60px 0 90px;
}
.b-content__form .wrapp {
}
.b-content__form h2 {
color : #333333;
margin-bottom: 50px;
}
.b-content__form-our-contacts {
}
.b-content__form-our-contacts li {
position: relative;
padding-top: 0.35em;
padding-left: 50px;
margin-bottom: 35px;
}
.b-content__form-our-contacts li:last-child {
margin-bottom: 0px;
}
.b-content__form-our-contacts li:before {
position: absolute;
display: block;
content: '';
left: 0;
height: 1.5rem;
width: 1.5rem;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
border-radius: 50%;
}
.b-content__form-our-contacts li.tel:before {
background-image: url('../img/icon-telephone.svg');
}
.b-content__form-our-contacts li.email:before {
background-image: url('../img/icon-email.svg');
}
.b-content__form-our-contacts li.skype:before {
background-image: url('../img/icon-skype.svg');
}
.b-content__form-our-contacts li a {
font-family: 'AABebasNeue';
font-size: 1.7rem;
color: #333333;
}
.b-content__form-container {
position: relative;
}
.b-content__form-container form h2 {
margin-bottom: 20px;
}
.b-content__form-container .textarea,
.b-content__form-container form textarea {
font-weight: normal;
}
.message-sent .b-content__form-container form {
opacity: 0;
pointer-events: none;
}
.b-content__form-finish {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
height: 100%;
width: 100%;
display: none;
background: #FFFFFF;
}
.b-content__form-finish-inner {
margin-top: 2.5rem;
padding-top: 115px;
background-image: url('../img/bg-send-message.svg');
background-size: 100px 75px;
background-repeat: no-repeat;
background-position: center top;
}
.b-content__form-finish-inner h2 {
text-align: center;
font-size: 1.2rem;
margin-bottom: 10px;
color: #39B54A;
}
.b-content__form-finish-inner p {
text-align: center;
font-size: 1rem;
}
@media (max-width: 768px) {
.b-content__title {
height: auto;
}
.b-content__contact .input.input--akira {
width: 100%;
}
.b-content__contact input[type="submit"] {
width: 100%;
}
}
@media (max-width: 550px) {
.b-content__title {
padding: 100px 10px 50px;
}
.b-content__form {
padding: 30px 0 30px;
}
.b-content__form h2 {
text-align: center;
}
.b-content__form-container form {
margin-top: 50px;
}
span + input[type="submit"] {
margin-top: 20px;
}
}
\ No newline at end of file
This diff is collapsed.
/* Таблица стилей к странице списка офферов */
.b-partners-link
{
float: right;
margin-left: 10px;
line-height: 34px;
}
.b-offers-list_controls
{
margin-bottom: 5px;
}
.b-data-item_action,
.b-data-item_list-tpl-action
{
display: none;
}
.b-offers-list_controls select
{
display: inline-block;
margin: 0 15px 0 2px;
width: 120px;
height: 30px;
line-height: 15px;
}
.b-offers-list_controls select.data-period
{
margin-right: 0;
}
.b-offers-list_controls select.offer-partner
{
width: 220px;
}
.b-offers-list_controls select.offer-category,
.b-offers-list_controls select.offer-subcategory
{
width: 200px;
}
.b-offers-list_controls select.order-status
{
width: 120px;
}
.b-offers-list_controls select.order-orders,
.b-offers-list_controls select.order-clicks
{
width: 70px;
}
.b-offers-list_controls-subcategory
{
display: none;
}
.b-offers-list_controls.total-info
{
height: 28px;
border-bottom: solid 1px #ccc;
}
.b-filters
{
position: relative;
margin-bottom: 5px;
padding-top: 5px;
padding-bottom: 5px;
border-top: solid 1px #ccc;
border-bottom: solid 1px #ccc;
min-height: 46px;
}
.b-filters .btn.apply
{
position: absolute;
bottom: 5px;
right: 0;
}
.b-data-item_list.orders-list .b-filters .btn.apply
{
position: static;
float: right;
margin-left: 10px;
}
.b-filters__show,
.b-filters-sites-zones__show
{
display: inline-block;
margin-top: 4px;
color: #337ab7;
border-bottom: 1px #337ab7 dashed;
cursor: pointer;
}
.b-filters input[type="checkbox"]
{
vertical-align: -2px;
}
.b-filters__items,
.b-filters_sites-zones
{
display: none;
margin-top: 10px;
}
.b-filters__current
{
}
.b-filters__current span,
.b-filters__items span
{
display: inline-block;
font-weight: bold;
min-width: 80px;
}
.b-filters .form-group
{
display: inline-block;
margin-bottom: 4px;
min-width: 100px;
}
.b-filters select.form-control.data-category,
.b-filters select.form-control.data-subcategory
{
display: inline-block;
width: 200px;
}
.b-filters .add-filter
{
float: left;
margin-bottom: 8px;
}
/* Фильтры стран-зон */
.b-filters_sites-zones
{
/*display: flex;*/
margin-bottom: 38px;
}
.b-filters_site-wrap
{
float: left;
padding-right: 5px;
width: 50%;
}
.b-filters_zone-wrap
{
float: right;
padding-left: 5px;
width: 50%;
}
.b-filters_geo,
.b-filters_site,
.b-filters_zone
{
float: left;
width: 100%;
border: 1px solid #CCC;
border-radius: 4px;
padding: 4px 6px 0;
}
.b-filters_geo
{
width: 585px;
}
.b-filters_zone
{
/*display: none;*/
margin-right: 0;
}
.b-filters_site .form-group,
.b-filters_zone .form-group
{
display: block;
}
.b-filters_sites-zones .filters-select
{
float: left;
padding-right: 3px;
width: 50%;
height: 200px;
}
.b-filters_sites-zones .filters-values
{
float: right;
padding-left: 3px;
width: 50%;
height: 200px;
}
.b-filters_sites-zones .filters-select .filter
{
margin-bottom: 8px;
}
.b-filters_sites-zones .filters-select div
{
display: inline-block;
width: 100%;
border: 1px solid #CCCCCC;
border-radius: 4px;
}
.b-filters_sites-zones .list-filter
{
padding-left: 4px;
height: 150px;
overflow-x: hidden;
overflow-y: scroll;
}
.b-filters_sites-zones .list-filter li
{
white-space: nowrap;
}
.b-filters_sites-zones .list-filter label,
.b-filters_sites-zones .values-string-list label
{
font-weight: normal;
}
.b-filters_sites-zones .values-string-list
{
padding: 2px 6px;
height: 194px;
min-height: 34px;
border: 1px solid #CCCCCC;
border-radius: 4px;
overflow-y: scroll;
}
.b-template-zones-list
{
display: none;
}
.b-export-xls
{
height: 30px;
clear: both;
}
.b-pager
{
}
.b-pager.state-loading
{
opacity: 0.5;
}
.b-pager li
{
display: inline-block;
margin-left: -1px;
width: 33px;
height: 34px;
line-height: 32px;
text-align: center;
border: 1px #DDDDDD solid;
color: #666666;
cursor: pointer;
background-color: #FAFAFA;
}
.b-pager li.not-active
{
cursor: default;
}
.b-pager li.current
{
background-color: #447CB5;
border-color: #447CB5;
color: #FFF;
cursor: default;
}
.b-pager__items
{
float: right;
}
.b-pager__step
{
float: left;
}
.b-pager__step select
{
display: inline-block;
width: 50px;
height: 24px;
padding: 0 15px 0 6px;
}
.b-pager__info
{
float: left;
margin-left: 50px;
line-height: 22px;
}
.table-data-loading
{
position: relative;
margin-bottom: -500px;
width: 100%;
height: 500px;
background: url(../img/ajax-loader-transp.gif) center center no-repeat;
z-index: 2;
}
.b-offers-list_controls input.date-value {
width: 100px;
}
.b-offers-list_controls .partners-status {
float: right;
}
.b-offers-list_controls .order-period {
width: 135px;
}
.panel-body.active table tbody tr.disabled
{
display: none !important;
}
.panel-body.disabled table tbody tr
{
display: none;
}
.panel-body.disabled table tbody tr.disabled
{
display: table-row;
}
.b-offers-list_disabled-count
{
display: none;
color: #A0A0A0;
}
.b-offers-list_controls-period
{
float: right;
}
table.offers thead tr th.is-br
{
font-size: 13px;
line-height: 14px;
}
table.offers tbody tr td .offer-info
{
font-size: 12px;
}
table.offers tbody tr td.stat
{
font-size: 12px;
font-family: monospace;
}
table.offers thead tr th input.select-all,
table.offers tbody tr td input.is-active
{
vertical-align: -2px;
margin-right: 2px;
}
table.offers thead tr th span[data-sort="id"]
{
margin-left: 4px;
}
/* Таблица стилей к странице списка объявлений */
table.adds input[type="checkbox"]
{
vertical-align: -2px;
}
table.adds td .title
{
font-weight: bold;
}
table.adds td .price
{
color: #337ab7;
}
table.adds td .link-offer
{
font-size: 12px;
font-weight: bold;
color: #337ab7;
}
table.adds tbody tr td.stat
{
font-size: 12px;
font-family: monospace;
white-space: nowrap;
}
table.table-striped.adds td.stat span
{
font-weight: normal;
}
\ No newline at end of file
This diff is collapsed.
/* Таблица стилей к странице редактирования профиля */
main {
transition: opacity 0.2s ease;
}
main.show {
pointer-events: none;
opacity: 0.7;
}
.connection.b-popup__window {
width: 460px;
}
.connection.b-popup__window .form-wrapp {
padding: 150px 2rem 2rem 2rem;
background-image: url('../img/icon-popup-connection.svg');
background-position: center 40px;
background-repeat: no-repeat;
background-size: auto 75px;
}
.connection.b-popup__window .form-wrapp h1 {
margin-bottom: 20px;
text-align: center;
}
.connection.b-popup__window .form-wrapp h1 + p.text {
text-align: center;
}
.l-content {
padding-top: 0;
}
.b-content__title {
padding-top: 85px;
height: 33ex;
background-color: #EAEFF1;
}
.b-content__title picture {
display: block;
margin: 0 auto;
width: 90px;
margin-bottom: 5px;
}
.b-content__title picture source {
}
.b-content__title picture img {
height: 90px;
width: 90px;
object-fit: cover;
border-radius: 50%;
}
.b-content__title p.lead {
margin-bottom: 10px;
text-align: center;
}
.b-content__title-settings {
text-align: center;
}
.b-content__title-settings .annotation {
color : #0071BC;
}
.b-content__title-settings .annotation:first-child {
margin-right: 30px;
}
.b-content__form {
}
.b-content__form .wrapp {
padding: 40px 0 50px;
}
.b-content__form-set {
margin-left: 25%;
margin-right: 25%;
}
.b-content__form-set .input__field {
font-weight: normal;
opacity: 0.7;
transition: opacity 0.2s ease;
}
.input-site {
margin: 1rem 0 1rem;
}
.b-content__form-set .input__field:focus {
opacity: 1;
}
.b-content__form-set-item-label {
width: 32%;
font-size: 0;
}
.b-content__form-set-item-label p.text {
display: inline-block;
margin-top: 1.5rem;
line-height: normal;
}
.b-content__form-set-item-label p.text,
.wrapp-button.submit {
width: 32%;
}
.b-content__form-set span.input {
font-size: 0;
width: 66.666666%;
}
.b-content__form-set .droplist-current:after {
width: 10px;
background-image: url('../img/icon-droplist-pointter-dark.svg');
}
.wrapp-button {
display: inline-block;
}
.show.wrapp-button[data-action]:after {
position: fixed;
top: 100px;
left: 0;
width: 100%;
display: block;
height: auto;
content: attr(data-action);
background-color: #39B54A;
padding: 15px 0;
font-family: 'RalewayBold', sans-serif;
color: #FFFFFF;
font-size: 0.8rem;
line-height: 1.625em;
text-align: center;
box-shadow: 1px 1px 15px -2px rgba(0,0,0,0.5);
z-index: 10000;
}
.wrapp-button.submit {
margin-left: 32%;
}
.wrapp-button.submit,
.wrapp-button.reset {
width: 32%;
}
.wrapp-button.reset {
text-align: right;
}
.b-content__form-set input[type='submit'] {
width: 80%;
}
.b-content__form-set input[type='reset'] {
border: none;
outline: none;
background: transparent;
color: #B3B3B3;
cursor: pointer;
transition: color 0.2s ease;
}
.b-content__form-set input[type='reset']:hover {
color: #7F6363;
}
.b-content__form-set .wrapp-button.delete {
margin-left: 32%;
display: block;
margin-top: 80px;
line-height: 46px;
}
.b-content__form-set .wrapp-button.delete button {
display: block;
margin: 0 auto;
border: none;
outline: none;
background-color: transparent;
color: #FF3B3B;
cursor: pointer;
}
.b-content__form-set .wrapp-button.delete button:hover {
color: #A51515;
}
@media (max-width: 1025px) {
section .wrapp {
padding-left: 10px;
padding-right: 10px;
}
}
@media (max-width: 768px) {
.b-content__title {
padding-top: 120px;
}
.b-content__form-set {
margin-left: 10%;
margin-right: 10%;
}
.b-content__form-set .wrapp-button.delete {
margin-top: 60px;
}
.b-content__form-set .wrapp-button.delete button {
margin: 0;
}
}
@media (max-width: 550px) {
.b-content__title {
padding-top: 80px;
}
.b-content__form .wrapp {
padding: 10px 10px 30px;
}
.b-content__form-set {
margin-right: 0;
margin-left: 0;
}
.b-content__form-set-item-label p.text {
display: block;
width: 100%;
line-height: normal;
margin-top: 20px;
}
.b-content__form-set span.input {
margin-top: 10px;
width: 100%;
}
.wrapp-button.submit {
margin-left: 0;
width: 49%;
}
.b-content__form-set .wrapp-button.delete {
margin-left: 0;
margin-top: 50px;
}
.b-content__form-set .wrapp-button.delete button {
margin: 0 auto;
}
}
\ No newline at end of file
/* Таблица стилей к странице фида */
.b-content__work.inner
{
max-width: 1240px;
margin: 0 auto;
}
.b-content__work.inner input[type="checkbox"]
{
vertical-align: -2px;
cursor: pointer;
}
.b-clear
{
clear: both;
}
.b-left
{
position: relative;
float: left;
margin-bottom: 15px;
width: 50%;
}
.b-left-fade
{
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: 10;
}
.b-right
{
float: left;
width: 50%;
padding-left: 25px;
}
.form-group
{
margin-bottom: 5px;
}
.editor,
.editor-base
{
height: 200px;
border: 1px solid #CCC;
border-radius: 4px;
}
.editor-base
{
height: 583px;
}
.form-group-config label
{
width: 70px;
}
.form-group-config span span
{
display: inline-block;
min-width: 45px;
}
.form-control.size,
.form-control.items,
.form-control.animation,
.form-control.logo
{
display: inline-block;
width: 120px;
}
.form-control.size.from-base,
.form-control.items.from-base,
.form-control.animation.from-base,
.form-control.logo.from-base
{
border-color: #337AB7;
color: #337AB7;
}
.form-group.logo div
{
padding-left: 20px;
}
.form-group.logo div label
{
width: 40px;
}
.form-group.logo div span
{
display: inline-block;
min-width: 45px;
}
.form-group.logo div input
{
margin-bottom: 5px;
}
.form-control.skin-base
{
width: 215px;
}
.b-save
{
display: none;
margin-left: 15px;
}
/* Таблица стилей к странице статистики */
.b-content__title {
padding-top: 100px;
padding-bottom: 50px;
}
.b-content__losses .wrapp {
padding-top: 10px;
}
.b-content__losses-left {
margin-bottom: 30px;
}
.b-content__losses-left-item {
margin: 0 10px;
}
.b-content__losses-right.col {
padding-left: 0;
padding-right: 0;
}
.b-content__losses-right table tr > th:nth-child(1) h2,
.b-content__losses-right table tbody tr > td:nth-child(1) h2,
.b-content__losses-right table tfoot tr > td:nth-child(1) h2 {
font-size: 0.7rem;
}
.b-content__losses-right table tr > th h1, .b-content__losses-right table tfoot tr > td h1 {
font-size: 1.1rem;
}
.b-content__use-block .wrapp {
padding: 30px 0 10px;
}
.b-content__use-block h2:first-child {
margin-bottom: 20px;
}
.b-content__use-block p.lead:last-child {
margin-bottom: 20px;
}
.b-content__use-block-circle.col {
margin-bottom: 20px;
padding-left: 30px;
}
.b-content__use-block-circle .circle {
float: left;
margin-bottom: 0;
margin-right: 20px;
}
.b-content__use-block-circle .percents,
.b-content__use-block-circle .percents + h2 {
text-align: left;
margin-top: 0.4em;
}
.b-content__traffic .wrapp {
padding-bottom: 30px;
padding-top: 30px;
}
.b-add-car__form-item.droplist[traffic] {
-webkit-flex: 0 0 100%;
-ms-flex: 0 0 100%;
flex: 0 0 100%;
max-width: 100%;
margin-left: 0;
margin-bottom: 20px;
}
.b-add-car__form-item.droplist[category] {
-webkit-flex: 0 0 100%;
-ms-flex: 0 0 100%;
flex: 0 0 100%;
max-width: 100%;
margin-left: 0;
margin-bottom: 20px;
}
.b-add-car__form-item.droplist[category] .droplist-current.text {
background-color: #CECECE;
}
.b-filter__switch.display {
-webkit-flex: 0 0 100%;
-ms-flex: 0 0 100%;
flex: 0 0 100%;
max-width: 100%;
margin-left: 0;
}
.b-content__contact {
padding-bottom: 30px;
padding-top: 30px;
}
.b-content__contact .input.input--akira {
height: 46px;
width: 100%;
}
.b-content__contact input[type="submit"] {
height: 46px;
width: 100%;
}
\ No newline at end of file
This diff is collapsed.
/* Таблица стилей к главной странице админки */
.b-content__work
{
padding: 0;
background : #FFFFFF;
}
.b-content__site
{
margin-top: -44px;
}
.b-content__site-currency.state-admin
{
display: none;
}
This diff is collapsed.
/* Таблица стилей к странице вакансий */
.b-content__appeal {
}
.b-content__appeal-top {
background-color: #EAEFF1;
}
.b-content__appeal-top .wrapp {
padding: 120px 0 0;
height: 400px;
border-bottom: 1px solid rgba(185, 203, 209, 0.4);
}
.b-content__appeal-top-text {
}
.b-content__appeal-top-text h1 {
margin-bottom: 25px;
color : #39B54A
}
.b-content__appeal-top-img {
position: relative;
}
.b-content__appeal-top-img > div {
position: absolute;
-webkit-transform: translate3d(0, 100px, 0);
transform: translate3d(0, 100px, 0);
opacity: 0;
top: 40px;
left: -15%;
height: 300px;
width: 505px;
background-image: url('../img/bg-notebook.svg');
background-size: contain;
background-repeat: no-repeat;
background-position: center;
transition: opacity 0.3s ease,
-webkit-transform 0.5s ease;
transition: transform 0.5s ease,
opacity 0.3s ease;
transition: transform 0.5s ease,
opacity 0.3s ease,
-webkit-transform 0.5s ease;
}
.start-animation.b-content__appeal-top-img > div {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.b-content__appeal-bottom {
padding: 35px 0 15px;
}
.b-content__knowledge {
padding: 35px 0;
}
.b-content__knowledge h1 {
margin-bottom: 40px;
padding: 0 10px;
}
.b-content__knowledge-inner {
margin-bottom: 10px;
}
.b-content__knowledge-item {
margin-bottom: 40px;
}
.b-content__knowledge-item h2 {
margin-bottom: 20px;
}
.b-content__knowledge-debugging.col {
padding-left: 16.6667%;
padding-right: 8.3333%;
padding-top: 25px;
padding-bottom: 25px;
background-color: #FCEAE9;
border-radius : 10px;
background-image: url('../img/bg-debugging.svg');
background-size: 105px 105px;
background-repeat: no-repeat;
background-position: 20px center;
}
.b-content__knowledge-debugging h2 {
margin-bottom: 10px;
}
.b-content__offer {
}
.b-content__offer h1 {
padding: 0 10px;
margin-bottom: 50px;
}
.b-content__offer-inner {
}
.b-content__offer-inner-item {
-webkit-transform: translate3d(-50px, 0, 0);
transform: translate3d(-50px, 0, 0);
opacity: 0;
padding-top: 80px;
background-repeat: no-repeat;
background-position: 10px top;
}
.start-animation.b-content__offer .b-content__offer-inner-item {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
opacity: 1;
}
.m-content__offer-inner-item_1.b-content__offer-inner-item {
background-position: center top;
background-size: 80px 45px;
background-image: url('../img/bg-offer-1.svg');
transition: opacity 0.3s ease,
-webkit-transform 0.3s ease;
transition: opacity 0.3s ease,
transform 0.3s ease;
transition: opacity 0.3s ease,
transform 0.3s ease,
-webkit-transform 0.3s ease;
}
.m-content__offer-inner-item_2.b-content__offer-inner-item {
background-size: 100px 45px;
background-image: url('../img/bg-offer-2.svg');
transition: opacity 0.3s ease 0.2s,
-webkit-transform 0.3s ease 0.2s;
transition: opacity 0.3s ease 0.2s,
transform 0.3s ease 0.2s;
transition: opacity 0.3s ease 0.2s,
transform 0.3s ease 0.2s,
-webkit-transform 0.3s ease 0.2s;
}
.m-content__offer-inner-item_3.b-content__offer-inner-item {
background-size: 140px 45px;
background-image: url('../img/bg-offer-3.svg');
transition: opacity 0.3s ease 0.5s,
-webkit-transform 0.3s ease 0.5s;
transition: opacity 0.3s ease 0.5s,
transform 0.3s ease 0.5s;
transition: opacity 0.3s ease 0.5s,
transform 0.3s ease 0.5s,
-webkit-transform 0.3s ease 0.5s;
}
.m-content__offer-inner-item_4.b-content__offer-inner-item {
background-size: 67px 50px;
background-image: url('../img/bg-offer-4.svg');
transition: opacity 0.3s ease 0.8s,
-webkit-transform 0.3s ease 0.8s;
transition: opacity 0.3s ease 0.8s,
transform 0.3s ease 0.8s;
transition: opacity 0.3s ease 0.8s,
transform 0.3s ease 0.8s,
-webkit-transform 0.3s ease 0.8s;
}
.b-content__offer-note {
margin: 50px auto 25px;
max-width: 50%;
}
.b-content__offer-note .text {
text-align: center;
opacity: 0.4;
}
.b-content__contact {
padding: 25px 0 110px;
}
.b-content__contact h1 {
text-align: center;
margin-bottom: 10px;
}
.b-content__contact h1.message-confirm {
display: none;
margin-bottom: 30px;
}
.b-content__contact-form {
margin-bottom: 40px;
}
.b-content__contact-form input:not(:last-child) {
margin-bottom: 20px;
}
@media (max-width: 768px) {
.b-content__appeal .wrapp {
height: auto;
}
h1 {
text-align: center;
padding: 0;
}
.l-content {
padding-top: 0;
}
.b-content__offer h1 {
margin-bottom: 20px;
}
.b-content__offer-inner-item {
margin-top: 20px;
padding-top: 60px;
background-position: center top;
text-align: center;
}
.b-content__appeal-top-img {
height: 300px;
}
.b-content__appeal-top .wrapp {
padding: 100px 10px 30px;
}
.b-content__appeal-top-img > div {
width: 100%;
left: 0;
top: 20px;
height: 220px;
}
.b-content__appeal-bottom.wrapp {
margin-top: -200px;
padding-top: 130px;
background-color: #FFFFFF;
}
.b-content__knowledge-debugging.col {
padding: 25px;
background-image: none;
}
.b-content__contact {
padding-bottom: 50px;
}
}
@media (max-width: 550px) {
.b-content__appeal-top .wrapp {
padding: 100px 10px 30px;
}
.b-content__appeal-top-img > div {
top: 0;
height: 220px;
}
.b-content__appeal-bottom.wrapp {
margin-top: -200px;
padding-top: 90px;
background-color: #FFFFFF;
}
.b-content__knowledge {
padding: 30px 0;
}
.b-content__knowledge h1 {
margin-bottom: 20px;
}
.b-content__knowledge-item h2 {
margin-bottom: 10px;
}
.b-content__knowledge-item {
margin-bottom: 20px;
}
.b-content__offer-inner {
padding-top: 30px;
}
.b-content__offer-note {
margin: 20px auto;
max-width: 100%;
}
.b-content__contact {
padding: 10px 0 30px;
}
.b-content__contact h1 {
margin-bottom: 0;
}
span + input[type="submit"] {
margin-top: 20px;
}
.b-content__contact-form {
margin-bottom: 30px;
}
.b-content__social .wrapp {
padding: 10px 0 30px;
}
.b-content__contact-social p.text {
margin-bottom: 30px;
}
}
\ No newline at end of file
This diff is collapsed.
......@@ -10,15 +10,19 @@ $(document).ready(function(){
isChangePeriod = false,
$dateFrom = $('#date-value-1'),
$dateTo = $('#date-value-2'),
$periodSelect = $('.form-control.stat-period'),
isStartDatesSelected = false,
datepicker1 = $dateFrom.datepicker({
dateFormat: "yyyy-mm-dd",
autoClose: true,
maxDate: nowDate,
onSelect: function(fd, d, picker) {
//console.log('AAA onSelect 1 ', fd, d, picker);
if (!isChangePeriod) {
setPeriodSelectEmpty();
requestDataPeriod();
if (isStartDatesSelected) {
datepicker2.update('minDate', d);
if (!isChangePeriod) {
setPeriodSelectEmpty();
requestDataPeriod();
}
}
},
}).data('datepicker'),
......@@ -27,9 +31,12 @@ $(document).ready(function(){
autoClose: true,
maxDate: nowDate,
onSelect: function(fd, d, picker) {
if (!isChangePeriod) {
setPeriodSelectEmpty();
requestDataPeriod();
if (isStartDatesSelected) {
datepicker1.update('maxDate', d);
if (!isChangePeriod) {
setPeriodSelectEmpty();
requestDataPeriod();
}
}
},
}).data('datepicker'),
......@@ -42,10 +49,13 @@ $(document).ready(function(){
periodStatsData,
companyStatsData,
dataLineChartStat;
// Установка стартовых значений дат:
//datepicker1.selectDate(new Date($('#date-value-1').val()));
//datepicker2.selectDate(new Date($('#date-value-2').val()));
datepicker1.selectDate(new Date($dateFrom.val()));
datepicker2.selectDate(new Date($dateTo.val()));
isStartDatesSelected = true;
// Получение данных для отрисовки графика Stat при старте:
if ($('#period-stats').val()) {
......@@ -64,7 +74,6 @@ $(document).ready(function(){
renderHourTable();
// Смена периода:
var $periodSelect = $('.form-control.stat-period');
$periodSelect.on('change', function(){
var
period = $(this).val(),
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment