From 07e802281480d7ee063eb7c742c8f6c0bde77f43 Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期四, 06 六月 2024 14:35:19 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/sportsAndHealth/css/default.less | 246 ++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 193 insertions(+), 53 deletions(-) diff --git a/src/books/sportsAndHealth/css/default.less b/src/books/sportsAndHealth/css/default.less index 1a9ac8e..a5e8a3a 100644 --- a/src/books/sportsAndHealth/css/default.less +++ b/src/books/sportsAndHealth/css/default.less @@ -93,10 +93,102 @@ } } + .pdf-tips-con { + display: flex; + flex-direction: column; + justify-content: flex-start; + align-items: flex-start; + // b898c7 + + .pdf-wall { + display: flex; + flex-direction: column; + justify-content: flex-start; + align-items: flex-start; + margin-left: 30px; + + .pdf-item { + display: flex; + justify-content: flex-start; + align-items: center; + border: 2px dashed #b898c7; + margin: 10px; + padding: 2px 10px; + border-radius: 5px; + box-sizing: border-box; + + span { + font-size: 14px; + text-align: center; + font-family: 'FZLTXIHJW'; + display: flex; + align-items: center; + justify-content: flex-start; + + svg { + fill: #b898c7; + } + } + + span:nth-child(2) { + padding-top: 5px; + box-sizing: border-box; + } + + span:hover { + color: #b898c7; + cursor: pointer; + text-decoration: underline; + -webkit-user-select: none; + /* Safari 3.1+ */ + -moz-user-select: none; + /* Firefox 2+ */ + -ms-user-select: none; + /* IE 10+ */ + user-select: none; + /* 鏍囧噯璇硶 */ + } + } + } + } + .leftTable { table { tr td { text-align: left !important; + } + } + } + + .parentVideo { + width: 100%; + display: flex; + justify-content: flex-start; + flex-wrap: wrap; + + .videoItem { + width: 200px; + margin: 3px 4px; + border: 1px dotted #30aad1; + + video { + width: 100%; + } + + video::-webkit-media-text-track-display { + /* 杩欓噷鍙互娣诲姞鑷畾涔夌殑鏍峰紡浠g爜 */ + color: red; + /* 鏂囧瓧棰滆壊 */ + background-color: yellow; + /* 鑳屾櫙棰滆壊 */ + } + + span { + display: flex; + justify-content: center; + font-size: 14px; + text-align: center; + font-family: 'FZLTXIHJW'; } } } @@ -261,11 +353,13 @@ min-width: 100px; display: flex; justify-content: center; + align-items: center; position: absolute; top: -20px; left: 10px; background-color: #d6dbee; - padding: 5px; + border: 0.15em dotted #d6dbee; + padding: 2px 8px 3px 2px; box-sizing: border-box; color: #5877ba; font-family: "FZLTXIHJW"; @@ -277,8 +371,8 @@ width: 25px; height: 25px; border-radius: 5px; - background-color: #007aff; - border: 1px solid #007aff; + background-color: #b898c7; + border: 1px solid #b898c7; display: flex; justify-content: center; align-items: center; @@ -339,44 +433,54 @@ .pdf-text { display: flex; + flex-direction: column; justify-content: space-between; - align-items: center; + align-items: flex-start; + margin-bottom: 20px; p { + margin: 0; margin-right: 10px; } .pdf-con { display: flex; - flex-direction: column; justify-content: flex-start; - align-items: flex-start; - border: 2px dotted #5d78bb; + align-items: center; padding: 10px 0; box-sizing: border-box; border-radius: 10px; - margin-left: 10px; - margin-top: -50px; .pdf-view { + min-width: 160px; display: flex; - flex-direction: column; justify-content: center; align-items: center; - - img { - width: 80px; - } + border: 0.15em dashed #b898c7; + margin-right: 15px; + padding: 0 15px; + border-radius: 5px; span { - min-width: 150px; font-size: 14px; text-align: center; font-family: 'FZLTXIHJW'; + display: flex; + align-items: center; + justify-content: flex-start; + + svg { + fill: #b898c7; + } + } + + span:nth-child(2) { + padding-top: 5px; + box-sizing: border-box; } span:hover { - color: #5877ba; + color: #b898c7; cursor: pointer; text-decoration: underline; -webkit-user-select: none; @@ -390,43 +494,9 @@ } } } - } - .pdf-wall { - display: flex; - justify-content: flex-start; - align-items: center; - padding-left: 40px; - - .pdf-item { - display: flex; - flex-direction: column; - justify-content: flex-start; - align-items: center; - img { - width: 80px; - } - - span { - min-width: 150px; - font-size: 14px; - text-align: center; - font-family: 'FZLTXIHJW'; - } - - span:hover { - color: #5877ba; - cursor: pointer; - text-decoration: underline; - -webkit-user-select: none; - /* Safari 3.1+ */ - -moz-user-select: none; - /* Firefox 2+ */ - -ms-user-select: none; - /* IE 10+ */ - user-select: none; - /* 鏍囧噯璇硶 */ - } + .pdf-con-15 { + margin-top: -20px; } } @@ -1333,7 +1403,7 @@ div.bk-xyx { background-color: #f9f7fc; - border: 0.15em dotted #95b2dc; + border: 0.15em dotted #b898c7; padding: 0.5em 1.2em; margin-bottom: 2em; margin-top: 0.5em; @@ -1513,6 +1583,76 @@ font-weight: bold; } } + + @media screen and (max-width: 800px) { + .chapter { + .pdf-tips-con { + width: 100%; + min-width: 200px; + display: flex; + flex-direction: column; + justify-content: flex-start; + align-items: flex-start; + padding: 20px 0; + + .pdf-wall { + max-width: 180px; + position: relative; + left: 30px; + top: 25px; + border: 2px dotted #5d78bb; + display: flex; + flex-direction: column; + justify-content: flex-start; + align-items: flex-start; + border: 2px dotted #5d78bb; + padding: 10px; + box-sizing: border-box; + border-radius: 10px; + + .pdf-item { + display: flex; + flex-direction: column; + justify-content: flex-start; + align-items: center; + + img { + width: 80px; + } + + span { + min-width: 150px; + font-size: 14px; + text-align: center; + font-family: 'FZLTXIHJW'; + line-height: 20px; + } + + span:hover { + color: #5877ba; + cursor: pointer; + text-decoration: underline; + -webkit-user-select: none; + /* Safari 3.1+ */ + -moz-user-select: none; + /* Firefox 2+ */ + -ms-user-select: none; + /* IE 10+ */ + user-select: none; + /* 鏍囧噯璇硶 */ + } + } + } + } + + .parentVideo { + width: 100%; + display: flex; + justify-content: center; + flex-wrap: wrap; + } + } + } } body { -- Gitblit v1.9.1