@charset "UTF-8"; /* * @file: 全局样式 * @update: 2015-05-29 09:08:18 */ /* === 全局变量配置 === */ /* @import "tool/_function"; */ /* @import "tool/_helper"; */ /* * @name: inline-block * @param: $alignment {string} 对齐类型 * @param: $support-for-ie {boolean} 是否支持IE6 */ /* @name: 闭合浮动 */ /* @name: 上下左右居中 (未知高度) * @ps: 需要设置父元素 display:table */ /* @name: 上下左右居中 (确定高度)*/ /* * @name: 浮动 * @param: $side {string} 浮动方向 * @param: $support-for-ie {boolean} 是否支持IE6 */ /* * @name: 文本隐藏 (text-indent: -9999px;有性能问题) * @param: $support-for-ie {boolean} 是否支持IE6 */ /* * @name: 隐藏增加可访问性的文字,注意与hide-text的区别是,他隐藏整个元素 * @param: $support-for-ie {boolean} 是否支持IE6 */ /* * @name: 图片代替文字 * @param: $support-for-ie {boolean} 是否支持IE6 */ /* * @name: 文字溢出显示省略号 * @param: $width {dimension} 指定宽度 (需带单位) */ /* * @name: 强制不换行 * @link: http://www.hicss.net/solve-change-line-in-css */ /* @name: 连续字符换行 */ /* @name: 阻止长字符串(例如url或无意义连续英文字符)打破布局 */ /* * @name: resizable * @param: $direction {string} 缩放的方向 (horizontal || vertical || both) * @link: https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/mixins/_resize.scss * @1: Per CSS3 UI, `resize` only applies when `overflow` isn't `visible` */ /* * @name: 最小高度 * @param: $height {dimension} 最小高度 */ /* * @name: 透明度 * @param: $opacity {number} 透明度 * @param: $support-for-ie {boolean} 是否支持IE6 */ /* * @name: 背景透明 * @param: $color {color} 颜色 * @param: $opacity {number} 透明度 * @param: $support-for-ie {boolean} 是否支持IE6 * @link: https://github.com/airen/Sass_mixins_function/tree/master/mixins */ /* * @name: 液态比例缩放 * @param: $large-size {dimension} 背景图片大尺寸 * @param: $small-size {dimension} 背景图片小尺寸 * @link: http://voormedia.com/blog/2012/11/responsive-background-images-with-fixed-or-fluid-aspect-ratios */ /* * @name: border三角形 * @param: $base {dimension} 底边尺寸 * @param: $height {dimension} 高度 * @param: $color {color} 颜色 * @param: $direction {string} 方向 (top || bottom || left || right) * @link: http://codepen.io/zhouwenbin/pen/emZVZp */ /* @名称: reset @功能: 重设浏览器默认样式 */ /* 防止用户自定义背景颜色对网页的影响,添加让用户可以自定义字体 */ html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } /* 内外边距通常让各个浏览器样式的表现位置不同 */ body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { margin: 0; padding: 0; } /* 重设 HTML5 标签, IE 需要在 js 中 createElement(TAG) */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } /* HTML5 媒体文件跟 img 保持一致 */ audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; } /* 要注意表单元素并不继承父级 font 的问题 */ body, button, input, select, textarea { font: 12px/1.5 tahoma, arial, \5b8b\4f53; } input, select, textarea { font-size: 100%; } /* 去掉各Table cell 的边距并让其边重合 */ table { border-collapse: collapse; border-spacing: 0; } /* IE bug fixed: th 不继承 text-align*/ th { text-align: inherit; } /* 去除默认边框 */ fieldset, img { border: 0; } /* ie6 7 8(q) bug 显示为行内表现 */ iframe { display: block; } /* 去掉 firefox 下此元素的边框 */ abbr, acronym { border: 0; font-variant: normal; } /* 一致的 del 样式 */ del { text-decoration: line-through; } address, caption, cite, code, dfn, em, th, var { font-style: normal; font-weight: 500; } /* 去掉列表前的标识, li 会继承 */ ol, ul { list-style: none; } /* 对齐是排版最重要的因素, 别让什么都居中 */ caption, th { text-align: left; } /* 来自yahoo, 让标题都自定义, 适应多个系统应用 */ h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: 500; } q:before, q:after { content: ''; } /* 统一上标和下标 */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } /****/ a:link, a:visited { text-decoration: none; } /* 让链接在 hover 状态下显示下划线 */ a:hover { text-decoration: underline; } a { outline: none; } /* 默认不显示下划线,保持页面简洁 */ ins, a { text-decoration: none; } em, i { font-style: normal; } /* 清理浮动 */ .clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } .clearfix { zoom: 1; /* for IE6 IE7 */ } /* 隐藏, 通常用来与 JS 配合 */ body .fn_hide { display: none; } /* 视觉隐藏,但在布局中占位*/ .fn_invisible { visibility: hidden; } /* 设置内联, 减少浮动带来的bug */ .fl, .fr { display: inline; } .fl { float: left; } .fr { float: right; } .center { text-align: center; } body { font: 12px/1.5 "Microsoft YaHei", Tahoma, Arial, "Helvetica Neue", Helvetica, sans-serif; color: #333; background-color: #fff; } a { text-decoration: none; color: #333; } a:hover { text-decoration: underline; color: #f40; } body span, .tree-summary { font-family: Microsoft Yahei; } .tallent__head { width: 498px; height: 30px; position: relative; cursor: default; } .tallent__list { width: 498px; height: 278px; position: relative; margin: 0 auto; } /* --- Panel ---------------------------------------------------------------- */ #exportLink { font-size: 18px; margin-right: 0px; color: #000; } .left { position: absolute; left: 0; top: 0; } .center { text-align: center; margin: 0 auto 15px; } .right { position: absolute; right: 0; top: 0; } button { cursor: default; width: 130px; padding: 3px; font-size: 16px; color: #fff; margin: 0; border: 1px outset #3467A7; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; background-color: #0F325B; } button:hover { background: -moz-linear-gradient(top, #5679a5 1%, #143964 50%, #0e2848 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #5679a5), color-stop(50%, #143964), color-stop(100%, #0e2848)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #5679a5 1%, #143964 50%, #0e2848 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #5679a5 1%, #143964 50%, #0e2848 100%); /* Opera 11.10+ */ /* IE10+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #5679a5), color-stop(50%, #143964), to(#0e2848)); background: linear-gradient(top, #5679a5 1%, #143964 50%, #0e2848 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5679a5', endColorstr='#0e2848',GradientType=0 ); /* IE6-9 */ } button, button:active { background: -moz-linear-gradient(top, #3467a7 0%, #143964 50%, #0e2848 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3467a7), color-stop(50%, #143964), color-stop(100%, #0e2848)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #3467a7 0%, #143964 50%, #0e2848 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #3467a7 0%, #143964 50%, #0e2848 100%); /* Opera 11.10+ */ /* IE10+ */ background: -webkit-gradient(linear, left top, left bottom, from(#3467a7), color-stop(50%, #143964), to(#0e2848)); background: linear-gradient(top, #3467a7 0%, #143964 50%, #0e2848 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3467a7', endColorstr='#0e2848',GradientType=0 ); /* IE6-9 */ } button:active { border-style: inset; } .tree-summaries { height: 30px; position: relative; width: 100%; margin-bottom: 4px; } .tree-summary { height: 30px; line-height: 30px; padding-left: 7px; text-align: left; position: absolute; color: #fff; font-size: 12px; } #tree-summaries .Ferocity { background-position: 0px 0px; } #tree-summaries .Cunning { background-position: 0px -43px; } #tree-summaries .Resolve { background-position: 0px -86px; } /* --- Calculator ----------------------------------------------------------- */ .tree-label { color: #fefefe; position: absolute; font-weight: bolder; font-size: 15px; letter-spacing: 1px; } .button { width: 28px; height: 28px; position: absolute; cursor: default; background: url(../img/talent/button-icons.jpg) no-repeat -9999px -9999px; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; z-index: 1; } .button.unavailable { border-color: #999; cursor: default; -webkit-animation: animation_unavailable 1s; /* Chrome, Safari, Opera */ } .button.available { border-color: #00ff00; -webkit-animation: animation_available 1s; /* Chrome, Safari, Opera */ } .button.full { border-color: #d4b654; -webkit-animation: animation_full 1s; /* Chrome, Safari, Opera */ } /* Chrome, Safari, Opera */ @-webkit-keyframes animation_available { 25% { border-color: #fff; } 100% { border-color: #00ff00; } } /* Standard syntax */ @-moz-keyframes animation_available { 25% { border-color: #fff; } 100% { border-color: #00ff00; } } @-o-keyframes animation_available { 25% { border-color: #fff; } 100% { border-color: #00ff00; } } @keyframes animation_available { 25% { border-color: #fff; } 100% { border-color: #00ff00; } } /* Chrome, Safari, Opera */ @-webkit-keyframes animation_unavailable { 25% { opacity: 0.8; } 100% { opacity: 1.0; } } /* Standard syntax */ @-moz-keyframes animation_unavailable { 0% { border-color: #00ff00; } 25% { opacity: 0.8; border-color: #999; } 100% { opacity: 1.0; } } @-o-keyframes animation_unavailable { 0% { border-color: #00ff00; } 25% { opacity: 0.8; border-color: #999; } 100% { opacity: 1.0; } } @keyframes animation_unavailable { 0% { border-color: #00ff00; } 25% { opacity: 0.8; border-color: #999; } 100% { opacity: 1.0; } } /* Chrome, Safari, Opera */ @-webkit-keyframes animation_full { 25% { border-color: #fff; } 100% { border-color: #d4b654; } } /* Standard syntax */ @-moz-keyframes animation_full { 25% { border-color: #aa8822; } 100% { border-color: #d4b654; } } @-o-keyframes animation_full { 25% { border-color: #aa8822; } 100% { border-color: #d4b654; } } @keyframes animation_full { 25% { border-color: #aa8822; } 100% { border-color: #d4b654; } } .j-tooltip { display: none; color: #fefefe; width: 180px; padding: 5px; background: #000; position: absolute; z-index: 100; border: 2px solid #323635; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } .j-tooltip strong { font-size: 13px; font-weight: bolder; } .j-tooltip p { margin-bottom: 0px; } .j-tooltip .highlight { color: #fecb00; } .j-tooltip .req { color: #ff0000; } .j-tooltip.custom { width: auto; } .j-tooltip.custom p { margin-top: 0px; } .counter { position: absolute; right: -10px; bottom: -4px; background-color: #000; border: 1px solid #0060a0; -webkit-border-radius: 1px; -moz-border-radius: 1px; border-radius: 1px; font-size: 10px; height: 14px; line-height: 14px; padding: 0px 4px; } .counter-unavailable { border: 1px solid #999; color: #999; } .counter-available { border: 1px solid #0060a0; color: #0080a0; } .counter-full { border: 1px solid #d4b654; color: #d4b654; } .num-unavailable { color: #999; } .num-available { color: #00ff00; } .num-full { color: #d4b654; } .buttonFrame { width: 38px; height: 38px; position: absolute; left: -6px; top: -5px; background: url(../img/talent/frames.png); } .j-tooltip .Ferocity { color: #b83200; } .j-tooltip .Cunning { color: #b853ee; } .j-tooltip .Resolve { color: #46a3ee; } #volume { width: 100px; height: 13px; margin-top: 5px; margin-left: auto; margin-right: auto; cursor: pointer; } .show { display: block !important; } .main { text-align: center; position: relative; } .talent__head { height: 28px; overflow: hidden; margin-bottom: 22px; } .talent__head h1 { line-height: 28px; color: #333333; } .talent__head span { float: right; font-size: 14px; } .talent__head em { color: #d72d00; } .tallent__con { width: 498px; height: 278px; background-image: url(../img/talent/tallent-bg.jpg); } .tallent__foot { font-size: 0; padding-top: 12px; position: relative; } .M_wrap { position: relative; width: 548px; margin: 0 auto; background: #FFF; border-top: none; } .M_wrap .ico { display: inline-block; line-height: 19px; margin-right: 20px; vertical-align: middle; overflow: hidden; } .M_wrap .ico i { margin-right: 5px; } .M_wrap .ico i, .M_wrap .ico em { display: inline-block; vertical-align: middle; background-repeat: no-repeat; background-color: transparent; } .M_wrap .ico .ico_1 { width: 17px; height: 17px; background-image: url(../img/talent/slice/ico_1.png); color: #b82e2e; } .M_wrap .ico .ico_2 { width: 19px; height: 17px; background-image: url(../img/talent/slice/ico_2.png); color: #107cd7; } .M_wrap .ico .ico_3 { width: 19px; height: 19px; background-image: url(../img/talent/slice/ico_3.png); color: #129031; } .M_wrap .btn { display: inline-block; width: 95px; height: 29px; line-height: 29px; color: #FFF; font-size: 12px; text-decoration: none; text-align: center; background-repeat: no-repeat; overflow: hidden; cursor: pointer; } .M_wrap .btn.btn_apply { background-image: url(../img/talent/slice/btn_apply.png); margin-bottom: 4px; } .M_wrap .btn.btn_apply:hover { background-image: url(../img/talent/slice/btn_apply_h.png); } .M_wrap .btn.btn_check { background-image: url(../img/talent/slice/btn_check.png); } .M_wrap .btn.btn_check:hover { background-image: url(../img/talent/slice/btn_check_h.png); } .M_wrap .btn .arrow { display: inline-block; width: 9px; height: 5px; margin-left: 6px; vertical-align: middle; background-repeat: none; background-image: url(../img/talent/slice/i_arrow_d.png); } .M_wrap .close { position: absolute; right: 0; top: 0; width: 29px; height: 29px; background: url(../img/talent/close.png) no-repeat; cursor: pointer; zoom: 1; } .M_wrap .close:hover { background-image: url(../img/talent/close_h.png); } .M_wrap .wrap_bg { height: 400px; overflow: hidden; position: relative; text-align: left; } .M_wrap .title { font-size: 14px; font-weight: bold; color: #bca16b; margin-left: 15px; } .M_wrap #talentList { height: 390px; } .M_wrap .talentList { width: 516px; padding: 0 15px; margin-top: 10px; outline: none; } .M_wrap .talentItem { position: relative; z-index: 1000; margin-bottom: 10px; width: 498px; background: #F1F1F1; border: 1px solid #F1F1F1; } .M_wrap .talentItem:hover, .M_wrap .talentItem.active { border-color: #ECF3F9; background: #ECF3F9; } .M_wrap .talentItem .itemCont { padding: 16px; } .M_wrap .talentItem .name { color: #666; font-size: 14px; font-weight: bold; } .M_wrap .talentItem .medalList { margin-top: 10px; } .M_wrap .talentItem .optPanel { position: absolute; top: 10px; right: 15px; width: 98px; } .M_wrap .talentItem .spreadArea { display: none; border-top: 1px solid #2e6880; } .M_wrap .active { z-index: 1001; } .M_wrap .active .arrow { background-image: url(../img/talent/slice/i_arrow_up.png); } .M_layer_tips { display: none; position: absolute; top: 150px; left: 50%; z-index: 10001; width: 150px; margin: 0 0 0 -75px; text-align: center; background: #000; opacity: 0.6; filter: alpha(opacity=60); font-size: 14px; color: #ccc; padding: 24px 0; } .M_layer_tips .ico_success { display: inline-block; width: 16px; height: 16px; background-repeat: no-repeat; background-image: url(../img/talent/slice/ico_success.png); overflow: hidden; vertical-align: middle; margin-right: 5px; } .nicescroll-rails-vr { background: #04151c !important; } .nicescroll-cursors { background: #254a63 !important; border-color: #254a63 !important; } .tips { display: none; font-size: 14px; color: #333; text-align: center; padding-top: 15px; } .tips a { text-decoration: underline; color: #C00; margin-left: 4px; }