/* ============================================================================
   批次54 QQ 临时会话提示卡样式（卡片由 static/portal/js/qq-tip.js 生成）

   为什么单开一个文件而不是写进 portal.css：我的商务室（office.css）刻意不加载
   portal.css，也刻意不设 box-sizing（参考稿 td 宽度是 content-box 口径，见 office.css
   文件头）。卡片要在这两边长得一样，就只能自带一份声明式作用域盒——
   下面第一行为卡片子树自己钉住 border-box，300px 就是含边含衬的外框宽，
   两边不必各自换算，也不会像批次32 那样每搬一个定宽框都要重扣一次 padding。

   配色沿用站内既有口径：标题 #024cb5、按钮 #4385f5、边框 #b1d3ec。
   引入点：frag/common.html 的 pageHead（所有服务端页，含静态化产物与企业商铺皮肤）
           + chemmade-portal-ui 六个 SPA 入口 HTML。与 qq-tip.js 一一对应，不能只引一半。
   ==========================================================================*/
.qq-tip, .qq-tip * { box-sizing: border-box; }

.qq-tip {
    position: absolute;
    z-index: 1200;
    width: 300px;
    background: #fff;
    border: 1px solid #b1d3ec;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    font-size: 13px;
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: left;
}

.qq-tip-head {
    height: 32px;
    padding: 0 10px;
    background: #eef5ff;
    border-bottom: 1px solid #b1d3ec;
    color: #024cb5;
    font-weight: bold;
    line-height: 32px;
}

.qq-tip-x {
    float: right;
    width: 16px;
    height: 16px;
    margin-top: 8px;
    color: #888;
    font-weight: normal;
    line-height: 14px;
    text-align: center;
    cursor: pointer;
}

.qq-tip-x:hover { color: #ff0000; }

.qq-tip-text {
    padding: 10px;
    color: #333;
    line-height: 20px;
}

.qq-tip-row { padding: 0 10px 10px; }

.qq-tip-btn {
    display: inline-block;
    height: 28px;
    padding: 0 14px;
    background: #4385f5;
    border: 0;
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    line-height: 28px;
    cursor: pointer;
}

.qq-tip-btn:hover { background: #024cb5; }

.qq-tip-state {
    display: inline-block;
    margin-left: 10px;
    color: #999;
    vertical-align: top;
    line-height: 28px;
}

.qq-tip-state.ok { color: #00a000; }

.qq-tip-state.bad { color: #ff0000; }
