css

来源:互联网 发布:石油钻井英语翻译软件 编辑:程序博客网 时间:2024/05/17 22:00
<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8">    <title>词库管理</title>    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />    <link rel="stylesheet" href="res/css/lexicon.css"><script type="text/javascript" src="res/js/jquery.js"></script></head><body class="wordDetailBoxBg"><div class="wordDetailBox"><div class="wordDetailTop"><div class="wordDetailTit"><div class="wordDetailName">heart</div><div class="wordDetailCollect"></div></div><div class="soundmark clearfix"><span class="soundmark_txt">[ha:t 美 ha:rt]</span><span class="sound"></span></div><div class="explain">n.心,心脏;内心;中心;勇气</div></div><div class="downloadBlock"><a href="">下载离线词典</a><a href="javascript:void(0);" class="all_open">折叠</a></div><div class="border_bg"></div><div class="explainHide"><div class="dictionariesName"><div class="name">英汉名委词典</div><div class="open"></div></div><div class="wordDetailBlock"><div class="txt_cont"><p>[英汉组织学名词]</p><p>心[脏]</p><p>[英汉人体解剖学名词]</p><p>心</p><p>[英汉动物学名词]</p><p>心[脏]</p></div><div class="dictionarySource">来源于:英汉名委词典</div></div></div><div class="border_bg"></div><div class="explainHide"><div class="dictionariesName"><div class="name">英文同义词典</div><div class="open"></div></div><div class="wordDetailBlock"><div class=""><p>centre; core; soul; bosom; breast</p></div></div></div><div class="border_bg"></div><div class="explainHide"><div class="dictionariesName"><div class="name">英文详解词典</div><div class="open"></div></div><div class="wordDetailBlock"><div class=""><p>n.</p><p>1. 心脏,心</p><p>My <span class="green">heart</span> beats fast(slow).</p><p>我的心跳得快(慢)。</p><p>4. 心形物;(纸牌)红桃;</p><p>the Queen of <span class="green">hearts</span></p><p>红桃Q</p><p><span class="green">Hearts</span> are trumps.</p><p>红桃是将牌。</p></div></div></div><div class="border_bg"></div><div class="explainHide"><div class="dictionariesName"><div class="name">网络释义</div><div class="open"></div></div><div class="wordDetailBlock"><div class=""><p>n.</p><p>1. 心脏,心</p><p>My <span class="green">heart</span> beats fast(slow).</p><p>我的心跳得快(慢)。</p><p>4. 心形物;(纸牌)红桃;</p><p>the Queen of <span class="green">hearts</span></p><p>红桃Q</p><p><span class="green">Hearts</span> are trumps.</p><p>红桃是将牌。</p></div></div></div><div class="border_bg"></div><div class="explainHide"><div class="dictionariesName"><div class="name">SCI双语例句</div><div class="open"></div></div><div class="wordDetailBlock"><div class="pbtm10"><p>A heart-shaped heart.</p><p>一个心形的心。</p></div><div class="pbtm10"><p>Auscultate the heart.</p><p>听诊心脏。</p></div><div class="pbtm10"><p>Right heart failure.</p><p>右心衰</p></div><div class="moreBlock" style="border-bottom:medium none;"><input type="button" class="btnMore" value="查看更多" /></div></div></div><div class="border_bg"></div><div class="explainHide"><div class="dictionariesName"><div class="name">医学单语例句</div><div class="open"></div></div></div></div><script>$(document).ready(function () {//收藏$('.wordDetailCollect').click(function () {$(this).toggleClass("wordDetailCollectSele");            });//$('.dictionariesName').click(function () {$(this).next().slideToggle();$(this).find(".open").toggleClass("close");            });//折叠/展开$('.all_open').click(function(){if($(this).hasClass("showSign")){   //折叠$(this).html("折叠");$(this).removeClass("showSign");$('.wordDetailBlock').slideDown();$('.open').removeClass("close");} else {//展开$(this).html("展开");$(this).addClass("showSign");$('.wordDetailBlock').slideUp();$('.open').addClass("close");}});        });</script></body></html>
------css
@charset "utf-8";/* CSS Document */body{ font:12px/24px "Microsoft YaHei","微软雅黑"; color:#666; background-color:#fff; word-wrap:break-word; -webkit-overflow-scrolling:touch;}*{ margin:0; padding:0; -webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-overflow-scrolling: touch; text-align: justify;}ul,ol,li{ list-style:none outside;}a{ color:#333; text-decoration:none;}a:hover{ text-decoration:none;}.left{ float:left;}.right{ float:right;}.center{ text-align:center;}.tx_l{ text-align:left;}.tx_r{ text-align:right;}.tx_2{ text-indent:2em;}.bold{ font-weight:bold;}img{ border:medium none; vertical-align:middle;width: 100%;}textarea{ resize:none; vertical-align:middle;}input,button,select,textarea{ -webkit-appearance:none; border:medium none; background:none; outline:none; font:1em/normal "Microsoft YaHei","微软雅黑";}input[type="button"] { cursor: pointer;}.clearfix:after { content: "."; display: block; height: 0; font-size:0; clear: both; visibility: hidden;}.cover {  position:fixed; left:0; top:0; width:100%; height:100%; background-color:#000; opacity:0.5; filter:alpha(opacity=50); z-index: 100;}/*大词典-单词详情页*/.wordDetailBoxBg { background-color: #f1f4f6;}.wordDetailBox {}.wordDetailBox .wordDetailTop { background-color: #fff; padding: 15px 4%; font-size: 15px; line-height: 25px; color: #323a40; border-bottom: 1px solid #dcdddf;}.wordDetailBox .searchBox { width: 100%; display: -webkit-box;}.wordDetailBox .searchLeft { background-color: #fff; -webkit-box-flex: 1; height: 27px; border-radius: 14px; margin: 6px 0;}.wordDetailBox .searchRight { width: 50px; text-align: right;}.wordDetailBox .searchBtn { font-size: 14px; line-height: 27px; padding: 6px 0; color: #fff;}.wordDetailBox .searchCont { display: block; display: -webkit-box;}.wordDetailBox .searchIcon { background: url("../images/search.png") no-repeat center center; -webkit-background-size: 16px 15px; width: 40px; height: 27px; display: block;}.wordDetailBox .searchTxt { font-size: 14px; line-height: 27px; color: #323a40; width: 94%; padding-right: 6%; -webkit-box-flex: 1; margin: 0; height: 27px; display: block;}.wordDetailBox .wordDetailBlock { background-color: #fff; padding: 15px 4%; font-size: 15px; line-height: 25px; color: #323a40; border-bottom: 1px solid #dcdddf;}.wordDetailBox .wordDetailTit { display: -webkit-box; width: 100%;}.wordDetailBox .wordDetailName { -webkit-box-flex: 1; width: 100%; font-size: 18px;}.wordDetailBox .wordDetailCollect { background: url("../images/star.png") no-repeat center right; width: 30px; height: 24px; -webkit-background-size: 19px 18px; margin-left: 10px;}.wordDetailBox .wordDetailCollectSele { background-image: url("../images/star2.png"); -webkit-background-size: 19px 18px;}.wordDetailBox .soundmark { color: #989da1;}.wordDetailBox .soundmark_txt { display: inline-block; margin-right: 10px; float: left;}.wordDetailBox .sound { background: url("../images/sound.png") no-repeat center center; width: 20px; height: 25px; -webkit-background-size: 15px 18px; display: inline-block; float: left;}.wordDetailBox .explain { padding-top: 5px;}.wordDetailBox .downloadBlock { display: -webkit-box; width: 100%; background-color: #fff;border-bottom: 1px solid #dcdddf;}.wordDetailBox .downloadBlock a { display: block; -webkit-box-flex: 1; width: 100%; text-align: center; font-size: 16px; line-height: 45px; color: #12c45a; border-right: 1px solid #dcdddf;}.wordDetailBox .downloadBlock a:nth-child(2) { border-right: medium none;}.wordDetailBox .border_bg { background-color: #f0f3f6; height: 8px; width: 100%;}.dictionariesName { background-color: #fff; padding: 0 4%; font-size: 16px; line-height: 45px; color: #989da1; display: -webkit-box; width: 92%; border-bottom: 1px solid #dbdddf;}.dictionariesName .name { width: 100%; -webkit-box-flex: 1; margin: 0;}.open { background: url("../images/up.png") no-repeat right center; -webkit-background-size: 12px 6px; width: 40px; height: 45px; text-align: right;}.close { background-image: url("../images/down.png");}.openPic { width: 12px; -webkit-transition: -webkit-transform 1s ease-out;    -moz-transition: -moz-transform 1s ease-out;    -o-transition: -o-transform 1s ease-out;    -ms-transition: -ms-transform 1s ease-out;}.green { color: #12c45a;}.pbtm10 { padding-bottom: 10px;}.pbtm10:last-child { padding-bottom: 0px;}.moreBlock { text-align: center; background-color: #fff; border-bottom: 1px solid #dbdddf;}.btnMore { font-size: 16px; line-height: 45px; color: #12c45a; width: 100%; text-align: center;}.explainHide .wordDetailBlock { display: block;}.explainHide .explainShow { display: block;}.signIcon {-webkit-transform:rotate(-180deg);}.signBlock {}.dictionarySource {font-size: 12px; line-height: 20px; text-align: right; color: #999;}

原创粉丝点击