Files
OMS/app/desktop/statics/css/framework.css
2026-01-04 19:08:31 +08:00

603 lines
16 KiB
CSS

/**
* Copyright 2012-2026 ShopeX (https://www.shopex.cn)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@charset "UTF-8";
.desktop-sprite, .inputstyle, .x-input { background: url(images/sprite.png) no-repeat; }
html { color: #000; background: #FFF; }
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td { margin: 0; padding: 0; }
table { border-collapse: separate; border-spacing: 0; }
fieldset, img, iframe { border: 0 none; }
iframe { display: block; }
address, caption, cite, code, dfn, em, i, strong, th, var { font-style: normal; font-weight: normal; }
li { list-style: none; }
caption, th { text-align: left; }
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; }
q:before, q:after { content: ''; }
abbr, acronym { border: 0; font-variant: normal; }
sup { vertical-align: text-top; }
sub { vertical-align: text-bottom; }
input, textarea, select { font-family: inherit; font-size: inherit; font-weight: inherit; }
input, textarea, select { *font-size: 100%; }
legend { color: #000; }
body { line-height: 1.5; }
/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { font-weight: normal; }
/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
/* Remove annoying border on linked images. */
a img { border: none; }
/* Default font settings. The font-size percentage is of 16px. (0.75 * 16px = 12px) */
body { font-size: 75%; color: #222; background: #fff; font-family: "Helvetica Neue", Helvetica, Tahoma, Arial, sans-serif; }
/* Headings*/
h1, h2, h3, h4, h5, h6 { color: #222; font-weight: bold; }
h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 2em; margin-bottom: 0.75em; }
h3 { font-size: 1.5em; line-height: 1; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }
/* Text elements*/
p { margin: 0 0 1.5em; }
p img.left { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }
a, .lnk { text-decoration: none; outline: 0; cursor: pointer; }
a:focus, a:hover, .lnk:focus, .lnk:hover { text-decoration: underline; }
blockquote { margin: 1.5em; color: #666; font-style: italic; }
sup, sub { line-height: 0; }
abbr, acronym { border-bottom: 1px dotted #666; }
address { margin: 0 0 1.5em; font-style: italic; }
pre, code { margin: 1.5em 0; white-space: pre; }
pre, code, tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }
sub, sup { color: #f90; padding: 0 3px; }
textarea { font-size: 1em; }
/* 字体的排版*/
.t-r { text-align: right !important; }
.t-l { text-align: left !important; }
.t-c { text-align: center !important; }
/* 字体的大小颜色*/
.font9px, .f-9 { font-size: 9px; }
.font10px, .f-10 { font-size: 10px; }
.font11px, .f-11 { font-size: 11px; }
.font12px, .f-12 { font-size: 12px; }
.font14px, .f-14 { font-size: 14px; }
.font16px, .f-16 { font-size: 16px; }
.font18px, .f-18 { font-size: 18px; }
.font20px, .f-20 { font-size: 20px; }
.price1 { font-size: 16px; color: #FF6600; font-weight: bold; }
.mktprice1 { font-size: 11px; color: #999; text-decoration: line-through; }
.saveprice1 { font-size: 11px; color: #f90; }
/* 字体的颜色*/
.font-red, .c-red, .red { color: #ff1600; }
.fontcolorGreen, .c-green { color: #618605; }
.font-orange, .c-orange { color: #f60; }
.fontcolorBlack, .c-black { color: #000; }
.font-gray, .c-gray { color: #7b7b7b; }
.font-blue, .c-blue { color: #369; }
.c-disabled { color: #8b8b8b; }
/* 字体综合*/
.amount { font: 700 16px Verdana, Geneva, sans-serif; color: #ff1600; }
.price0 { font: 700 16px Verdana, Geneva, sans-serif; color: #f60; }
/* 元素背景色*/
.ColColorRed, .b-red { background: #fbeeef; }
.ColColorGray, .b-gray { background: #efefef; }
.ColColorGraydark, .b-dark { background: #efefef; }
.ColColorGreen, .b-green { background: #eefbee; }
.ColColorBlue, .b-blue { background: #eef4fb; }
.ColColorOrange, .b-orange { background: #FBF7EE; }
.ColColorWhite, .b-white { background: #fff; }
/* 表单样式*/
.inputstyle, .x-input { border: 1px solid #ccc; padding: 3px 5px; background-position: 0 0; background-color: white; font-size: 12px; }
/* Lists*/
ul { list-style-type: disc; }
ol { list-style-type: decimal; }
dl { margin: 0 0 1.5em 0; }
dl dt { font-weight: bold; }
dd { margin-left: 1.5em; }
/* Tables*/
table { width: 100%; border-collapse: collapse; }
caption { background: #eee; }
tr.current td { background: #36c; color: #fff; }
tr.selected td, div.selected { background: #FFFFCC; }
/* Misc classes*/
.small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide { display: none; }
.highlight { background-color: #fefc2c; }
.added { background: #060; color: #fff; }
.removed { background: #900; color: #fff; }
.first { border: none; margin-left: 0; }
.fl, .flt { float: left; }
.fr, .frt { float: right; }
.fno { float: none; }
.m10 { margin: 10px; }
.m5 { margin: 5px; }
/* Columns*/
/* Sets up basic grid floating and margin. */
.col, .span-auto, .span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-10, .span-11, .span-12, .span-13, .span-14, .span-15, .span-16, .span-17, .span-18, .span-19, .span-20, .span-21, .span-22, .span-23, .span-24 { float: left; margin-right: 10px; overflow: hidden; }
/*定位属性*/
.vm { vertical-align: middle; }
.vt { vertical-align: top; }
.vb { vertical-align: bottom; }
.pr { position: relative; }
.pa { position: absolute; }
.db { display: block; }
.zoom { zoom: 1; }
/* The last column in a row needs this class. */
div.last { margin-right: 0; border: none; }
/* Use these classes to set the width of a column. */
.span-1 { width: 30px; }
.span-2 { width: 70px; }
.span-3 { width: 110px; }
.span-4 { width: 150px; }
.span-5 { width: 190px; }
.span-6 { width: 230px; }
.span-7 { width: 270px; }
.span-8 { width: 310px; }
.span-9 { width: 350px; }
.span-10 { width: 390px; }
.span-11 { width: 430px; }
.span-12 { width: 470px; }
.span-13 { width: 510px; }
.span-14 { width: 550px; }
.span-15 { width: 590px; }
.span-16 { width: 630px; }
.span-17 { width: 670px; }
.span-18 { width: 710px; }
.span-19 { width: 750px; }
.span-20 { width: 790px; }
.span-21 { width: 830px; }
.span-22 { width: 870px; }
.span-23 { width: 910px; }
.span-24 { width: 950px; margin-right: 0; }
.opt { display: block; padding: 3px 0; text-align: center; }
/* Add these to a column to append empty cols. */
.append-1 { padding-right: 40px; }
.append-2 { padding-right: 80px; }
.append-3 { padding-right: 120px; }
.append-4 { padding-right: 160px; }
.append-5 { padding-right: 200px; }
.append-6 { padding-right: 240px; }
.append-7 { padding-right: 280px; }
.append-8 { padding-right: 320px; }
.append-9 { padding-right: 360px; }
.append-10 { padding-right: 400px; }
.append-11 { padding-right: 440px; }
.append-12 { padding-right: 480px; }
.append-13 { padding-right: 520px; }
.append-14 { padding-right: 560px; }
.append-15 { padding-right: 600px; }
.append-16 { padding-right: 640px; }
.append-17 { padding-right: 680px; }
.append-18 { padding-right: 720px; }
.append-19 { padding-right: 760px; }
.append-20 { padding-right: 800px; }
.append-21 { padding-right: 840px; }
.append-22 { padding-right: 880px; }
.append-23 { padding-right: 920px; }
/* Add these to a column to prepend empty cols. */
.prepend-1 { padding-left: 40px; }
.prepend-2 { padding-left: 80px; }
.prepend-3 { padding-left: 120px; }
.prepend-4 { padding-left: 160px; }
.prepend-5 { padding-left: 200px; }
.prepend-6 { padding-left: 240px; }
.prepend-7 { padding-left: 280px; }
.prepend-8 { padding-left: 320px; }
.prepend-9 { padding-left: 360px; }
.prepend-10 { padding-left: 400px; }
.prepend-11 { padding-left: 440px; }
.prepend-12 { padding-left: 480px; }
.prepend-13 { padding-left: 520px; }
.prepend-14 { padding-left: 560px; }
.prepend-15 { padding-left: 600px; }
.prepend-16 { padding-left: 640px; }
.prepend-17 { padding-left: 680px; }
.prepend-18 { padding-left: 720px; }
.prepend-19 { padding-left: 760px; }
.prepend-20 { padding-left: 800px; }
.prepend-21 { padding-left: 840px; }
.prepend-22 { padding-left: 880px; }
.prepend-23 { padding-left: 920px; }
/* Border on right hand side of a column. */
.border { padding-right: 4px; margin-right: 5px; border-right: 1px solid #eee; }
/* Border with more whitespace, spans one column. */
.colborder { padding-right: 24px; margin-right: 25px; border-right: 1px solid #eee; }
/* Use these classes on an element to push it into the
next column, or to pull it into the previous column. */
.pull-1 { margin-left: -40px; }
.pull-2 { margin-left: -80px; }
.pull-3 { margin-left: -120px; }
.pull-4 { margin-left: -160px; }
.pull-5 { margin-left: -200px; }
.pull-6 { margin-left: -240px; }
.pull-7 { margin-left: -280px; }
.pull-8 { margin-left: -320px; }
.pull-9 { margin-left: -360px; }
.pull-10 { margin-left: -400px; }
.pull-11 { margin-left: -440px; }
.pull-12 { margin-left: -480px; }
.pull-13 { margin-left: -520px; }
.pull-14 { margin-left: -560px; }
.pull-15 { margin-left: -600px; }
.pull-16 { margin-left: -640px; }
.pull-17 { margin-left: -680px; }
.pull-18 { margin-left: -720px; }
.pull-19 { margin-left: -760px; }
.pull-20 { margin-left: -800px; }
.pull-21 { margin-left: -840px; }
.pull-22 { margin-left: -880px; }
.pull-23 { margin-left: -920px; }
.pull-24 { margin-left: -960px; }
.pull-1, .pull-2, .pull-3, .pull-4, .pull-5, .pull-6, .pull-7, .pull-8, .pull-9, .pull-10, .pull-11, .pull-12, .pull-13, .pull-14, .pull-15, .pull-16, .pull-17, .pull-18, .pull-19, .pull-20, .pull-21, .pull-22, .pull-23, .pull-24 { float: left; position: relative; }
.push-1 { margin: 0 -40px 1.5em 40px; }
.push-2 { margin: 0 -80px 1.5em 80px; }
.push-3 { margin: 0 -120px 1.5em 120px; }
.push-4 { margin: 0 -160px 1.5em 160px; }
.push-5 { margin: 0 -200px 1.5em 200px; }
.push-6 { margin: 0 -240px 1.5em 240px; }
.push-7 { margin: 0 -280px 1.5em 280px; }
.push-8 { margin: 0 -320px 1.5em 320px; }
.push-9 { margin: 0 -360px 1.5em 360px; }
.push-10 { margin: 0 -400px 1.5em 400px; }
.push-11 { margin: 0 -440px 1.5em 440px; }
.push-12 { margin: 0 -480px 1.5em 480px; }
.push-13 { margin: 0 -520px 1.5em 520px; }
.push-14 { margin: 0 -560px 1.5em 560px; }
.push-15 { margin: 0 -600px 1.5em 600px; }
.push-16 { margin: 0 -640px 1.5em 640px; }
.push-17 { margin: 0 -680px 1.5em 680px; }
.push-18 { margin: 0 -720px 1.5em 720px; }
.push-19 { margin: 0 -760px 1.5em 760px; }
.push-20 { margin: 0 -800px 1.5em 800px; }
.push-21 { margin: 0 -840px 1.5em 840px; }
.push-22 { margin: 0 -880px 1.5em 880px; }
.push-23 { margin: 0 -920px 1.5em 920px; }
.push-24 { margin: 0 -960px 1.5em 960px; }
.push-1, .push-2, .push-3, .push-4, .push-5, .push-6, .push-7, .push-8, .push-9, .push-10, .push-11, .push-12, .push-13, .push-14, .push-15, .push-16, .push-17, .push-18, .push-19, .push-20, .push-21, .push-22, .push-23, .push-24 { float: right; position: relative; }
/* Misc classes and elements*/
/* In case you need to add a gutter above/below an element */
.prepend-top { margin-top: 1.5em; }
.append-bottom { margin-bottom: 1.5em; }
/* Use this to create a horizontal ruler across a column. */
hr { background: #ddd; color: #ddd; clear: both; float: none; width: 100%; height: .1em; margin: 0 0 1.45em; border: none; }
/* Clearing floats without extra markup Based on How To Clear Floats Without Structural Markup by PiE [http://www.positioniseverything.net/easyclearing.html] */
.clearfix:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; overflow: hidden; }
* html .clearfix { zoom: 1; }
* + html .clearfix { zoom: 1; }
.clearfix { display: block; }
/* Regular clearing apply to column that should drop below previous ones. */
.clear { clear: both; }
.hide { display: none!important; }
/* Success, notice and error boxes*/
.error, .notice, .note, .success { padding: .3em .7em; margin-bottom: 1em; border: 1px solid #ddd; font-size: 1em; }
.error { background-color: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; }
.notice { background-color: #FFF9CF; color: #514721; border-color: #FFD324; }
.success { background-color: #EDFFCF; color: #264409; border-color: #C6D880; }
.note { background-color: #efefef; color: #666; border-color: #ccc; }
.note-info { text-align: center; padding: .3em .8em; margin: 40px 15px; background-color: #efefef; color: #666; border-color: #ccc; }
.error a { color: #8a1f11; }
.notice a { color: #514721; }
.success a { color: #264409; }
.note a { color: #000; }
.success .imgbundle, .error .imgbundle, .notice .imgbundle, .note .imgbundle { margin: -2px 2px 0 0; vertical-align: middle; }
.notice-inline { background-repeat: no-repeat; padding-left: 5px; color: #666; margin-left: 10px; }
.notice-inline.error { background-image: url(images/stop.gif); background-position: 2px 2px; padding-left: 20px; }
.notice-inline-icon { background: url(images/notice_inline.gif) no-repeat 0 0; padding-left: 15px; color: #666; margin-left: 5px; font-weight: normal; font-size: 12px; }
.error-icon { background: #fbe3e4 url(images/notice_inline.gif) no-repeat; padding-left: 60px; padding-top: 15px; color: #333; }
.error-icon h2 { font-size: 1.1em; margin: 0 0 0.3em; color: #8a1f11; }
.error-icon p { margin: 0 0 0.3em; }
.error-icon ul { padding: 0.5em 1em; }
.t2t { color: #000; font-family: Arial, sans-serif; background: #fff; font-size: 1.2em; }
.t2t h1 { padding: 20px 0; }
.t2t h1, .t2t h2, .t2t h3, .t2t h4, .t2t h5 { text-shadow: 1px 1px 1px #aaa; }
.t2t pre { padding: 10px; border: 1px solid #ccc; background: #f0f0f0; white-space: pre; }
.t2t pre, .t2t code { font-family: 'Andale Mono', 'Lucida Console', Monaco, fixed, monospace; font-size: 11px; }
.t2t code { color: #009; }
.t2t table { border: 1px solid #666; }
.t2t th { font-weight: bold; background: #ccc; }
/*webkit核心浏览器下滚动条样式*/
::-webkit-scrollbar { width: 13px; height: 13px; }
::-webkit-scrollbar-corner { background: #fff; }
::-webkit-scrollbar-button:start:decrement, ::-webkit-scrollbar-button:end:increment { display: block; }
::-webkit-scrollbar-button:vertical:increment, ::-webkit-scrollbar-button:vertical:decrement, ::-webkit-scrollbar-button:horizontal:increment, ::-webkit-scrollbar-button:horizontal:decrement { background: url(images/scroll-arrow.gif) no-repeat; }
::-webkit-scrollbar-button:vertical:increment { background-position: 3px 5px; }
::-webkit-scrollbar-button:vertical:decrement { background-position: 2px -70px; }
::-webkit-scrollbar-button:horizontal:increment { background-position: 5px -21px; }
::-webkit-scrollbar-button:horizontal:decrement { background-position: 5px -46px; }
::-webkit-scrollbar-thumb { background: -webkit-gradient(linear, 50% center, 100% center, from(#dee2ec), to(#b6c0d5)); -webkit-box-shadow: 0 0 1px #ccc; -webkit-border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: -webkit-gradient(linear, 40% center, 100% center, from(#dee2ec), to(#b6c0d5)); }
::-webkit-scrollbar-thumb:horizontal { background: -webkit-gradient(linear, center 40%, center 100%, from(#dee2ec), to(#b6c0d5)); -webkit-box-shadow: 0 0 1px #ccc; -webkit-border-radius: 8px; }
::-webkit-scrollbar-thumb:horizontal:hover { background: -webkit-gradient(linear, center 50%, center 100%, from(#dee2ec), to(#b6c0d5)); }
::-webkit-scrollbar-track-piece { background-color: #EBEFF4; -webkit-border-radius: 8px; }