/* styles.css - copy-on-select-2 content style sheet.
 *
 * Copyright (C) 2025 Jens Schmidt
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
 *
 * SPDX-FileCopyrightText: 2025 Jens Schmidt
 *
 * SPDX-License-Identifier: MPL-2.0 */

:root {
  --logo-color: #b5d5ff;
}

/* simulate the look of a textarea containing two or four lines.
 * Last we checked on FF, a one-lined text box had a height of
 * 22.5 and one rem had a height of 16. */
.twolinebox {
  height: calc( 2rem * 45 / 32 );
  border: 1px solid gray;
  border-radius: 2px;
  padding: 2.5px;
}
.fourlinebox {
  height: calc( 4rem * 45 / 32 );
  border: 1px solid gray;
  border-radius: 2px;
  padding: 2.5px;
}

textarea.copy {
  resize: none;
}
textarea.paste {
  height: 100%;
  resize: none;
}
