﻿/* 全画面共通CSS 作成日:2025/10/16 */

/* bodyタグ */
body {
  background-color: #FFEFD5;
}

/* ログイン画面で主に使われる表のセル */
.cell-login {
  background-color: #c0ffc0;
  text-align: center;
}

/* ログイン画面で主に使われるコンボボックス */
.select-login {
  font-size: 20px;
  width: 140px;
  height: 40px;
}

/* ログイン画面で主に使われるボタン */
.btn-login {
  font-size: 14px;
  width: 160px;
  height: 30px;
}

/* メインメニュー画面で主に使われるボタン */
.btn-mainmenu {
  font-size: 14px;
  width: 200px;
  height: 50px;
}

/* 画面上部のメニューボタン */
.btn-pagetop {
  font-size: 14px;
  width: 100px;
  height: 26px;
}

/* メインメニューに遷移するタイプの要素 */
.to-mainmenu {
  color: #0000FF;
}

/* 印刷するタイプの要素 */
.to-print {
  color: #339933;
}

/* データ一覧 */
.list-worker-dr .input-cond {
  font-size: 15px;
  width: 100px;
}
.list-worker-dr .row-listheader {
  background-color: #FFE4E1;
}
.list-worker-dr .row-listdetail:nth-child(odd) {
  background-color: #ffffc0;
}
.list-worker-dr .row-listdetail:nth-child(even) {
  background-color: #c0ffc0;
}
.list-neatliquid-dr .row-listheader1 {
  background-color: #FFE4E1;
  text-align: center;
}
.list-neatliquid-dr .row-listheader2 {
  background-color: #FFE4E1;
}
.list-neatliquid-dr .row-listdetail:nth-child(odd) {
  background-color: #ffffc0;
}
.list-neatliquid-dr .row-listdetail:nth-child(even) {
  background-color: #c0ffc0;
}

/* 詳細 */
.form-worker-dr td {
  text-align: center;
}
.form-worker-dr .elm-header {
  background-color: #c0ffc0;
}
.form-worker-dr .elm-value {
  background-color: #ffffc0;
}
.data-neatliquid-dr {
  font-size: 13px;
}
.data-neatliquid-dr tr {
  height: 20px;
}
.data-neatliquid-dr .cell-header {
  background-color: #c0ffc0;
}
.data-neatliquid-dr .cell-subheader {
  background-color: #f5deb3;
}
.data-neatliquid-dr .cell-value {
  background-color: #ffffc0;
}

/* 原液使用記録 */
.cell-neatliquid-warn {
  background-color: #FA5882;
}

/* 入力欄全般 */
.input-base {
  background-color: #ffffff;
}
.input-base:focus {
  background-color: #ffff00;
}

/* 印刷時限定 */
@media print {
  .noprint {
    display: none;
  }
}

/* 原価の画面（genka/index）のタブの枠の中で開いた画面（html.in-genka-tab は common.js が付ける。2026-11-18）：
   画面の題と［社内メインメニュー］の段・頭の空行を出さない（題とメニューへ戻るボタンは原価の画面の上にある） */
html.in-genka-tab body > br:first-child,
html.in-genka-tab .head {
  display: none !important;
}

/* 年月日の欄（common.js の ymdText。原価系の画面）：字の欄の右端にカレンダーのしるし（元の date の欄の字の部分を隠したもの） */
.ymd-box { position:relative; display:inline-block; vertical-align:middle; }
.ymd-box > input[type="text"] { width:100% !important; padding-right:24px !important; box-sizing:border-box; }
.ymd-box > input.ymd-cal { position:absolute; right:2px; top:50%; transform:translateY(-50%); width:20px !important; height:20px !important; min-width:0 !important; padding:0 !important; margin:0 !important; border:none !important; background:transparent !important; box-shadow:none !important; }
.ymd-box > input.ymd-cal::-webkit-datetime-edit, .ymd-box > input.ymd-cal::-webkit-datetime-edit-fields-wrapper { display:none; }
.ymd-box > input.ymd-cal::-webkit-calendar-picker-indicator { margin:0; padding:2px; cursor:pointer; }
.ymd-box > input.ymd-cal:disabled { visibility:hidden; }

/* 画面の右上の［社内メインメニュー］は、どの画面も同じ大きさ・同じ見た目にそろえる（2026-11-20 木戸さん「いちばん大きいサイズに合わせて」＝幅は最大の 170px・高さは最大の 36px）。
   画面ごとの <style>（.btn・.menu・.to-mainmenu・.rp-head .btn など）より必ず勝つように !important で書く。表示する・しない（display）はここでは決めない */
input[type="button"][value="社内メインメニュー"] {
  width:170px !important; min-width:170px !important; height:36px !important; padding:0 12px !important; box-sizing:border-box !important;
  font-family:"Meiryo","MS PGothic",sans-serif !important; font-size:14px !important; font-weight:bold !important; line-height:normal !important;
  color:#1f62c0 !important; background:#fff !important; border:1px solid #c3cfdd !important; border-radius:6px !important; cursor:pointer;
}
input[type="button"][value="社内メインメニュー"]:hover { background:#eef4fc !important; }