Your IP : 216.73.216.85


Current Path : /home/smartconb/www/armencom33/templates/ja_simpli/admin/assets/css/
Upload File :
Current File : /home/smartconb/www/armencom33/templates/ja_simpli/admin/assets/css/style.less

@import "../../../vendors/font-awesome-4.5.0/css/font-awesome.min.css";

// VARIABLES
// -------------------------

// Grays
// -------------------------
@black:                 #000;
@grayDarker:            #101010;
@grayDark:              #303030;
@gray:                  #606060;
@grayLight:             #909090;
@grayLighter:           #e0e0e0;
@grayLightest:          #f6f7f8;
@white:                 #fff;


// Accent colors
// -------------------------
@blue:                  #3498db;
@bluedark:              darken(@blue,10%);
@green:                 #008c31;
@cyan:                  #1abc9c;
@red:                   #c0392b;
@yellow:                #f1c40f;
@orange:                #f39c12;
@pink:                  #ca2c68;
@purple:                #8e44ad;


// Common
// -------------------------
@border-color: #e6e6e6;

*, :after, :before {
  box-sizing: border-box;
}

body {
  box-sizing: border-box;
}

.com_templates {
  background-color: #f9f9f9;
}

div.container-main {
  background-color: #f9f9f9;
  padding: 0;
}

.container-main .form-inline-header {
  background-color: #fff;
  margin: 0;
  padding: 0 20px;
}

// Override Joomla tabs
// --------------------
.container-main .nav-tabs {
  background-color: #fff;
  padding: 20px 20px 0;
}

.container-main .nav-tabs > li {
  padding-left: 10px;
  padding-right: 10px;
}

.container-main .nav-tabs > li > a {
  display: inline-block;
  border: 0;
  color: #666;
  font-weight: bold;
  padding-top: 5px;
  padding-bottom: 15px;
  position: relative;
}

.container-main .nav-tabs > .active > a {
  border: 0;
  border-radius: 0;
  color: #333;
  padding-left: 0;
  padding-right: 0;
}

.container-main .nav-tabs > .active > a:before {
  background-color: #07b;
  content: "";
  display: block;
  height: 3px;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

.container-main .nav-tabs > li > a:hover,
.container-main .nav-tabs > li > a:active,
.container-main .nav-tabs > li > a:focus {
  background: none;
}

.container-main .nav-tabs > .active > a:hover,
.container-main .nav-tabs > .active > a:focus,
.container-main .nav-tabs > .active > a:active {
  border: 0;
}

// Compatible j4
.container-main {
  .joomla-tabs.nav-tabs {
    > li {
      padding: 0;
    }

    & + .tab-content {
      padding: 0;
    }
  }

  .subhead-collapse {
    position: relative;
    height: 50px;
    z-index: 100;
  }
}


div.tab-pane,
joomla-tab-element#attrib-styles,
joomla-tab-element#attrib-layouts,
joomla-tab-element#attrib-advanced {
  // Reset Bootstrap style
  // ---------------------
  .btn {
    background: #f0f0f0;
    border-color: #ccc;
    border-radius: 0;
    font-weight: bold;
    height: 30px;
    line-height: 24px;
  }

  .btn-danger:hover, .btn-danger:focus, .btn-danger:active,
  .btn-danger.active, .btn-danger.disabled, .btn-danger[disabled] {
    background-color: #942a25;
    border-color: #71201c;
  }

  /* Button group */
  .btn-group.btn-group-yesno > .btn {
    border-radius: 0;
    box-shadow: none;
    height: 30px;
    font-size: 12px;
    font-weight: bold;
    line-height: 24px;
    min-width: 50px;
    text-transform: uppercase;
  }

  .btn-group {
    margin-bottom: 0;
    padding: 0;
  }

  .btn-success:hover, .btn-success:focus, .btn-success:active,
  .btn-success.active, .btn-success.disabled, .btn-success[disabled] {
    background-color: #096;
    border-color: #007e54;
  }

  .btn-primary:hover, .btn-primary:focus, .btn-primary:active,
  .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
    background-color: #07b;
    border-color: #00629a;
  }

  // Inputbox
  input[type="text"] {
    border-radius: 0;
    height: 30px;
    line-height: 24px;
  }

  input.minicolors {
    height: 30px;
    line-height: 30px;
    min-width: 100px;
  }

  input.inline {
    display: inline-block;
    max-width: 80px;
  }

  // input with pre & post append
  .input-append > input {
    width: 133px;
  }
  .input-prepend.input-append > input {
    width: 109px;
  }

  // Text area
  textarea {
    box-sizing: border-box;
    border-radius: 0;
    width: 100%;
  }

  .media-preview {
    height: 24px;
  }

  .input-append .add-on, 
  .input-prepend .add-on {
    height: 30px;
    line-height: 24px;
  }
}


// Custom preview
// ---------------------------
#custom-style-preview {
  box-sizing: border-box;
  position: absolute;
  top: 260px;
  left: 31%;
  right: 25px;
  bottom: 65px;
}

#custom-style-preview iframe {
  border: 2px solid #303030;
  width: 100%;
  height: 100%;
}


/* LAYOUT CONFIGURE
--------------------------- */
div.tab-pane,
joomla-tab-element#attrib-styles,
joomla-tab-element#attrib-layouts,
joomla-tab-element#attrib-advanced {
  background-color: #fff;
  box-sizing: border-box;
  border: 1px solid #ddd;
  padding: 30px 30px 30px 180px;
  position: relative;
  margin: 30px;
  overflow: hidden;

  .group-legends {
    background-color: #f0f0f0;
    border-right: 1px solid @border-color;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 171px;

    &:empty {
      display: none;
    }

    .control-group .control-label {
      position: relative;
      top: auto;
      left: auto;
    }
  }

  .control-group {
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 0;
    max-width: 100%;
  }

  .group-collapse {
    margin-bottom: 0;
  }

  .control-label {
    display: inline-block;
    float: none;
    min-width: 170px;
    line-height: 55px;
    padding-right: 10px;
    text-align: right;
    vertical-align: middle;
    width: auto;
  }

  .control-label label {
    color: #666;
    font-weight: bold;
  }

  .top-legend-group .control-label,
  .sub-legend-group .control-label {
    background: transparent;
    border: 0;
    display: block;
    height: auto;
    line-height: 1;
    padding: 0;
    text-align: left;
  }

  .top-legend-group > div:empty,
  .sub-legend-group  > div:empty {
    display: none;
  }

  .controls {
    display: inline-block;
    margin-left: 20px;
    vertical-align: middle;
  }

  .top-legend-group > .controls {
    display: none;
  }

  h3.legend {
    border-right: 1px solid @border-color;
    color: @gray;
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
    padding: 12px 0 12px 20px;
    margin-right: -1px;
    position: relative;
    transition: all 0.35s;

    &:hover {
      background-color: @grayLightest;
      color: @grayDark;
      cursor: pointer;
    }

    .fa {
      min-width: 12px;
      margin-right: 16px;
      text-align: center;
    }
  }

  .active h3.legend {
    background-color: @white;
    border-right: 1px solid @white;
    color: @blue;
    text-shadow: none;

    &:before {
      background-color: @blue;
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 3px;
    }
  }


  /* Sub legend group */
  div.sub-legend-group {
    background-color: @grayLightest;
    min-height: 60px;

    .control-label {
      min-height: 60px;
    }

    h3.sub-legend {
      background-color: transparent;
      border: 0;
      font-size: 15px;

      span {
        color: @grayDark;
        padding-right: 0;
      }
    }

    h3.sub-legend:hover {
      background-color: transparent;
    }

    .controls {
      display: block;
      padding: 10px 20px 10px 0;
      text-align: right;
    }
  }

  .sub-group-params {
    .control-group {
      border: 0;
    }

    &:last-child {
      margin-bottom: 10px;
    }
  }

  h3.sub-legend {
    background-color: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    text-align: right;
    text-transform: none;

    &:before {
      display: none;
    }
  }

  .group-expend h3.sub-legend {
    background-color: transparent;
    border: 0;
    padding-left: 0;
    text-align: left;
  }

  h3.sub-legend span {
    color: #666;
    display: inline-block;
    display: block;
    font-weight: 600;
    padding: 20px;
  }


  .control-group {
    position: relative;

    .control-label {
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
    }

    .controls {
      margin-left: 180px;
      padding-top: 15px;
      padding-bottom: 15px;
    }

    &.group-collapse,
    &.group-expend {
      .control-label {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
      }
    }
  }
  
  // Expend all
  h3[data-expend="all"] {
    &:hover {
      cursor: default;
    }

    &:after {
      display: none;
    }
  }

  .group-expend h3.sub-legend span {
    border-color: #07b;
  }

  // Modified notice
  // ---------------
  .modified {
    h3.legend > span,
    h3.sub-legend > span {
      position: relative;

      &:before {
        background-color: #c00;
        border: 2px solid #fff;
        border-radius: 50%;
        content: "";
        color: #c00;
        display: block;
        font-size: 14px;
        line-height: 1;
        height: 9px;
        width: 9px;
        position: absolute;
        right: -18px;
        text-transform: none;
        top: 4px;
      }
    }

    h3.sub-legend > span {
      &:before {
        top: 26px;
      }
    }

    &.control-group {
      .control-label label {
        color: #c00;
      }
    }
  }


  // Custom colors 
  // -------------
  &#attrib-styles {
    padding-left: 65px;
    position: relative;
    overflow: visible;
    width: 320px;

    .group-legends {
      background: url(../images/dot-grey.gif) repeat-y right top #f0f0f0;
      border-right: 0;
      overflow: hidden;
      width: 48px;
      transition: all 0.35s;
      z-index: 99;

      &:hover {
        width: 170px;
      }

      .control-label {
        width: 46px;

        h3.legend {
          border-right: 1px solid #ddd;
          padding-right: 0;
          width: 170px;
        }
      }

      .active {
        .control-label {
          background-color: #fff;
        }

      }
    }

    // Top group
    // ---------
    .top-group {
      margin-left: 0;
      margin-right: 0;
      width: 235px;
      position: static;
      top: 20px;
      left: 65px;
      min-height: 400px;

      &:after {
        content: "";
        clear: both;
        display: table;
      }
    }

    .sub-group {
      clear: bolth;
      padding: 0;
      width: 100%;

      .sub-group-inner {
        border: 0;
        padding: 0;
      }

      .control-group {
        .control-label {
          display: inline-block;
          position: relative;
          left: auto;
          line-height: 1;
          top: auto;
          min-width: 80px;
          text-align: left;
        }

        & > div:empty {
          display: none;
        }

        .controls {
          margin-left: 0;
          padding-top: 10px;
          padding-bottom: 10px;
        }
      }

      .sub-legend-group {
        background-color: transparent;
        min-height: 1px;
        margin-bottom: 10px;

        .control-label {
          min-height: 1px;
          min-width: 1px;
          text-align: left;

          h3.sub-legend {
            background-color: transparent;
            border: 0;
            margin-bottom: -1px;

            span {
              border-bottom: 2px solid @gray;
              padding: 0 0 5px;
            }
          }
        }
      }

    }

    /* Reset bootstrap elements */
    .minicolors-input {
      border-radius: 0;
      box-shadow: none;
    }

    .minicolors-theme-bootstrap .minicolors-swatch {
      border-radius: 3px !important;
      width: 20px;
      height: 20px;
      top: 4px;
      left: 4px;
    }

    .minicolors-theme-bootstrap .minicolors-swatch span {
      box-shadow: none;
    }

    .control-group .controls input.inline {
      border-radius: 0;
      box-shadow: none;
      max-width: 60px;
      vertical-align: middle;
    }

    // Modify
    // ------
    .modified h3.sub-legend > span::before {
      right: 18px;
      top: 47px;
    }
  }

}

/* Tablet and Mobile */
@media (max-width: 780px) {
  div.tab-pane {
    width: 100%;
  }
}


.top-group {
  margin-left: -20px;
  margin-right: -20px;
  top: 30px;
  width: 50%;
}

.sub-group {
  box-sizing: border-box;
  float: left;
  margin: 0 0 30px;
  padding: 0 20px;
  width: 100%;

  &.sub-group-direct {
    float: none;
    width: 100%;
  }

  .sub-group-inner {
    border-radius: 3px;
    border: 1px solid @border-color;

    .sub-group-params {
      padding-right: 20px;
    }
  }

  &:nth-child(2n + 1) {
    clear: left;
  }

  &.sub-group-direct + div + div {
    clear: none;
  }
}


// 
// Assignment tab style
// --------------------
#assignment {
  box-sizing: border-box;
  padding: 40px;
  width: auto;

  #menu-assignment {
    ul {
      margin-left: -10px;
      margin-right: -10px;

      li {
        background-color: #f9f9f9;
        margin: 10px;
      }
    }

    .thumbnail {
      border-radius: 0;
      box-shadow: none;
      padding: 30px;
      height: 300px;
      max-height: 300px;
      overflow: auto;

      .small {
        font-size: 13px;
        padding-top: 2px;
        padding-bottom: 2px;
      }
    }
  }

  .btn {
    height: auto;
  }
}

//
// LAYOUT PREVIEW
// --------------------------
.layout-preview {
  .row-fluid {
    display: flex;
  }

  .section {
    background-color: #eaeaea;
    border: 1px solid #eaeaea;
    margin: 10px;
    padding: 45px 10px 10px;
    position: relative;
    
    &.active {
      border-color: @blue;
      box-shadow: 0 0 5px rgba(0,0,0,0.3);
    }

    &.off {
      background-color: #f0f0f0;
      border-color: #fdfdfd;
      padding-bottom: 0;
      padding-top: 35px;

      &.active {
        border-color: @blue;
      }

      .section-title {
        background-color: transparent;
        border: 0;
        color: @grayLight;
        font-weight: normal;

        &:before {
          content: "\f070";
        }
      }
    }

    // Section title
    // -------------
    .section-title {
      background-color: #f9f9f9;
      border-left: 0;
      border-top: 0;
      color: @grayDark;
      font-weight: 600;
      padding: 6px 15px;
      position: absolute;
      top: 0;
      left: 0;

      &:before {
        content: "\f06e";
        display: inline-block;
        font-family: "FontAwesome";
        font-weight: normal;
        margin-right: 5px;
      }
    }

    // Container
    // -------------
    .container {
      text-align: center;
      width: 100%;
    }

    .container > .section-info {
      border-top: 1px solid #d5d5d5;
      position: relative;
      min-height: 30px;
      margin-left: 10px;
      margin-right: 15px;

      &:before, &:after {
        background-color: #d5d5d5;
        content: "";
        display: block;
        height: 20px;
        position: absolute;
        top: 0;
        left: 0;
        width: 1px;
      }

      &:after {
        left: auto;
        right: 0;
      }

      .info-pos {
        background-color: #fff;
        border: 1px solid #ccc;
        border-radius: 2px;
        display: inline-block;
        position: absolute;
        left: 50%;
        top: -15px;
        padding: 5px 10px;
      }

      .info-name {
        display: none;
      }
    }

    .col {
      background-color: @white;
      border: solid 1px #ddd;
      color: lighten(@gray, 5%);
      font-weight: 600;
      padding: 10px;

      .info-pos {
        border-radius: 2px;
        color: #fc913a;
        font-weight: 600;
        display: inline-block;
        margin-left: 5px;
        padding: 0;
      }
    }

    .row-fluid [class*="span"] {
      margin-left: 2.5641%;
      &:first-child {
        margin-left: 0;
      }
    }


  }
}


//
// MISC
// ---------------------------

// Separator
// ---------
.legend-separator {
  height: 30px;
}

// Details
// -------
#details {
  padding: 30px;
  width: auto;
}

// Template information
// --------------------
div#details {
  .control-label {
    min-width: 1px;
  }

  .control-group .controls {
    margin-left: 80px;
  }
}

.simpli-info {
  overflow: hidden;
  margin-right: 20px;

  h3 {
    background-color: #f0f0f0;
    margin: 0 0 20px;
    padding: 10px 20px;
  }

  .tpl-preview {
    background-color: #f0f0f0;
    display: block;
    border: 1px solid #ddd;
    float: left;
    padding: 10px;
    margin-right: 20px;
    margin-bottom: 20px;
  }

  .quick-links {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;

    li {
      display: inline-block;
      padding: 0 10px 0 0;

      a {
        background-color: #f9f9f9;
        display: inline-block;
        border: 1px solid #ddd;
        border-radius: 2px;
        color: #333;
        padding: 5px 10px;
        transition: all 0.35s;

        i {
          margin-right: 10px;
        }

        &:hover, &:focus, &:active {
          background-color: #069;
          border-color: #069;
          color: #fff;
          text-decoration: none;
        }
      }
    }
  }

}

// JOOMLA 4 COMPATIBILITY
// --------------------------------------
#details .alert.alert-success {
  padding: 24px;
  text-align: left;
}

div#custom-style-preview {
  top: 0;
  height: 100%;
  left: 340px;
  width: calc(100vw - 470px);
}

joomla-tab-element#attrib-styles .j4,
joomla-tab-element#attrib-layouts .j4 {
  input.minicolors-input {
    border-radius: 4px !important;
    height: auto;
    line-height: 1;
  }

  div.minicolors-theme-bootstrap span.minicolors-swatch {
    border-radius: 4px !important;
    height: 28px !important;
    width: 28px !important;
  }
}

joomla-tab-element#attrib-styles,
joomla-tab-element#attrib-advanced {
  .options-form.j4 {
    border: 0;
    padding: 0;

    > legend {
      display: none;
    }
  }
}

joomla-tab-element#attrib-layouts,
joomla-tab-element#attrib-advanced {
  min-height: 50vh;

  .j4 {
    border: 0;

    > legend {
      display: none;
    }

    input[type="text"] {
      height: auto;
    }

    .btn {
      height: auto;
      border-color: rgba(0,0,0,0.1);
    }

    .btn-success {
      background-color: @green;
      border-color: rgba(0,0,0,0.1);
    }

    .radio.btn-group input[type="radio"] {
      display: none;
      height: auto;
    }

    .radio.btn-group input[type="radio"]:checked + .btn {
      background-color: @green;
      color: @white;
    }

    .btn-group.btn-group-yesno > .btn {
      border-color: rgba(0,0,0,0.1);
      padding-top: 0;
      padding-bottom: 0;
      height: 36px;
      line-height: 36px;
    }
  }
}

joomla-tab-element#attrib-advanced {
  .sub-group-inner > .control-group > .controls {
    padding-right: 20px;
  }
}