/*
 * Copyright 2016 Resin.io
 *
 * 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.
 */

.update-notifier-modal-body {
  padding: 30px 35px;
  overflow: hidden;
}

.modal-update-notifier {
  width: 400px;

  // Move it a bit to the top for
  // aesthetic reasons
  margin-top: -10px;

  .modal-content {
    height: 245px;
  }
}

.update-notifier-modal-body__content {
  @extend .text-center;

  padding-bottom: 15px;
  margin-bottom: 25px;
  border-bottom: 1px solid $gray-lighter;
}

.update-notifier-modal-body__title {
  margin-bottom: 15px;
}

.update-notifier-modal-body__menu {
  display: flex;
  justify-content: center;

  > .btn {
    flex-grow: 1;


    // This causes flex children buttons to be
    // equally resized independently of the
    // button text length
    width: 0;

  }

  > .btn + .btn {
    margin-left: 10px;
  }
}

.update-notifier-modal-body .checkbox {
  color: lighten($gray, 25%);
  font-size: 11px;
}
