Site.css

241 lines | 4.425 kB Blame History Raw Download
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 400px;
}


/* ---------------------------------------------------
        sidebar-left STYLE
    ----------------------------------------------------- */
#sidebar-left {
    width: 250px;
    position: fixed;
    top: 55px;
    left: 0px;
    bottom: 30px;
    z-index: 999;
    background: #5a6268; /*#6c757d;*/ /*.bg-secondary*/
    color: #fff;
    transition: all 0.3s;
    overflow-x: auto;
    overflow-y: auto;
}

#sidebar-left.active {
    transform: translateX(-115%);
}

#sidebar-left .sidebar-left-header {
    position: sticky;
    top: 0px;
    padding: 15px;
    background: #4d4d4d; /*#343a40;*/ /*.bg-dark*/
}

#sidebar-left .sidebar-left-text {
    padding: 0.2rem 0.2rem;
}
#sidebar-left-text .sidebar-left-text-element {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.5rem;
    background-color: #696969;
    border-radius: .3rem;
}

/*цвет ссылки в панели*/
.sidebar-left-text-element p a,
.sidebar-left-text-element a {
    color: #32CD32;
}

#sidebar-left p {
    margin-bottom: 0.2rem;
}


#sidebar-left ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#sidebar-left ul p {
    color: #fff;
    padding: 10px;
}

#sidebar-left ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

    #sidebar-left ul li a:hover {
        color: #7386D5;
        background: #fff;
    }

#sidebar-left ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    /*бэкграунд меняет цвет элемента в навбаре при выборе (например при выборе дроп-даун меню)*/
    /*background: #6d7fcc;*/
}


a[data-toggle="collapse"] {
    position: relative;
}

a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
    /*content: '\e259';*/
    display: block;
    position: absolute;
    right: 20px;
    font-family: 'Glyphicons Halflings';
    font-size: 0.6em;
}

a[aria-expanded="true"]::before {
    /*content: '\e260';*/
}


ul ul a {
    /*font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;*/
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article, a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

/*
    для свернуть/развернуть строку
*/
.hideLine p,
.hideLine [type="checkbox"] {
    display: none;
}

    .hideLine [type="checkbox"]:checked ~ p {
        display: block;
    }


/* ---------------------------------------------------
        sidebar-right STYLE
    ----------------------------------------------------- */
#sidebar-right {
    width: 250px;
    position: fixed;
    top: 55px;
    right: 0px;
    bottom: 30px;
    z-index: 999;
    background: #5a6268; /*#6c757d;*/ /*.bg-secondary*/
    color: #fff;
    transition: all 0.3s;
    overflow-x: auto;
    overflow-y: auto;
}

#sidebar-right.active {
    transform: translateX(+115%);
}

#sidebar-right .sidebar-right-header {
    position: sticky;
    top: 0px;
    padding: 15px;
    background: #4d4d4d; /*#343a40;*/ /*.bg-dark*/
}

#sidebar-right .sidebar-right-text {
    padding: 0.2rem 0.2rem;
}

#sidebar-right-text .sidebar-right-text-element {
    padding: 0.5rem 0.5rem;
}

/* цвета для страницы-справки, для выделения текста описания изображений*/

#faq-text {
    word-wrap: break-word;
    /*padding: 0.5rem 0.5rem;*/
}

#faq-text .red {
    color: #ED1C24;
}

#faq-text .orange {
    color: #FF7F27;
}

#faq-text .yellow {
    color: #FFF200;
}

#faq-text .dark-blue {
    color: #3F48CC;
}

#faq-text .purple {
    color: #A349A4;
}

#faq-text .blue {
    color: #00A2E8;
}

#faq-text .green {
    color: #22B14C;
}

#faq-text .light-green {
    color: #B5E61D;
}

#faq-text .back-ground {
    font-size: 120%;
    background: #C3C3C3;
}