/* Copyright (c) 2017 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

@import 'policy_common.css';

.edit-button {
  float: right;
  margin: 0;
  padding: 0;
}

tbody:not(.value-editing-on) .value-edit-form {
  display: none;
}

tbody.value-editing-on .save-button {
  display: block;
  float: right;
}

tbody.value-editing-on .edit-button,
tbody.value-editing-on .value {
  display: none;
}

#invalid-session-name-error {
  color: red;
}

#invalid-session-name-error:not(hidden) {
  display: block;
}

#session-rename-error {
  display: block;
  color: red;
  margin: 20px;
  text-align: center;
}

#session-list {
  background: white;
}

#saving span {
  font-weight: bold;
}

#session-actions {
  float: left;
}

#session-actions button {
  display: block;
  width: 80px;
}

#rename-dialog {
  border: 3px black;
  height: 130px;
  outline: 2px solid DarkGrey;
  text-align: center;
  width: 300px;
}

#new-session-name-field {
  display: block;
  margin: 20px auto;
  width: 250px
}
