diff --git a/.gitignore b/.gitignore index 2e7e435..0bdc462 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ # generated by: https://gitignore.itranswarp.com/ +.memo* + #################### ExtJs.gitignore #################### .architect diff --git a/README.md b/README.md index 835aa02..bb5dc7f 100644 --- a/README.md +++ b/README.md @@ -99,8 +99,10 @@ GitHubから本拡張機能をインストールする場合、以下の手順 - [x] マスターデュエルのようなデッキ編集画面 (-> v1.0) - [x] データベース作成で ocg-card.com 様に依存しないようにする (->日本語・英語以外の言語への対応) - [ ] デッキごとのフォルダ分けないしタグ付けによる管理 -- [ ] 編集対象のデッキの切り替えをスムーズに +- [x] 編集対象のデッキの切り替えをスムーズに - [ ] デッキレシピのスクショ作成 +- [ ] デッキ編集画面にinfoエリアを作成し、カード効果の詳細を確認できるようにする + ## Contact - [お問い合わせ](https://docs.google.com/forms/d/e/1FAIpQLSdh2wRCUWpX6ZLfma-g5O46eD93wOPHpDHWQGxdOcJLmm_tGQ/viewform?usp=sf_link) diff --git a/src/css/Faq_details.css b/src/css/Faq_details.css new file mode 100644 index 0000000..d5b848f --- /dev/null +++ b/src/css/Faq_details.css @@ -0,0 +1,288 @@ +@charset "utf-8"; + +@import "FaqSearchCondition.css"; + +article #broad_title h1 { + font-size: 2rem; + line-height: 1.5em; +} + +/*----qa_box----*/ + +#qa_box { + font-size: 1.4rem; + padding: 5px; + background-color: #ffffff; + border: solid 2px #000000; + +} + +#qa_box img { + display: block; + max-width: 100%; +} + +#qa_box .keyword { + margin: 0 10px 50px; +} + +#qa_box a { + text-decoration: none; +} + +#qa_box a:hover { + text-decoration: underline !important; +} + +#qa_box a:visited { + text-decoration: none; +} + +#qa_box .tag .btn:hover { + text-decoration: none !important +} + +/*----/qa_box----*/ + + +/*----question----*/ + +#question, +#answer { + font-size: 2rem; + font-weight: bold; + border-bottom: solid 1px #bacbd6; + line-height: 1.5; + margin: 0 0 10px 0; + padding: 5px; + box-sizing: border-box; +} + +#question { + color: #555; +} + +#answer { + color: #aa0000; +} + +/*----/answer----*/ + +#question_text, +#answer_text { + line-height: 1.5em; + color: #000; +} + +/*----tag_update----*/ + +#tag_update { + margin-top: 30px; + font-size: 1.2rem; + color: #555; + border-top: solid 1px #ccc; + display: flex; + padding: 5px 0 0; +} + +#tag_update .tag { + flex: 1; + display: flex; +} + +#tag_update .tag .fag_detail { + font-weight: bold; + background: none; + color: #000000; +} + +#tag_update .tag div { + display: flex; + flex: 1; + padding: 0 10px; + flex-wrap: wrap; + justify-content: flex-start; +} + +#tag_update .tag div span { + padding: 0 5px 5px; + box-sizing: border-box; +} + +#tag_update .tag div a { + background: #467491; + color: #ffffff; + padding: 0px 10px; + border-radius: 5px; + display: block; + text-align: center; +} + +/*----tag_update----*/ + +@charset "utf-8"; + +.search_box { + margin: 0 auto; +} + +.search_hed { + background: #022c53; + padding: 10px; + display: flex; + align-items: center; +} + +.search_hed .search { + display: flex; + flex: 1; + +} + +.search #first_search { + flex: 1; + display: flex; + align-items: center; + background: #fff; + + padding-right: 5px; + margin-right: 50px; + box-sizing: border-box; +} + +#keyword { + padding: 10px 7px; + font-size: 1.4rem !important; + font-weight: bold; + border: none; + box-sizing: border-box; + flex: 1; + outline: none; + line-height: 1.2; +} + +#keyword:focus { + background-color: #ffffff; +} + +.search #first_search img { + position: relative; + padding: initial; + width: 20px; + height: 20px; +} + + +.search_hed .s_btn { + flex: none; + display: block; + padding: 0 45px 0 50px +} + +.search_hed .s_btn a { + justify-content: center; +} + +.search_bot { + border: 1px solid #000000; + box-sizing: border-box; +} + +.search_row { + border: 1px solid #000; + margin-top: -1px; +} + +.search_row:first-child { + margin-top: 0 +} + +.search_row>* { + display: block; +} + +.search_row .search_title { + background: #467491; + color: #ffffff; + font-size: 1.2rem; + min-width: 128px; + padding: 0 5px; +} + +.search_row .search_btn { + display: flex; + flex-wrap: wrap; + padding: 5px; +} + +.search_row .search_btn a { + padding: 2px; + box-sizing: border-box; + min-width: 20%; + display: block; +} + +.search_row .search_btn a span { + font-size: 1.2rem; + background: #002345; + color: #ffffff; + border-radius: 2px; + padding: 5px; + box-sizing: border-box; + display: block; +} + +.search_row .search_btn a:hover { + text-decoration: none; + opacity: .8; +} + +.dk_container { + display: flex; +} + +@media only screen and (max-width: 896px) { + + /*デバイスの横幅が896px以下の場合*/ + .search_row .search_btn a { + width: auto; + min-width: 20%; + } + + .search_row .search_btn a span { + padding: 5px 10px; + text-align: center; + } + + .search_hed { + display: block; + } + + .search_hed .search { + margin: 0 0 20px; + } +} + +@media only screen and (max-width: 700px) { + + /*デバイスの横幅が700px以下の場合*/ + .search_row .search_btn {} + + .search_hed .search { + display: block; + } + + .search_hed .search>* { + margin-bottom: 10px; + min-width: 100%; + } + + .dk_container { + float: none; + width: 100%; + } + + .dk_container a { + width: 100% !important; + } +} \ No newline at end of file diff --git a/src/css/card_details.css b/src/css/card_details.css new file mode 100644 index 0000000..93bb1bb --- /dev/null +++ b/src/css/card_details.css @@ -0,0 +1,1448 @@ +@charset "utf-8"; + +@import "CardSearchCondition.css"; + +.list .inside .contents{ + display: flex; + line-height: 1.4; +} +.list .inside .time{ + line-height: 1.4; + margin: 0; + min-width: 90px; +} +.list .inside .contents .pack_name{ + font-weight: bold; +} +.list .inside .contents .card_number{ + margin: 0; + min-width: 100px; +} +.list .inside .icon{ + padding: 5px; + margin: 0; + display: flex; + align-items: flex-start; +} +@media only screen and (max-width: 896px) {/*デバイスの横幅が896px以下の場合*/ + .list .inside { + display: flex; + justify-content:space-between; + flex-wrap: wrap; + } + .list .inside .contents{ + order: 3; + min-width: 100%; + padding: 0 2px 2px; + } + .list .inside .icon{ + order: 2; + margin: 0 0 0 auto; + padding: 2px; + } + .list .inside .time{padding: 2px 2px 0} +} +@media only screen and (max-width: 500px) {/*デバイスの横幅が500px以下の場合*/ + .list .inside .contents >*{ + line-height: 1.2; + } + +} + +#cardname{ + background: #000000; + color: #ffffff; + padding: 5px; +} + #cardname h1{ + font-size: 2.4rem; + line-height: 1.2; + text-align: center; + color: #ffffff; + } + #cardname h1 span{ + font-size: .9em; + line-height: 1.2; + display: block; + opacity: .8; + margin: 2px 0 0; + } + #cardname h1 span.ruby{ + font-size: 1.4rem; + line-height: 1.5; + margin: 0; + } +@media only screen and (max-width: 896px) {/*デバイスの横幅が896px以下の場合*/ + #cardname h1{ + font-size: 2.2rem; + } + #cardname h1 span{ + font-size: .8em; + } + #cardname h1 span.ruby{ + font-size: 1.4rem; + } +} +@media only screen and (max-width: 500px) {/*デバイスの横幅が500px以下の場合*/ + #cardname h1{ + font-size: 2rem; + } + #cardname h1 span{ + font-size: .7em; + } + #cardname h1 span.ruby{ + font-size: 1.2rem; + } +} + + + +#CardRelation { + align-items: center; +} +.navbtn .icon.hex span { + width: 25px; + height: auto; +} +.navbtn .icon.hex svg { + width: 100%; + height: 100%; +} + +/*----thumbnail----*/ +#thumbnail{ + width: 208px; + margin: 0 auto; +} + +#thumbnail img{ + margin:1px; + width:32px; + height:46px; + border:solid 2px #ddd; + cursor:pointer; +} + +#thumbnail img.current{ + border:solid 3px #888; + margin:0; +} + +/*----/thumbnail----*/ + + +/*----details----*/ + +#details{ + font-size:1.4rem; + width:510px; +} + +#details tr td{ + padding:0; +} + +#details .item_box { + position:relative; + background:#fff; + border:solid 2px #555; + text-align:left; + padding:5px 10px; + border-radius:5px; + height:22px; + line-height:1.6em; +} + + #details .item_box .item_box_title{ + position:absolute; + left:10px; + top:5px; + } + + #details .item_box .item_box_value{ + position:absolute; + right:10px; + } + +#details .item_box_text { + position:relative; + background:#fff; + border:solid 2px #555; + text-align:left; + padding:5px 10px; + border-radius:5px; + line-height:1.5em; +} +.item_box_title_note{ + border-top:1px solid #888; + display: block; + margin: 5px 0; + padding: 5px 0 0; +} + +#details div.forbidden_limited { + margin:5px 0; + text-align:center; + border-radius:5px; +} +#details div.forbidden_limited.limited_type_1{ + background-color:#fd7978; +} +#details div.forbidden_limited.limited_type_2{ + background-color:#fdb352; +} +#details div.forbidden_limited.limited_type_3{ + background-color:#fdd752; +} + #details div.forbidden_limited img{ + vertical-align: text-bottom; + margin-left: -80px; + } + #details div.forbidden_limited span{ + color:#fff; + font-weight:bold; + } +/*----/details----*/ + + +/*------to_QandA------*/ + +.CD_a_btn{ + width: 206px; + box-sizing: border-box; + display: inline-block; + padding:10px; + margin: 0 2px 10px; + line-height:1.5em; + color:#fff; + font-weight:bold; + font-size:1.4rem; + text-align:center; + text-decoration:none; + border:1px solid; + border-radius:3px; + +-moz-box-shadow: 0px 2px 3px 1px rgba(0, 0, 0, 0.4); +-webkit-box-shadow: 0px 2px 3px 1px rgba(0, 0, 0, 0.4); +-ms-box-shadow: 0px 2px 3px 1px rgba(0, 0, 0, 0.4); +box-shadow: 0px 2px 3px 1px rgba(0, 0, 0, 0.4); +} + +#to_QandA.CD_a_btn{ +background: #f3cd4d; +background: -moz-linear-gradient(top, #f3cd4d 0%, #f2c94a 27%, #edb437 51%, #eba92d 100%); +background: -webkit-linear-gradient(top, #f3cd4d 0%,#f2c94a 27%,#edb437 51%,#eba92d 100%); +background: linear-gradient(to bottom, #f3cd4d 0%,#f2c94a 27%,#edb437 51%,#eba92d 100%); +filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f3cd4d', endColorstr='#eba92d',GradientType=0 ); + +border-color: #f5d496; +} + #to_QandA.CD_a_btn:hover{ +background: #f7de68; +background: -moz-linear-gradient(top, #f7de68 0%, #f7da60 27%, #f4cf4d 51%, #f2c73d 100%); +background: -webkit-linear-gradient(top, #f7de68 0%,#f7da60 27%,#f4cf4d 51%,#f2c73d 100%); +background: linear-gradient(to bottom, #f7de68 0%,#f7da60 27%,#f4cf4d 51%,#f2c73d 100%); +filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7de68', endColorstr='#f2c73d',GradientType=0 ); + + } + +#to_MyD.CD_a_btn,#relationCard_a a{ +background: #545454; +background: -moz-linear-gradient(top, #545454 0%, #545454 27%, #333434 51%, #000000 100%); +background: -webkit-linear-gradient(top, #545454 0%,#545454 27%,#333434 51%,#000000 100%); +background: linear-gradient(to bottom, #545454 0%,#545454 27%,#333434 51%,#000000 100%); +filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#545454', endColorstr='#000000',GradientType=0 ); + +border-color: #b4b4b4; +} + #to_MyD.CD_a_btn:hover,#relationCard_a a:hover{ +background: #6c6c6c; +background: -moz-linear-gradient(top, #6c6c6c 0%, #727272 27%, #545454 51%, #1f2020 100%); +background: -webkit-linear-gradient(top, #6c6c6c 0%,#727272 27%,#545454 51%,#1f2020 100%); +background: linear-gradient(to bottom, #6c6c6c 0%,#727272 27%,#545454 51%,#1f2020 100%); +filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6c6c6c', endColorstr='#1f2020',GradientType=0 ); + + } + + .CD_a_btn:visited{ + text-decoration:none; + } + +/*------/to_QandA------*/ + + + +/*----pack_list----*/ + +#pack_list{ + background-color:#888; + border:solid 2px #555; + /* 2014.01対応 コンテンツ幅調整 + 2014.02対応 コンテンツ幅再調整 */ + /*margin:0 6px 30px 6px;*/ + margin-bottom:30px; +} + + #pack_list table { + width:100%; + margin:0 auto; + border-collapse: collapse; + } + + #pack_list table tr{ + height:35px; + min-height:35px; + } + + #pack_list table tr.row{ + background:#fff url(../image/parts/list_style_line_bk.png) center repeat-x; + cursor:pointer; + } + + #pack_list table tr.row:hover{ + /*background:#eadff4;*/ + background:#6ec0ff; + color: #fff; + } + + #pack_list table tr th, + #pack_list table tr td{ + padding: 3px; + } + + #pack_list table tr th{ + text-align:left; + color:#fff; + padding-left:10px; + } + + #pack_list table tr td a{ + text-decoration:none; + } + + #pack_list tr td a:hover{ + text-decoration:underline; + } + +/*----/pack_list----*/ +#relationCard{ + padding: 50px 0 0; +} + article #relationCard .li_top{ + font-weight: bold; + color: #fff; + background:#333 !important; + padding: 2px 10px; + cursor: default; + margin: 0 0 20px; + border:double 4px; + } +article #relationCard ul{ + padding:0; +} + article #relationCard li{ + cursor:pointer; + } + + +#relationCard_a{ + text-align:center; + margin:20px auto ; +} + #relationCard_a a{ + display: inline-block; + color:#fff; + text-align:center; + line-height:20px; + padding:15px 20px; + border:1px solid #b4b4b4; + border-radius:3px; + font-size:1.4rem; + font-weight:bold; + + box-shadow: 0px 2px 3px 1px rgba(0, 0, 0, 0.4); + -moz-box-shadow: 0px 2px 3px 1px rgba(0, 0, 0, 0.4); + -webkit-box-shadow: 0px 2px 3px 1px rgba(0, 0, 0, 0.4); + -ms-box-shadow: 0px 2px 3px 1px rgba(0, 0, 0, 0.4); + + } +#CD_Simple{ + background-color: #888; + border: solid 2px #555; + margin-bottom: 20px; + border-top-right-radius: 5px; + border-top-left-radius: 5px; +} + #CD_Simple table{ + width:100%; + border-collapse: collapse; + } + #CD_Simple table tr.row { + background: #fff url(../image/parts/list_style_line_bk.png) center repeat-x; + background-size: 100% 100%; + cursor: pointer; + } + #CD_Simple table tr.row:hover{ + background: #6ec0ff; + color: #fff; + } + #CD_Simple table tr th { + text-align: center; + color: #fff; + } + + #CD_Simple table tr td { + padding: 5px 0; + line-height: 14px; + } + +#relationCard .dk_options_inner{ + border:1px solid #aaa; + border-radius: 0; +} + +#relationCard #CD_Simple,#relationCard .box_list{ + margin:0 10px; +} + +article #relationCard.list_style ul.box_list li dl dd.box_card_pen_info span.box_card_pen_effect { + width: 758px; +} + +/*投票用ここから*/ +#form_regist_voto{ + display: flex; + justify-content: center; +} + +#CardSet #voto_btn_set{ + display: inline-block; + border: 2px solid #000000; + background: #fff; + margin: 10px auto; + padding: 10px; + box-sizing: border-box; +} +#CardSet #voto_btn_set .top{ + align-items: center; + color: #fff; + padding: 5px; + background: #023765; + font-size: 1.4rem; + width: auto ; + margin: 0 +} +#CardSet #voto_btn_set .top p{text-align: center;} + #voto_btn_set .top span{ + font-weight: bold; + padding: 0 5px; + font-size: 1.8rem; + } +#CardSet #voto_btn_set .bottom{text-align: center;} +#CardSet #voto_btn_set a{ + width: auto; + margin: 10px auto; + justify-content: center; +} +#CardSet #voto_btn_set .navbtn .icon.hex span{ + width: 40px; +} +@keyframes blinkAnime{ + 0% { background: #f3cd4d } + 100% { background:#ff9000 } +} + +#CardSet #voto_btn_set a img{ + width: 40px; + vertical-align: middle; +} + +#CardSet #messageVoto{ + display: none; + text-align: center; + padding: 0 0 10px; + color: red; +} +/*投票用ここまで*/ +#cboxContent,#cboxLoadedContent{background: none;border: none} +#pop_set{ + + box-sizing: border-box; + height: 100%; + width: 100%; + margin: 0 auto; + position: relative; +} + +#pop_set .btn_set{ + padding: 0 20px; +} +#pop_set .img_set{ + display: flex; + justify-content: center; + align-items: center; + + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; +} +#pop_card{ + margin: 0; + flex: 1; + display: flex; + justify-content: center; + align-items: center; +} +#pop_set img{ + border: 1px solid rgb(255,255,255,.5); + width: 100%; + max-width: 300px; + height: auto; +} +#pop_set .img_set .btn{ + font-size: 4rem; + color: #ffffff; + padding: 2px 0 0; +} +#pop_set .img_set .btn:active{ + padding:0 0 2px; +} + +#cboxClose { + position: absolute; + top: 0; + right: 0; + margin: 10px; + z-index: 3; + display: block; + box-sizing: border-box; + width: 28px; + height: 28px; + background: rgb(255,255,255,0.2); + text-indent: 0; + font-size: 0; + line-height: 28px; + border-radius: 100%; + color: #ffffff; +} + +#cboxClose:before { + font-size:1.4rem; + content:'X'; +} + +#card_frame a{ + position: relative; + display: block; + height: 100%; + width: 100%; +} +#card_frame svg{ + position: absolute; + bottom: 25px; + right: 12px; + width: 40px; + height: 40px; +} +#card_frame a:hover svg{ + opacity: .5; +} +@media only screen and (max-width: 700px) {/*デバイスの横幅が896px以下の場合*/ + #card_frame svg{ + width: 32px; + height: 32px; + bottom: 14px; + right: 7px;; + } +} +@media only screen and (max-width: 510px) {/*デバイスの横幅が510px以下の場合*/ + #pop_set{ + min-width: 300px; + } +} +@media only screen and (max-width: 500px) {/*デバイスの横幅が500px以下の場合*/ + #card_frame svg{ + width: 32px; + height: 32px; + bottom: 0; + right: 0; + } +} +.subcatergory { + padding: 0; +} + + +@charset "utf-8"; + +@import "CardSearchCondition.css"; + +#card_title{ + border: 2px solid #000; + color: #fff; + box-sizing: border-box; + margin-bottom: -2px; + padding: 5px; + background: #000; + font-size: 0px; +} + #card_title h1 span{ + font-size: 26px; + line-height: 34px; + color: #fff; + display: block; + text-align: center; + } + #card_title .ruby{ + font-size: 14px; + line-height: 18px; + color: #888; + } + +#CardSet{ + padding: 0 0 10px; + box-sizing: border-box; + border: 2px solid #000; +} +/*----card_frame----*/ +#CardSet .top{ + display: flex; + width: 100%; + padding: 10px 10px; + box-sizing: border-box; +} +#CardImgSet{ + width: 20%; + max-width: 220px; + min-width: 80px; +} + +#card_frame { + margin-bottom:5px; + position: relative; + width: 100%; +} +#card_frame::before{ + content: ""; + display: block; + padding-top: 145%; +} +#card_frame .set{ + border: 1px solid #ffffff; + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + background: url(../image/en/card_back.png) no-repeat ; + background-size: contain; +} +.ja #card_frame .set{ + background-image: url(../image/ja/card_back.png) ; +} +.ko #card_frame .set{ + background-image: url(../image/ko/card_back.png) ; +} + +#card_frame img{ + width:100%; + height:auto; + max-width: 220px; + +} + +/*----/card_frame----*/ + +/*----thumbnail----*/ +#thumbnail{ + width: 100%; + margin: 0 auto; +} + +#thumbnail img{ + margin:1px; + width:32px; + height:46px; + border:solid 2px #ddd; + cursor:pointer; +} + +#thumbnail img.current{ + border:solid 3px #888; + margin:0; +} + +/*----/thumbnail----*/ + +#CardTextSet{ + padding: 0 0 0 10px; + flex: 2; +} + +#legend{ + margin: 0 0 5px; + justify-content: flex-end; + display: flex; +} +#legend span{ + font-size: 13px; + height: 20px; + line-height: 20px; +} + + +#legend span.fuki:before{ + border: 10px solid transparent; + margin-top: -10px; +} +#legend span.fuki:after { + margin-top: -12px; + border: 12px solid transparent; +} +#legend span.f1:before { + left: -22px; + border-right: 10px solid #C29B00; +} + +#legend span.f1:after { + left: -26px; + border-right: 12px solid #000; +} + +#legend span.f2:before { + right: -21px; + border-left: 10px solid #C29B00; +} +#legend span.f2:after { + right: -25px; + border-left: 12px solid #000; +} +@media only screen and (max-width: 500px) {/*デバイスの横幅が500px以下の場合*/ + #legend span{ + font-size: 10px; + line-height: 12px; + height: 12px; + } + #legend span.fuki:before{ + border: 6px solid transparent; + margin-top: -6px; + } + #legend span.fuki:after { + margin-top: -8px; + border: 8px solid transparent; + } + #legend span.f1:before { + left: -14px; + border-right: 6px solid #C29B00; + } + + #legend span.f1:after { + left: -18px; + border-right: 8px solid #000; + } + + #legend span.f2:before { + right: -13px; + border-left: 6px solid #C29B00; + } + #legend span.f2:after { + right: -17px; + border-left: 8px solid #000; + } +} + + +.CardText{ + border: 1px solid #000; + border-right: none; + border-top: none; + margin-bottom: 10px; +} + .CardText .frame{ + display: flex; + + flex-wrap: wrap; + } + .CardText .frame:first-of-type{ + + } +@media only screen and (max-width: 500px) {/*デバイスの横幅が500px以下の場合*/ + .CardText .frame{ + display: block; + } + .pen.CardText .frame{ + display: flex; + } + .pen.CardText .item_box{ + flex-wrap: nowrap; + } +} +.CardText .item_box{ + border: 1px solid #000; + border-left: none; + border-bottom: none; + +} + .CardText .item_box,.CardText .atkdef{ + display: flex; + flex-wrap: wrap; + justify-content: end; + flex: 1; + flex-grow: 1; + width: 100%; + } +.CardText .item_box img{ + width: 20px; + height: 20px; + margin-right: 5px; +} +.CardText .atkdef .item_box{min-width: 150px;} + .CardText .item_box:first-of-type,.CardText .atkdef:first-of-type{ + + } + .CardText .item_box >*{ + font-size: 1.4rem; + color: #000; + padding: 5px; + } + +@media only screen and (max-width: 500px) {/*デバイスの横幅が500px以下の場合*/ + .CardText .item_box,.CardText .atkdef{ + min-height: auto; + } + .CardText .item_box p{font-size: 12px;} + .CardText .item_box >*{ padding: 5px;} +} +.CardText .item_box .item_box_title{ + white-space: nowrap; + display: flex; + text-align: center; + background-color: #023765; + justify-content: center; + color: #ffffff; + flex: 1; +} +.CardText .frame.imgset .item_box_title{ + +} +.CardText .item_box .item_box_title img{ + + display: block; +} +@media only screen and (max-width: 500px) {/*デバイスの横幅が500px以下の場合*/ + .CardText .item_box .item_box_title img{ + width: 18px; + height: 18px; + max-width: 18px; + max-height: 18px; + display: block; + } + .CardText .item_box .item_box_title{ + line-height: 20px; + } +} +.CardText .item_box .item_box_value{ + flex: 3; + text-align: left; + display: flex; + align-items: center; +} +.t_center { + justify-content: center; +} + .CardText .item_box_text{ + flex: 1; + border: 1px solid #000; + padding: 5px; + box-sizing: border-box; + width: 100%; + line-height: 22px; + font-size: 14px; + color: #000; + border-left: none; + border-bottom: none; + } +.CardText .item_box_text .item_box_title_note{ + border-bottom: 1px solid #000; + font-weight: bold; + margin: 5px 0 0; + padding: 5px 0 0; +} + +.CardText.pen .item_box{ + justify-content: flex-start; +} +.CardText.pen .item_box_text{ + border-top: none; +} +.CardText .item_box.pen_s{border-bottom: 1px solid;} +.text_title{ + margin: 0 0px 5px; + flex: 1; + border-bottom: 1px solid; + padding: 0 5px; + box-sizing: border-box; + font-weight: bold; +} +.pen .text_title{ + margin: 0 5px 0; + padding-bottom: 0; +} + +#CardRelation{ + display: flex; + justify-content: center; + padding: 10px; + flex-wrap: wrap; +} + #CardRelation >a{ + margin: 5px 10px; + } +@media only screen and (max-width: 896px) {/*デバイスの横幅が896px以下の場合*/ + .navbtn h4{ + line-height: 1.2; + } +} +#user_box{ + padding: 0 10px; + box-sizing: border-box; +} +#user_box form{ + display: flex; + flex-wrap: wrap; +} +#user_box .inner_box{ + flex: 1; + margin: 0; + min-width: 200px; + border: 1px solid #000; + background-color: #00cccc; + padding: 5px 10px 60px; + box-sizing: border-box; + position: relative; + +} +@media only screen and (max-width: 500px) { + #user_box .inner_box{ + width: 100%; + min-width: 100%; + } +} +#user_box p{ + color: #000; + font-size: 14px; +} + +#user_box .select,#user_box select{ + width: 100%; + margin: 1px 0; +} +#user_box .dk_container { + transform: skewX(0deg); + background: #fff; + border: 1px solid #000; + width: 100%; +} +#user_box .dk_container >* { + transform: skewX(0deg); + +} +#user_box .dk_container >a{ + width: 100% !important; + box-sizing: border-box; +} +#user_box .dk_container.dk_open .dk_options { + top: auto !important; + margin: 0px 0px 0 0; +} +#user_box .dk_container .dk_label { + color: #000; + white-space: break-spaces; +} +#user_box .f_del{ + width: 100%; + box-sizing: border-box; + text-align: center; + position: absolute; + bottom: 5px; + display: flex; + justify-content: center; +} + +#user_box #message{ + color: red; + text-align: center; + margin-top: 10px; +} + +#pack_list,#relationCard,#form_search{ + margin-top:20px; +} + +#pack_list ul{ + border: 1px solid #000; + border-bottom: 2px solid #000; +} +#pack_list li{ + display: flex; + border: 1px solid #000; + border-bottom: none; + font-size: 14px; + padding:5px; + flex-wrap: wrap; +} +#pack_list .row:hover{background-color: #fff0b2} +#pack_list li >*{ + padding: 2px 5px; + white-space: nowrap; + min-width: 80px; + display: block; +} +#pack_list .pack_name{ + flex: 1; + white-space: normal; + font-weight: bold; +} +#pack_list .head{ + background: #000; + color: #fff; +} +#pack_list .row{ + background: #fff; + cursor: pointer; +} +@media only screen and (max-width: 896px) {/*デバイスの横幅が896px以下の場合*/ + #pack_list li{ + font-size: 12px; + + } + #pack_list li >*{ + min-width: 60px; + } +#pack_list .pack_name{ + flex: auto; +} +} + + +.li_top{ + border: 3px #fff double; + background-color: #000; + /* padding: 5px; */ + margin: 0 -1px; + color: #fff; + padding: 7px 10px; + font-size: 14px; + line-height: 18px; +} + +.forbidden_limited_ber{ + display: flex; + justify-content: center; + width: 100%; + text-align: center; + align-items: center; + padding: 2px 0 0; + font-size: 1.6rem; +} +.forbidden_limited_ber.limited_type_1{background-color: #dc0000} +.forbidden_limited_ber.limited_type_2{background-color: #fb8c32} +.forbidden_limited_ber.limited_type_3{background-color: #fbb830} +.forbidden_limited_ber span{ + text-align: center; + color: #fff; + margin: 0 5px; +} + +.forbidden_limited_ber .img{ + display: block; + width: 30px; + height: 20px; + background-position: center; + background-size: auto 90%; + background-repeat: no-repeat; +} +.forbidden_limited_ber.limited_type_1 .img{ background-image:url(../image/parts/svg/icon_forb_unlim.svg); background-color: #dc0000;} +.forbidden_limited_ber.limited_type_2 .img{ background-image:url(../image/parts/svg/icon_limit_unlim.svg); background-color: #fb8c32;} +.forbidden_limited_ber.limited_type_3 .img{ background-image:url(../image/parts/svg/icon_slim_unlim.svg); background-color: #fbb830;} + + + +@media only screen and (max-width: 500px) {/*デバイスの横幅が500px以下の場合*/ + #card_title h1 span { + font-size: 22px; + line-height: 28px; + + } + #card_title .ruby { + font-size: 12px; + line-height: 16px; + } + .CardText .item_box >span { + font-size: 12px; + } + .CardText .item_box_text { + font-size: 12px; + line-height: 18px; + } +} + +.img_yaji{ + display: none; + justify-content: space-between; +} +.img_yaji >*{ + padding: 5px 10px; + color: #ffffff; + background: #023765; + border-radius: 10px; + line-height: 1.2; + font-size: 1.6rem; +} +@media only screen and (max-width: 700px) {/*デバイスの横幅が700px以下の場合*/ + .img_yaji{display: flex;} + #thumbnail{display: none} +} + + +@charset "utf-8"; + +@import "FaqSearchCondition.css"; + +.list .dack_name .name{ + padding: 10px 5px 5px; + line-height: 1.2; +} +.list .dack_set .text{ + display: flex; +} + +.list .dack_set .text span{ + font-size: 1.2rem; +} +.list .dack_set .text .tag_name{ + flex: 1; + display: flex; +} +.list .dack_set .text span{ + padding: 0 10px; + border-radius: 5px; + color: #ffffff; + margin: 0 2px; + line-height: 1.5; + display: block; +} +.list .dack_set .text .tag_name span{ + background: #467491; +} +.list .dack_set .text .new span{ + background: #ffba00; +} +.list .dack_set .text .attention span{ + background: #d83134; +} + .list .t_row:first-child{ + margin: 0; +} + +@charset "utf-8"; + +/*----card_info----*/ + +.qa_text_area{ + color: #000; + margin: 0 auto 30px; + background-color: #fff; + border: solid 2px #000; + box-sizing: border-box; +} + + .qa_text_area .title { + display: flex; + justify-content: space-between; + font-size:1.4rem; + font-weight:bold; + line-height:1.2; + padding: 5px; + color: #000; + border-bottom: 1px solid; + margin: 5px 5px 0; + } + .qa_text_area .title .update{ + font-size: 1.2rem; + font-weight: normal; + } + + .qa_text_area .text { + padding: 15px 10px 25px; + line-height: 1.8; + font-size: 1.4rem; + box-sizing: border-box; + min-height: 128px; + } + + .qa_text_area .supplement{ + margin: 10px; + border: 1px solid #467491; + border-radius: 5px; + } + .qa_text_area .supplement .title { + background: #467491; + margin: 0; + color: #ffffff; + border: none; + } + .qa_text_area .supplement .text { + min-height: 64px; + } +.qa_text_area .text.supplement{ +} + + + .qa_text_area a{ + text-decoration:none; + } + + .qa_text_area a:hover{ + text-decoration:underline !important; + } + + .qa_text_area a:visited{ + text-decoration:none; + } + + +/*----/card_info----*/ + + + +#article_body .list_style ul li { +} + + #article_body .list_style ul li:hover { + cursor:pointer; + } + + #article_body .list_style ul li table tr td{ + padding:5px 10px 0px 10px; + } + + #article_body .list_style ul li table tr td div.border_t{ + border-top:solid 1px #ccc; + } + + #article_body .list_style ul li:hover table tr td div.border_t{ + border-top:solid 1px #fff; + } + + #article_body .list_style ul li div.qa_title{ + font-size:1.4rem; + line-height:1.5em; + } + + #article_body .list_style ul li span.tag_name{ + font-size:1rem; + color: #555; + } + + #article_body .list_style ul li span.tag_name span{ + font-size:1rem; + font-weight:normal; + padding:0 10px; + margin:0 5px; + margin-bottom:5px; + } + + #article_body .list_style ul li:hover span.tag_name span{ + background-color:#fff; + border-radius: 20px; + } + + #article_body .list_style ul li span.new{ + border:solid 1px #d59f00; + background-color:#ffe495; + font-weight:bold; + padding:0 5px; + font-size:1.4rem; + color: #555; + } + + #article_body .list_style ul li span.attention{ + border:solid 1px #d58095; + background-color:#ffd5df; + font-weight:bold; + padding:0 5px; + font-size:1rem; + color: #555; + } + + +/*------to_detail------*/ + +#to_detail{ + display:block; + height:70px; + line-height:1.5em; + width:180px; + color:#fff; + font-weight:bold; + font-size:1.4rem; + text-align:center; + background:url(../image/parts/btn_box_yellow.png) no-repeat; +} + + #to_detail b{ + display:block; + padding-top:14px; + } + + #to_detail:hover{ + background-position:right top; + text-decoration:none; + } + + #to_detail:visited{ + text-decoration:none; + } + +/*------/to_detail------*/ + +@charset "utf-8"; + +.search_box{ + margin: 0 auto; +} + +.search_hed{ + background: #022c53; + padding: 10px; + display: flex; + align-items: center; +} + +.search_hed .search{ + display: flex; + flex: 1; + +} + +.search #first_search { + flex: 1; + display: flex; + align-items: center; + background: #fff; + + padding-right: 5px; + margin-right: 50px; + box-sizing: border-box; +} +#keyword { + padding: 10px 7px; + font-size: 1.4rem !important; + font-weight: bold; + border: none; + box-sizing: border-box; + flex: 1; + outline: none; + line-height: 1.2; +} +#keyword:focus {background-color: #ffffff;} +.search #first_search img { + position: relative; + padding: initial; + width: 20px; + height: 20px; +} + + +.search_hed .s_btn{ + flex: none; + display: block; + padding: 0 45px 0 50px +} +.search_hed .s_btn a{justify-content: center;} + +.search_bot{ + border: 1px solid #000000; + box-sizing: border-box; +} +.search_row{ + border: 1px solid #000; + margin-top: -1px; +} +.search_row:first-child{margin-top: 0} +.search_row >*{ + display: block; +} +.search_row .search_title{ + background: #467491; + color: #ffffff; + font-size: 1.2rem; + min-width: 128px; + padding:0 5px; +} +.search_row .search_btn{ + display: flex; + flex-wrap: wrap; + padding:5px; +} +.search_row .search_btn a{ + padding: 2px; + box-sizing: border-box; + min-width: 20%; + display: block; +} +.search_row .search_btn a span{ + font-size: 1.2rem; + background: #002345; + color: #ffffff; + border-radius: 2px; + padding: 5px; + box-sizing: border-box; + display: block; +} +.search_row .search_btn a:hover{ + text-decoration: none; + opacity: .8; +} +.dk_container{ + display: flex; +} +@media only screen and (max-width: 896px) {/*デバイスの横幅が896px以下の場合*/ + .search_row .search_btn a{ + width: auto; + min-width: 20%; + } + .search_row .search_btn a span{ + padding: 5px 10px; + text-align: center; + } + .search_hed{ + display: block; + } + .search_hed .search{ + margin: 0 0 20px; + } +} +@media only screen and (max-width: 700px) {/*デバイスの横幅が700px以下の場合*/ + .search_row .search_btn{ + + } + .search_hed .search { + display: block; + } + .search_hed .search >*{ + margin-bottom: 10px; + min-width: 100%; + } + .dk_container{ + float: none; + width: 100%; + } + .dk_container a{ + width: 100% !important; + } +} + diff --git a/src/css/card_search.css b/src/css/card_search.css index 760c155..4d3d3d5 100644 --- a/src/css/card_search.css +++ b/src/css/card_search.css @@ -1,79 +1,95 @@ -.search_btn_set{ +.search_btn_set { background: #022c53; padding: 10px; display: flex; } - .search_btn_set .search{ - display: flex; - justify-content: space-between; - flex: 1; - } - .search_btn_set .search #first_search{ - flex: 1; - display: flex; - align-items: center; - background: #fff; - border: 1px solid #888; - padding-right: 5px; - margin-right: 50px; - box-sizing: border-box; - } - #keyword { - padding: 4px 7px; - font-size: 15px !important; - font-weight: bold; - height: 30px; - border: none; - box-sizing: border-box; - flex: 1; - outline: none; - } - .search_btn_set .search #first_search img{ - position: relative; - padding: initial; - width: 20px; - height: 20px; - } +.search_btn_set .search { + display: flex; + justify-content: space-between; + flex: 1; +} -#submit_area{ - padding: 0 45px 0 50px; +.search_btn_set .search #first_search { + flex: 1; + display: flex; + align-items: center; + background: #fff; + border: 1px solid #888; + padding-right: 5px; + margin-right: 10px; + box-sizing: border-box; +} + +#keyword { + padding: 4px 7px; + font-size: 13px !important; + font-weight: bold; + height: 30px; + border: none; + box-sizing: border-box; + flex: 1; + outline: none; } -@media only screen and (max-width: 896px) {/*デバイスの横幅が896px以下の場合*/ - .search_btn_set{ + +.search_btn_set .search #first_search img { + position: relative; + padding: initial; + width: 20px; + height: 20px; +} + +#submit_area { + padding: 0 5px 0 5px; +} + +@media only screen and (max-width: 896px) { + + /*デバイスの横幅が896px以下の場合*/ + .search_btn_set { display: block; } - .search_btn_set .search{ + + .search_btn_set .search { margin-bottom: 20px; } - #submit_area >* { + + #submit_area>* { justify-content: center; } } -@media only screen and (max-width: 700px) {/*デバイスの横幅が700px以下の場合*/ - .search_btn_set .search{ +@media only screen and (max-width: 700px) { + /*デバイスの横幅が700px以下の場合*/ + + .search_btn_set .search { display: block; } - .search_btn_set .search >*{ + + .search_btn_set .search>* { margin-bottom: 10px; min-width: 100%; } } -@media only screen and (max-width: 500px) {/*デバイスの横幅が500px以下の場合*/ + +@media only screen and (max-width: 500px) { + /*デバイスの横幅が500px以下の場合*/ } -#search .filter_set_area{ +#search .filter_set_area { display: block; border: 2px solid #000; border-top: none; margin: 5px; } -#search .filter_set_area.none{display: none} -#search .fliter_btns{ +#search .filter_set_area.none { + display: none +} + +#search .fliter_btns { display: flex; flex-wrap: wrap; width: 100%; @@ -81,26 +97,31 @@ flex: 5; padding: 0 3px; } + #search .fliter_btns li, -.filter_set_monster .updw label,.filter_set_monster .updw p{ +.filter_set_monster .updw label, +.filter_set_monster .updw p { min-width: 14.28%; margin: 0; padding: 1px; box-sizing: border-box; } -.filter_set_monster .updw label,.filter_set_monster .updw p{ + +.filter_set_monster .updw label, +.filter_set_monster .updw p { width: 10.9%; - min-width: 80px; + min-width: 40px; display: block; } -#search .fliter_btns li >span, -.filter_set_monster .updw span{ - font-size: 1.2rem; +#search .fliter_btns li>span, +.filter_set_monster .updw span { + /* font-size: 1.2rem; */ + font-size: 1.0rem; background: #002345; color: #ffffff; border-radius: 2px; - padding: 2px 5px; + padding: 1px 1px; box-sizing: border-box; display: block; text-align: center @@ -108,24 +129,28 @@ #search .fliter_btns li:hover, .filter_set_monster .updw label:hover, -.filter_set_monster .updw p:hover{opacity: .8;} - - - #search .fliter_btns li.check > span{ - font-weight:bold; - background-color:#239adf; - } -#search .fliter_btns li.untick > span, -.filter_set_monster .updw .untick span{ - box-sizing: border-box; - background-color:#ffa6a6; - background-image:url(chrome-extension://__MSG_@@extension_id__/images/parts/untick.png); - background-size:20px 20px; - background-position: center center; - background-repeat: no-repeat; - display: block; - } -#search .fliter_btns li >span span{ +.filter_set_monster .updw p:hover { + opacity: .8; +} + + +#search .fliter_btns li.check>span { + font-weight: bold; + background-color: #239adf; +} + +#search .fliter_btns li.untick>span, +.filter_set_monster .updw .untick span { + box-sizing: border-box; + background-color: #ffa6a6; + background-image: url(chrome-extension://__MSG_@@extension_id__/images/parts/untick.png); + background-size: 20px 20px; + background-position: center center; + background-repeat: no-repeat; + display: block; +} + +#search .fliter_btns li>span span { background-repeat: no-repeat; background-position: center left; background-size: auto 94%; @@ -133,44 +158,53 @@ } - #search .filter_set>div{ - padding:3px; - border-bottom: 1px solid #888; - display: flex; - } - #search .filter_set>div .title{ - font-size:12px; - color:#ffffff;background-color: #467491; - display: flex; - flex: 1; - padding: 3px; - flex-wrap: wrap; - justify-content: space-between; - align-items: flex-start; - min-width: 160px; - } -@media only screen and (max-width: 700px) {/*デバイスの横幅が700px以下の場合*/ - #search .filter_set>div{ +#search .filter_set>div { + padding: 3px; + border-bottom: 1px solid #888; + display: flex; +} + +#search .filter_set>div .title { + font-size: 10px; + color: #ffffff; + background-color: #467491; + display: flex; + flex: 1; + padding: 3px; + flex-wrap: wrap; + justify-content: space-between; + align-items: flex-start; + width: 80px; +} + +@media only screen and (max-width: 700px) { + + /*デバイスの横幅が700px以下の場合*/ + #search .filter_set>div { display: block; padding: 0; } + #search .fliter_btns, - .filter_set_monster .updw{ + .filter_set_monster .updw { padding: 5px; box-sizing: border-box; } - #search .fliter_btns li >span, - .filter_set_monster .updw span{ + #search .fliter_btns li>span, + .filter_set_monster .updw span { padding: 5px 5px; text-align: center; } - - #search .fliter_btns li{ + + #search .fliter_btns li { width: auto; - min-width: 20%; + /* min-width: 10.28%; */ + min-width: 7.28%; } - .filter_set_monster .updw label,.filter_set_monster .updw p{ + + .filter_set_monster .updw label, + .filter_set_monster .updw p { width: auto; min-width: 14.28%; } @@ -181,142 +215,184 @@ -#search .filter_set>div .title h3{ +#search .filter_set>div .title h3 { margin: 0; white-space: nowrap; } -#search .filter_set>div .title .bottom{ + +#search .filter_set>div .title .bottom { min-width: 100%; margin-right: 0; } -@media only screen and (max-width: 700px) {/*デバイスの横幅が700px以下の場合*/ - #search .filter_set>div .title .bottom{ + +@media only screen and (max-width: 700px) { + + /*デバイスの横幅が700px以下の場合*/ + #search .filter_set>div .title .bottom { min-width: auto; margin: 0 5px; } } - #search .slider{ - text-align:left; - } - .slider .updw{ - font-size:14px; - font-weight:bold; - color:#FFFFFF; - margin-right: 0; - display: block; - flex: none; - } - - - .slider .bar_area{ - margin:5px 0; - padding:15px 3px 8px; - background:#ccc; - } - .slider .bar_area>div{position:relative;} - .slider .bar_area>div .bar{ - height:4px; - background:#777; - margin:0 14px; - } - .slider .bar_area>div .tab{ - position:absolute; - height:30px; - width:30px; - background-image:url(chrome-extension://__MSG_@@extension_id__/images/parts/tabs.png); - top:-17px; - cursor: pointer; - } - .slider .bar_area *.ontouch{ background-position:right 0px; border:none;} - .slider .bar_area .min_tab{ z-index:2;} - .slider .bar_area .max_tab{ z-index:3;} - - - #search .filter_set>div .and_or{ - justify-content: center; - } - #search .filter_set>div .and_or.hex > span{ - line-height: 1.2; - background-color: #fff; - } - #search .filter_set>div .and_or.hex:before, #search .filter_set>div .and_or.hex:after{ - width: 10px; - background-color: #fff; - } - #search .filter_set>div .and_or.hex label{ - color: #000000; - padding: 5px; - } - - -.filter_set_monster .updw{ +#search .slider { + text-align: left; +} + +.slider .updw { + font-size: 14px; + font-weight: bold; + color: #FFFFFF; + margin-right: 0; + display: block; + flex: none; +} + + +.slider .bar_area { + margin: 5px 0; + padding: 15px 3px 8px; + background: #ccc; +} + +.slider .bar_area>div { + position: relative; +} + +.slider .bar_area>div .bar { + height: 4px; + background: #777; + margin: 0 14px; +} + +.slider .bar_area>div .tab { + position: absolute; + height: 30px; + width: 30px; + background-image: url(chrome-extension://__MSG_@@extension_id__/images/parts/tabs.png); + top: -17px; + cursor: pointer; +} + +.slider .bar_area *.ontouch { + background-position: right 0px; + border: none; +} + +.slider .bar_area .min_tab { + z-index: 2; +} + +.slider .bar_area .max_tab { + z-index: 3; +} + + +#search .filter_set>div .and_or { + justify-content: center; +} + +#search .filter_set>div .and_or.hex>span { + line-height: 1.2; + background-color: #fff; +} + +#search .filter_set>div .and_or.hex:before, +#search .filter_set>div .and_or.hex:after { + width: 10px; + background-color: #fff; +} + +#search .filter_set>div .and_or.hex label { + color: #000000; + padding: 5px; +} + + +.filter_set_monster .updw { display: flex; flex-wrap: wrap; padding: 0 2px; } -.filter_set_monster .updw input[type=checkbox]{display: none;} -.filter_set_monster .updw input[type=checkbox]:checked + label >span{ - font-weight:bold; - background-color:#239adf; +.filter_set_monster .updw input[type=checkbox] { + display: none; +} + +.filter_set_monster .updw input[type=checkbox]:checked+label>span { + font-weight: bold; + background-color: #239adf; } -#legend_type_set >*{ +#legend_type_set>* { display: flex; flex-wrap: wrap; } -#legend_type_set .legend_type_tab{ + +#legend_type_set .legend_type_tab { flex: 1; padding: 0 20px; } -@media only screen and (max-width: 700px) {/*デバイスの横幅が700px以下の場合*/ - .filter_set_monster .updw{ + +@media only screen and (max-width: 700px) { + + /*デバイスの横幅が700px以下の場合*/ + .filter_set_monster .updw { padding: 5px; } } -@media only screen and (max-width: 500px) {/*デバイスの横幅が500px以下の場合*/ - #legend_type_set .legend_type_tab{ + +@media only screen and (max-width: 500px) { + + /*デバイスの横幅が500px以下の場合*/ + #legend_type_set .legend_type_tab { flex: none; padding: 0; - width: 100%; + width: 100%; } } -#search .filter_set> #filter_other .title span { +#search .filter_set>#filter_other .title span { flex: none; margin: 0; } -#bottombtn{ - background: #022c53; +#bottombtn { + background: #022c53; padding: 10px; display: flex; justify-content: center; } -#bottombtn.none{display: none} -.bar_set{ + +#bottombtn.none { + display: none +} + +.bar_set { flex: 5; } -.sab{ + +.sab { flex: 5; } -#link_set .sab{ + +#link_set .sab { display: flex; align-items: flex-start; } -#link_set.filter_set_monster .updw label{ + +#link_set.filter_set_monster .updw label { width: 16.6%; - min-width: 80px; + min-width: 40px; } -#link_set.filter_set_monster .updw{ + +#link_set.filter_set_monster .updw { flex: 1; align-items: flex-start; } -.search_m_set{ +.search_m_set { background-color: #778995; display: inline-flex; padding: 5px; @@ -325,26 +401,30 @@ } -#search .filter_set>.atkdef{ +#search .filter_set>.atkdef { display: flex; padding: 0; border: none; } -#search .filter_set>.atkdef >*{ + +#search .filter_set>.atkdef>* { flex: 1; display: flex; } -#search .filter_set>.atkdef .title{ + +#search .filter_set>.atkdef .title { margin: 3px 0 3px 3px; } -#search .filter_set>.atkdef .input_set{ + +#search .filter_set>.atkdef .input_set { margin: 3px 3px 3px 0; flex: 2; display: flex; justify-content: space-around; flex-wrap: wrap; } -#search .filter_set>.atkdef input[type="text"]{ + +#search .filter_set>.atkdef input[type="text"] { width: 100%; max-width: 45%; padding: 2px 2px 2px 24px; @@ -352,96 +432,123 @@ background: #fff no-repeat url(chrome-extension://__MSG_@@extension_id__/images/parts/mark_more.png); background-position: 2px center; margin: 2px; - min-width: 120px; + min-width: "auto"; + /* min-width: 60px; */ } -#search .filter_set>.atkdef #atkto,#search .filter_set>.atkdef #defto{ - background-image:url(chrome-extension://__MSG_@@extension_id__/images/parts/mark_less.png) ; + +#search .filter_set>.atkdef #atkto, +#search .filter_set>.atkdef #defto { + background-image: url(chrome-extension://__MSG_@@extension_id__/images/parts/mark_less.png); } -.atkdef .search_bottom{ + +.atkdef .search_bottom { border-left: 1px solid #888888; } -@media only screen and (max-width: 700px) {/*デバイスの横幅が700px以下の場合*/ + +@media only screen and (max-width: 700px) { + + /*デバイスの横幅が700px以下の場合*/ #search .filter_set>.atkdef, - #search .filter_set>.atkdef >*{ + #search .filter_set>.atkdef>* { display: block; } - #search .filter_set>.atkdef .title{ + + #search .filter_set>.atkdef .title { margin: 0; } - .atkdef .search_bottom{border-left: none;} - #search .filter_set>.atkdef .input_set{margin: 5px;} - #search .filter_set>.atkdef input[type="text"]{ + + .atkdef .search_bottom { + border-left: none; + } + + #search .filter_set>.atkdef .input_set { + margin: 5px; + } + + #search .filter_set>.atkdef input[type="text"] { min-width: auto; } - .search_m_set{ + + .search_m_set { margin: 5px; } } -#search{ +#search { border: 2px solid #000000; } -.Question{ +.Question { position: relative; margin: 0 0 0 10px; flex: 2; } - .Question p{ - position: absolute; - font-weight: bold; - white-space: nowrap; - text-align: center; - top: -50px; - left: -10px; - border: 2px solid #ff7200; - border-radius: 6px; - min-width: 100%; - padding: 6px; - display: none; - z-index: 10; - font-size: 1.2rem; - color: #000; - background-color: #ffba00; - } - .Question p::after{ - content: ''; - position:absolute; - left: 10px; - bottom: -8px; - width:0; - white-space: nowrap; - border-width:8px 8px 0px 8px; - border-style:solid; - border-left-color:transparent; - border-right-color:transparent; - border-bottom-color:transparent; - display: none; - color: #ff7200; - - } - .Question:hover p, - .Question:hover p::after{ - display: block; - cursor:help; - } - -.Question .hex > span ,.untick.hex > span{ + +.Question p { + position: absolute; + font-weight: bold; + white-space: nowrap; + text-align: center; + top: -50px; + left: -10px; + border: 2px solid #ff7200; + border-radius: 6px; + min-width: 100%; + padding: 6px; + display: none; + z-index: 10; + font-size: 1.2rem; + color: #000; + background-color: #ffba00; +} + +.Question p::after { + content: ''; + position: absolute; + left: 10px; + bottom: -8px; + width: 0; + white-space: nowrap; + border-width: 8px 8px 0px 8px; + border-style: solid; + border-left-color: transparent; + border-right-color: transparent; + border-bottom-color: transparent; + display: none; + color: #ff7200; + +} + +.Question:hover p, +.Question:hover p::after { + display: block; + cursor: help; +} + +.Question .hex>span, +.untick.hex>span { font-size: 1.2rem; min-height: auto; line-height: 1.4; padding: 0 2px; color: #000000; } -.untick.hex > span{ + +.untick.hex>span { color: #ffffff; } -.Question .hex:before, .Question .hex:after, -.untick.hex:before, .untick.hex:after{ + +.Question .hex:before, +.Question .hex:after, +.untick.hex:before, +.untick.hex:after { width: 5px; } -@media only screen and (max-width: 700px) {/*デバイスの横幅が700px以下の場合*/ + +@media only screen and (max-width: 700px) { + + /*デバイスの横幅が700px以下の場合*/ /* .Question{ display: flex; @@ -487,142 +594,216 @@ .Question .hex:before, .Question .hex:after, .Question:hover p::after{display: none;} */ - .untick{order: 4} + .untick { + order: 4 + } } /**----以下実験----**/ -#search_set{ - overflow:hidden; - display:table; - padding:0; - margin:0; -} - #search_by_attack_and_defense_and_level #search_set span{ - float:none; - } - #search_by_attack_and_defense_and_level #search_set #defense_title, - #search_by_attack_and_defense_and_level #search_set #pen_scale_title, - #search_by_attack_and_defense_and_level #search_set #link_title, - #search_by_attack_and_defense_and_level #search_set #level_rank_input, - #search_by_attack_and_defense_and_level #search_set #attack_input{ - padding:0; - border:none; - } - #search_by_attack_and_defense_and_level #search_set #pen_scale_title{ - width:130px; - } - #search_set .search_top{ - padding:2px 0px 0; - } - #search_set .search_bottom{ - padding:20px 0px 2px; - } - #search_set .search_l,#search_set .search_m,#search_set .search_r{ - display:table-cell; - vertical-align:top; - box-sizing:border-box; - } - #search_set .search_l{ - border-right: solid 1px #414a56; - padding:5px 25px 0 0px; - } - #search_set .search_m{ - border-left: solid 1px #90a6b0; - border-right: solid 1px #414a56; - overflow:hidden; - padding:0 40px; - } - #search_set .search_r{ - border-left: solid 1px #90a6b0; - padding:5px 0 0 40px; - } - - - #link_set .link_m{ - overflow: hidden; - border-radius: 5px; - position: relative; - width:94px; - height:94px; - display:block; - margin:0 10px 0 0; - } - - #link_set .link_m label,#link_set .link_m img{cursor:pointer;} - #link_set .link_m input[type=checkbox]{display:none;} - #link_set .link_m label{ - display: block; - text-indent: -9999px; - overflow: hidden; - background-position: bottom; - padding: 0; - cursor: pointer; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - } - - #link_set .link_m label.linkbtn7, - #link_set .link_m label.linkbtn9, - #link_set .link_m label.linkbtn1, - #link_set .link_m label.linkbtn3{ - width:32px; - height:32px; - } - #link_set .link_m label.linkbtn8, - #link_set .link_m label.linkbtn2{ - width:44px; - height:24px; - } - #link_set .link_m label.linkbtn4, - #link_set .link_m label.linkbtn6{ - width:24px; - height:44px; - } -#link_set .link_m label.linkbtn1{margin: auto auto 0 2px;} -#link_set .link_m label.linkbtn2{margin: auto auto 0} -#link_set .link_m label.linkbtn3{margin: auto 2px 0 auto;} -#link_set .link_m label.linkbtn4{margin: auto auto auto 0;} -#link_set .link_m label.linkbtn6{margin: auto 0 auto auto;} -#link_set .link_m label.linkbtn7{margin: 0 auto auto 2px;} -#link_set .link_m label.linkbtn8{margin: 0 auto;} -#link_set .link_m label.linkbtn9{margin: 0 2px auto auto;} - - -#link_set .link_m label{ +#search_set { + overflow: hidden; + display: table; + padding: 0; + margin: 0; +} + +#search_by_attack_and_defense_and_level #search_set span { + float: none; +} + +#search_by_attack_and_defense_and_level #search_set #defense_title, +#search_by_attack_and_defense_and_level #search_set #pen_scale_title, +#search_by_attack_and_defense_and_level #search_set #link_title, +#search_by_attack_and_defense_and_level #search_set #level_rank_input, +#search_by_attack_and_defense_and_level #search_set #attack_input { + padding: 0; + border: none; +} + +#search_by_attack_and_defense_and_level #search_set #pen_scale_title { + width: 130px; +} + +#search_set .search_top { + padding: 2px 0px 0; +} + +#search_set .search_bottom { + padding: 20px 0px 2px; +} + +#search_set .search_l, +#search_set .search_m, +#search_set .search_r { + display: table-cell; + vertical-align: top; + box-sizing: border-box; +} + +#search_set .search_l { + border-right: solid 1px #414a56; + padding: 5px 25px 0 0px; +} + +#search_set .search_m { + border-left: solid 1px #90a6b0; + border-right: solid 1px #414a56; + overflow: hidden; + padding: 0 40px; +} + +#search_set .search_r { + border-left: solid 1px #90a6b0; + padding: 5px 0 0 40px; +} + + +#link_set .link_m { + overflow: hidden; + border-radius: 5px; + position: relative; + width: 47px; + height: 47px; + display: block; + margin: 0 10px 0 0; +} + +#link_set .link_m label, +#link_set .link_m img { + cursor: pointer; +} + +#link_set .link_m input[type=checkbox] { + display: none; +} + +#link_set .link_m label { + display: block; + text-indent: -9999px; + overflow: hidden; + background-position: bottom; + padding: 0; + cursor: pointer; + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; +} + +#link_set .link_m label.linkbtn7, +#link_set .link_m label.linkbtn9, +#link_set .link_m label.linkbtn1, +#link_set .link_m label.linkbtn3 { + width: 16px; + height: 16px; +} + +#link_set .link_m label.linkbtn8, +#link_set .link_m label.linkbtn2 { + width: 22px; + height: 12px; +} + +#link_set .link_m label.linkbtn4, +#link_set .link_m label.linkbtn6 { + width: 12px; + height: 22px; +} + +#link_set .link_m label.linkbtn1 { + margin: auto auto 0 2px; +} + +#link_set .link_m label.linkbtn2 { + margin: auto auto 0 +} + +#link_set .link_m label.linkbtn3 { + margin: auto 2px 0 auto; +} + +#link_set .link_m label.linkbtn4 { + margin: auto auto auto 0; +} + +#link_set .link_m label.linkbtn6 { + margin: auto 0 auto auto; +} + +#link_set .link_m label.linkbtn7 { + margin: 0 auto auto 2px; +} + +#link_set .link_m label.linkbtn8 { + margin: 0 auto; +} + +#link_set .link_m label.linkbtn9 { + margin: 0 2px auto auto; +} + + +#link_set .link_m label { background-size: 100% auto; background-position: top; } - #link_set .link_m label.linkbtn1{background-image:url(chrome-extension://__MSG_@@extension_id__/images/parts/linkmarker/linkmarker_1.png);} - #link_set .link_m label.linkbtn2{background-image:url(chrome-extension://__MSG_@@extension_id__/images/parts/linkmarker/linkmarker_2.png);} - #link_set .link_m label.linkbtn3{background-image:url(chrome-extension://__MSG_@@extension_id__/images/parts/linkmarker/linkmarker_3.png);} - #link_set .link_m label.linkbtn4{background-image:url(chrome-extension://__MSG_@@extension_id__/images/parts/linkmarker/linkmarker_4.png);} - #link_set .link_m label.linkbtn6{background-image:url(chrome-extension://__MSG_@@extension_id__/images/parts/linkmarker/linkmarker_6.png);} - #link_set .link_m label.linkbtn7{background-image:url(chrome-extension://__MSG_@@extension_id__/images/parts/linkmarker/linkmarker_7.png);} - #link_set .link_m label.linkbtn8{background-image:url(chrome-extension://__MSG_@@extension_id__/images/parts/linkmarker/linkmarker_8.png);} - #link_set .link_m label.linkbtn9{background-image:url(chrome-extension://__MSG_@@extension_id__/images/parts/linkmarker/linkmarker_9.png);} - #link_set .link_m label:hover{ - background-position: center; - opacity: .5; - } +#link_set .link_m label.linkbtn1 { + background-image: url(chrome-extension://__MSG_@@extension_id__/images/parts/linkmarker/linkmarker_1.png); +} + +#link_set .link_m label.linkbtn2 { + background-image: url(chrome-extension://__MSG_@@extension_id__/images/parts/linkmarker/linkmarker_2.png); +} - #link_set .link_m input[type="checkbox"]:checked + label{background-position: bottom;} +#link_set .link_m label.linkbtn3 { + background-image: url(chrome-extension://__MSG_@@extension_id__/images/parts/linkmarker/linkmarker_3.png); +} + +#link_set .link_m label.linkbtn4 { + background-image: url(chrome-extension://__MSG_@@extension_id__/images/parts/linkmarker/linkmarker_4.png); +} -#choice_card_area{ +#link_set .link_m label.linkbtn6 { + background-image: url(chrome-extension://__MSG_@@extension_id__/images/parts/linkmarker/linkmarker_6.png); +} + +#link_set .link_m label.linkbtn7 { + background-image: url(chrome-extension://__MSG_@@extension_id__/images/parts/linkmarker/linkmarker_7.png); +} + +#link_set .link_m label.linkbtn8 { + background-image: url(chrome-extension://__MSG_@@extension_id__/images/parts/linkmarker/linkmarker_8.png); +} + +#link_set .link_m label.linkbtn9 { + background-image: url(chrome-extension://__MSG_@@extension_id__/images/parts/linkmarker/linkmarker_9.png); +} + +#link_set .link_m label:hover { + background-position: center; + opacity: .5; +} + +#link_set .link_m input[type="checkbox"]:checked+label { + background-position: bottom; +} + +#choice_card_area { background-color: #467491; display: flex; } -#choice_card_area >*{ + +#choice_card_area>* { flex: 1; color: #fff; text-align: center; } -#choice_card_area .text{ + +#choice_card_area .text { flex: 20 } \ No newline at end of file diff --git a/src/css/content_script.css b/src/css/content_script.css index 60d36dc..015069c 100644 --- a/src/css/content_script.css +++ b/src/css/content_script.css @@ -1,5 +1,6 @@ /* tablink */ -.tablink_deckSupport li.now, .tablink_deckSupport li:active { +.tablink_deckSupport li.now, +.tablink_deckSupport li:active { border-bottom-color: #ffba00; } @@ -73,25 +74,27 @@ display: block; border: 3px solid transparent; top: 0; -}*//*#2ef706;*/ +}*/ +/*#2ef706;*/ -.deck_image .image_set span.forbidden >div>span { +.deck_image .image_set span.forbidden>div>span { background-image: url(chrome-extension://__MSG_@@extension_id__/images/parts/svg/icon_forb_unlim.svg); background-color: #dc0000; + background-size: 50%; } -.deck_image .image_set span.limited >div span { +.deck_image .image_set span.limited>div span { background-image: url(chrome-extension://__MSG_@@extension_id__/images/parts/svg/icon_limit_unlim.svg); background-color: #fb8c32; } -.deck_image .image_set span.semi_limited >div>span { +.deck_image .image_set span.semi_limited>div>span { background-image: url(chrome-extension://__MSG_@@extension_id__/images/parts/svg/icon_slim_unlim.svg); background-color: #fbb830; } -.deck_image .image_set span >div span { +.deck_image .image_set span>div span { display: block; width: 100%; height: min(2vw, 20px); @@ -103,7 +106,7 @@ } #deck_header a.button_keyword_delete { - background-image: url(chrome-extension://__MSG_@@extension_id__/images/parts/keyword_delete.png); + /* background-image: url(chrome-extension://__MSG_@@extension_id__/images/parts/keyword_delete.png); */ background-size: auto 100%; background-repeat: no-repeat; border: solid 1px transparent; @@ -112,4 +115,45 @@ #deck_header dl dd select[multiple]>option[selected] { font-weight: bold; background-color: chartreuse; +} + +.hex.square:before, +.hex.square:after, +#deck_image .hex.square:before, +#deck_image .hex.square:after { + width: 0px; + margin: 2px; + filter: none; +} + + +/* #search .filter_set > div .title { + font-size: 10px; + color: rgb(255, 255, 255); + background-color: rgb(70, 116, 145); + display: flex; + flex-wrap: wrap; + justify-content: space-between; + align-items: flex-start; + min-width: 120px; + flex: 1 1 0%; + padding: 3px; +} */ + +/* #info_area div.info_article.none { + display:none; +} */ + +/* div#bg { + background: url(chrome-extension://__MSG_@@extension_id__/images/parts/hexagon_02.png); #fff +} */ + +#bottom_btn_set a.square.button { + margin: 2px 2px; + filter: "none"; +} + +#and_or>span>label>span, +#and_or2 label>span { + font-size: 0.9rem; } \ No newline at end of file diff --git a/src/images/parts/linkmarker/linkmarker_1.png b/src/images/parts/linkmarker/linkmarker_1.png index e0c5d88..f40fcd5 100644 Binary files a/src/images/parts/linkmarker/linkmarker_1.png and b/src/images/parts/linkmarker/linkmarker_1.png differ diff --git a/src/images/parts/linkmarker/linkmarker_2.png b/src/images/parts/linkmarker/linkmarker_2.png index 828aacf..492bcc7 100644 Binary files a/src/images/parts/linkmarker/linkmarker_2.png and b/src/images/parts/linkmarker/linkmarker_2.png differ diff --git a/src/images/parts/linkmarker/linkmarker_3.png b/src/images/parts/linkmarker/linkmarker_3.png index f0a84e8..6fcfc05 100644 Binary files a/src/images/parts/linkmarker/linkmarker_3.png and b/src/images/parts/linkmarker/linkmarker_3.png differ diff --git a/src/images/parts/linkmarker/linkmarker_4.png b/src/images/parts/linkmarker/linkmarker_4.png index 089b97f..42b3bcd 100644 Binary files a/src/images/parts/linkmarker/linkmarker_4.png and b/src/images/parts/linkmarker/linkmarker_4.png differ diff --git a/src/images/parts/linkmarker/linkmarker_6.png b/src/images/parts/linkmarker/linkmarker_6.png index 149a571..a2ab6b1 100644 Binary files a/src/images/parts/linkmarker/linkmarker_6.png and b/src/images/parts/linkmarker/linkmarker_6.png differ diff --git a/src/images/parts/linkmarker/linkmarker_7.png b/src/images/parts/linkmarker/linkmarker_7.png index 46bea39..1087da6 100644 Binary files a/src/images/parts/linkmarker/linkmarker_7.png and b/src/images/parts/linkmarker/linkmarker_7.png differ diff --git a/src/images/parts/linkmarker/linkmarker_8.png b/src/images/parts/linkmarker/linkmarker_8.png index e0aac3e..2c1c8c3 100644 Binary files a/src/images/parts/linkmarker/linkmarker_8.png and b/src/images/parts/linkmarker/linkmarker_8.png differ diff --git a/src/images/parts/linkmarker/linkmarker_9.png b/src/images/parts/linkmarker/linkmarker_9.png index eddfc88..b0f52bd 100644 Binary files a/src/images/parts/linkmarker/linkmarker_9.png and b/src/images/parts/linkmarker/linkmarker_9.png differ diff --git a/src/images/svg/add_FILL0_wght400_GRAD0_opsz24.svg b/src/images/svg/add_FILL0_wght400_GRAD0_opsz24.svg new file mode 100644 index 0000000..cfe9b7f --- /dev/null +++ b/src/images/svg/add_FILL0_wght400_GRAD0_opsz24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/images/svg/arrow_back_FILL0_wght400_GRAD0_opsz24.svg b/src/images/svg/arrow_back_FILL0_wght400_GRAD0_opsz24.svg new file mode 100644 index 0000000..cba0c8b --- /dev/null +++ b/src/images/svg/arrow_back_FILL0_wght400_GRAD0_opsz24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/images/svg/arrow_back_FILL0_wght400_GRAD0_opsz24.svg:Zone.Identifier b/src/images/svg/arrow_back_FILL0_wght400_GRAD0_opsz24.svg:Zone.Identifier new file mode 100644 index 0000000..053d112 --- /dev/null +++ b/src/images/svg/arrow_back_FILL0_wght400_GRAD0_opsz24.svg:Zone.Identifier @@ -0,0 +1,3 @@ +[ZoneTransfer] +ZoneId=3 +HostUrl=about:internet diff --git a/src/images/svg/backspace_FILL0_wght400_GRAD0_opsz24.svg b/src/images/svg/backspace_FILL0_wght400_GRAD0_opsz24.svg new file mode 100644 index 0000000..efdcc47 --- /dev/null +++ b/src/images/svg/backspace_FILL0_wght400_GRAD0_opsz24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/images/svg/backspace_FILL0_wght400_GRAD0_opsz24.svg:Zone.Identifier b/src/images/svg/backspace_FILL0_wght400_GRAD0_opsz24.svg:Zone.Identifier new file mode 100644 index 0000000..053d112 --- /dev/null +++ b/src/images/svg/backspace_FILL0_wght400_GRAD0_opsz24.svg:Zone.Identifier @@ -0,0 +1,3 @@ +[ZoneTransfer] +ZoneId=3 +HostUrl=about:internet diff --git a/src/images/svg/content_copy_FILL0_wght400_GRAD0_opsz24.svg b/src/images/svg/content_copy_FILL0_wght400_GRAD0_opsz24.svg new file mode 100644 index 0000000..d875c84 --- /dev/null +++ b/src/images/svg/content_copy_FILL0_wght400_GRAD0_opsz24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/images/svg/content_copy_FILL0_wght400_GRAD0_opsz24.svg:Zone.Identifier b/src/images/svg/content_copy_FILL0_wght400_GRAD0_opsz24.svg:Zone.Identifier new file mode 100644 index 0000000..053d112 --- /dev/null +++ b/src/images/svg/content_copy_FILL0_wght400_GRAD0_opsz24.svg:Zone.Identifier @@ -0,0 +1,3 @@ +[ZoneTransfer] +ZoneId=3 +HostUrl=about:internet diff --git a/src/images/svg/delete_FILL0_wght400_GRAD0_opsz24.svg b/src/images/svg/delete_FILL0_wght400_GRAD0_opsz24.svg new file mode 100644 index 0000000..d353990 --- /dev/null +++ b/src/images/svg/delete_FILL0_wght400_GRAD0_opsz24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/images/svg/download_FILL0_wght400_GRAD0_opsz24.svg b/src/images/svg/download_FILL0_wght400_GRAD0_opsz24.svg new file mode 100644 index 0000000..19f2721 --- /dev/null +++ b/src/images/svg/download_FILL0_wght400_GRAD0_opsz24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/images/svg/edit_square_FILL0_wght400_GRAD0_opsz24.svg b/src/images/svg/edit_square_FILL0_wght400_GRAD0_opsz24.svg new file mode 100644 index 0000000..dccfaa9 --- /dev/null +++ b/src/images/svg/edit_square_FILL0_wght400_GRAD0_opsz24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/images/svg/edit_square_FILL0_wght400_GRAD0_opsz24.svg:Zone.Identifier b/src/images/svg/edit_square_FILL0_wght400_GRAD0_opsz24.svg:Zone.Identifier new file mode 100644 index 0000000..053d112 --- /dev/null +++ b/src/images/svg/edit_square_FILL0_wght400_GRAD0_opsz24.svg:Zone.Identifier @@ -0,0 +1,3 @@ +[ZoneTransfer] +ZoneId=3 +HostUrl=about:internet diff --git a/src/images/svg/refresh_FILL0_wght400_GRAD0_opsz24.svg b/src/images/svg/refresh_FILL0_wght400_GRAD0_opsz24.svg new file mode 100644 index 0000000..a7a6bc8 --- /dev/null +++ b/src/images/svg/refresh_FILL0_wght400_GRAD0_opsz24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/images/svg/save_FILL0_wght400_GRAD0_opsz24.svg b/src/images/svg/save_FILL0_wght400_GRAD0_opsz24.svg new file mode 100644 index 0000000..1dbf137 --- /dev/null +++ b/src/images/svg/save_FILL0_wght400_GRAD0_opsz24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/images/svg/shuffle_FILL0_wght400_GRAD0_opsz24.svg b/src/images/svg/shuffle_FILL0_wght400_GRAD0_opsz24.svg new file mode 100644 index 0000000..4a31179 --- /dev/null +++ b/src/images/svg/shuffle_FILL0_wght400_GRAD0_opsz24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/images/svg/sort_FILL0_wght400_GRAD0_opsz24.svg b/src/images/svg/sort_FILL0_wght400_GRAD0_opsz24.svg new file mode 100644 index 0000000..005c7dd --- /dev/null +++ b/src/images/svg/sort_FILL0_wght400_GRAD0_opsz24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/images/svg/upload_FILL0_wght400_GRAD0_opsz24.svg b/src/images/svg/upload_FILL0_wght400_GRAD0_opsz24.svg new file mode 100644 index 0000000..8250557 --- /dev/null +++ b/src/images/svg/upload_FILL0_wght400_GRAD0_opsz24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/manifest.json b/src/manifest.json index f477f59..91af5b0 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,26 +1,52 @@ { "name": "遊戯王DBデッキサポート", - "author":"TomoTomo", + "author": "TomoTomo", "version": "1.3.0.0", "manifest_version": 3, - "icons":{ - "16":"images/icon-16.png", - "48":"images/icon-48.png", - "128":"images/icon-128.png" + "icons": { + "16": "images/icon-16.png", + "48": "images/icon-48.png", + "128": "images/icon-128.png" }, - "content_scripts": [{ - "matches": ["https://www.db.yugioh-card.com/yugiohdb/*"], - "js": ["js/jquery-3.6.0.min.js", "js/async.min.js", "script/main_functions.js", "script/content_script.js", "script/db_functions.js", "script/card_search_script.js"], - "css":["css/content_script.css", "css/card_search.css"] - }], - "web_accessible_resources": [{ - "matches":["https://www.db.yugioh-card.com/*"], - "resources":["images/*"] - }], - "permissions":["storage", "unlimitedStorage"], + "content_scripts": [ + { + "matches": [ + "https://www.db.yugioh-card.com/yugiohdb/*" + ], + "js": [ + "js/jquery-3.6.0.min.js", + "js/async.min.js", + "script/main_functions.js", + "script/content_script.js", + "script/db_functions.js", + "script/card_search_script.js", + "script/listen.js" + ], + "css": [ + "css/content_script.css", + "css/card_search.css", + "css/card_details.css", + "css/Faq_details.css" + ] + } + ], + "web_accessible_resources": [ + { + "matches": [ + "https://www.db.yugioh-card.com/*" + ], + "resources": [ + "images/*" + ] + } + ], + "permissions": [ + "storage", + "unlimitedStorage" + ], "options_ui": { "page": "script/options.html", "open_in_tab": true }, "description": "公式カードデータベースのデッキ画面にMouseUIモードやExport / Import / Sort / Shuffleボタンを追加します。" -} +} \ No newline at end of file diff --git a/src/script/card_search_script.js b/src/script/card_search_script.js index 432c9a8..d538746 100644 --- a/src/script/card_search_script.js +++ b/src/script/card_search_script.js @@ -26,15 +26,17 @@ const obtainDeckRecipie = async () => { const dno_tmp = $("#keyword").val().match(/#(\d+)$/); if (dno_tmp.length < 2) return null; const dno = dno_tmp[1]; - const deck_body = _obtainDeckRecipie(my_cgid, dno, lang, "1"); - const deck_text = (await deck_body).text; + const deck_body = await _nojqObtainDeckRecipie(my_cgid, dno, lang, "1"); + const deck_text = deck_body.text; + console.log(deck_text); + // const rowResults = await obtainRowResults(null, null, deck_text); const card_list = $("