From 242cc99cc4b5d168fd8172f454c827f8790b2df3 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 9 May 2025 13:27:43 +0900 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=20src/assets?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/common.css | 183 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 src/assets/common.css diff --git a/src/assets/common.css b/src/assets/common.css new file mode 100644 index 0000000..ad03c63 --- /dev/null +++ b/src/assets/common.css @@ -0,0 +1,183 @@ +@charset "utf-8"; + +body { + width: 100%; +} + +table.inputtable { + border-collapse: separate; + border-spacing: 0px 5px; + width: 800px; + font-size: 12px; +} + +table.inputtable td { + background: #f1f6fc; + padding: 10px; + border: 1px solid #258; +} + +table.inputtable td:nth-child(1) { + background: #5d83aa; + color: #fff; + width: 200px; +} + +table.outputtable { + width: auto; + border-spacing: 0; + font-size: 14px; +} + +table.outputtable th { + color: #fff; + padding: 8px 15px; + background: #258; + background: -moz-linear-gradient( + rgba(34, 85, 136, 0.7), + rgba(34, 85, 136, 0.9) 50% + ); + background: -webkit-gradient( + linear, + 100% 0%, + 100% 50%, + from(rgba(34, 85, 136, 0.7)), + to(rgba(34, 85, 136, 0.9)) + ); + font-weight: bold; + border-left: 1px solid #258; + border-top: 1px solid #258; + border-bottom: 1px solid #258; + line-height: 120%; + text-align: center; + text-shadow: 0 -1px 0 rgba(34, 85, 136, 0.9); + box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3) inset; +} + +table.outputtable th:first-child { + border-radius: 5px 0 0 0; +} + +table.outputtable th:last-child { + border-radius: 0 5px 0 0; + border-right: 1px solid #258; + box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.1), + 0px 1px 1px rgba(255, 255, 255, 0.3) inset; +} + +table.outputtable tr td { + padding: 8px 15px; + border-bottom: 1px solid #84b2e0; + border-left: 1px solid #84b2e0; + text-align: center; +} + +table.outputtable tr td:last-child { + border-right: 1px solid #84b2e0; + box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.1); +} + +table.outputtable tr { + background: #fff; +} + +table.outputtable tr:nth-child(2n + 1) { + background: #f1f6fc; +} + +table.outputtable tr:last-child td { + box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.1); +} + +table.outputtable tr:last-child td:first-child { + border-radius: 0 0 0 5px; +} + +table.outputtable tr:last-child td:last-child { + border-radius: 0 0 5px 0; +} + +table.outputtable tr:hover { + background: #bbd4ee; + cursor: pointer; +} +.cp_navi { + background-color: #aec9f0; + border: 1px solid #000000; + border-radius: 4px; + box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055); + color: #ffffff; + display: block; + margin: 1em 1%; + overflow: hidden; + width: 80%; +} +.cp_navi ul { + margin: 0; + padding: 0; +} +.cp_navi ul li { + display: inline-block; + list-style-type: none; + -webkit-transition: all 0.2s; + transition: all 0.2s; +} +.cp_navi > ul > li > a > .caret { + border-top: 4px solid #aaaaaa; + border-right: 4px solid transparent; + border-left: 4px solid transparent; + content: ""; + display: inline-block; + height: 0; + width: 0; + vertical-align: middle; + -webkit-transition: color 0.1s linear; + transition: color 0.1s linear; +} +.cp_navi > ul > li > a { + color: #000000; + display: block; + line-height: 56px; + padding: 0 10px; + text-decoration: none; +} +.cp_navi > ul > li:hover { + background-color: #5d83aa; +} +.cp_navi > ul > li:hover > a { + color: rgb(255, 255, 255); +} +.cp_navi > ul > li:hover > a > .caret { + border-top-color: rgb(255, 255, 255); +} +.cp_navi > ul > li > div { + background-color: #5d83aa; + border-top: 0; + border-radius: 0 0 4px 4px; + box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055); + display: none; + margin: 0; + opacity: 0; + position: absolute; + width: 165px; + visibility: hidden; + -webkit-transiton: opacity 0.2s; + transition: opacity 0.2s; +} +.cp_navi > ul > li:hover > div { + display: block; + opacity: 1; + visibility: visible; +} +.cp_navi > ul > li > div ul > li { + display: block; +} +.cp_navi > ul > li > div ul > li > a { + color: #ffffff; + display: block; + padding: 12px 24px; + text-decoration: none; +} +.cp_navi > ul > li > div ul > li:hover > a { + background-color: rgba(255, 255, 255, 0.1); +}