//  Licensed under the Apache License, Version 2.0 (the "License"); you may not
//  use this file except in compliance with the License. You may obtain a copy of
//  the License at
//
//    http://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
//  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
//  License for the specific language governing permissions and limitations under
//  the License.

@import "../../../../../assets/scss/variables";

.cors-page {
  .loading-lines {
    margin-top: 20px;
  }
  .btn#enable-disable-cors {
    margin-top: 10px;
  }
}

#cors-header {
  margin: 16px 30px 0 30px;
}

#corsForm {
  margin: 0;

  .checkbox {
    font-size: 16px;

    input[type="checkbox"] {
      margin-top: 4px;
    }
  }
  .radio {
    font-size: 16px;

    input[type="radio"] {
      margin-top: 4px;
    }
  }

  .cors-enable {
    padding: 10px 30px 18px 30px;
    border-bottom: 1px solid $cf-border-color01;
  }
  #origin-domains-container {
    button#add-domain {
      height: 46px;
    }
  }
  #collapsing-container {
    padding: 18px 30px;
  }
  .origin-domains {
    margin: 0;
    padding: 18px 0px;

    p {
      line-height: 36px;
    }
    .controls {
      margin-top: 18px;
    }
  }
}

#origin-domain-table {
  margin-top: 1rem;
  border-top: 1px solid $cf-border-color01;

  .action-btn-col {
    width: 30px;
    vertical-align: middle;
  }
}
