frame.css 2.88 KB
/*公用框架的样式*/
* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    outline: none;
    font: 14px "微软雅黑";
}

html,
body {
    height: 100%;
    width: 100%;
    border: 0;
}

body {
    background: url(../images/body_bg.png) no-repeat fixed right bottom;
    background-color: #f3f5f6;
}

.clear {
    clear: both;
    width: 0;
    height: 0;
}

/*-------使用Table做为布局--------*/
table.settingsContainer {
    border: 0;
    border-collapse: collapse;
    position: relative;
}

table.settingsContainer tr td {
    height: 28px;
    padding-top: 1px;
    padding-bottom: 1px;
}

.tdTitle {
    text-align: right;
    padding-right: 10px;
}

.tdContent {
    text-align: left;
    padding-left: 10px;
}

.settingParameter {
    width: 150px;
    border: 1px solid gray;
    height: 21px;
    line-height: 21px;
}
.settingParameter.timePicker,
.Wdate.timePicker {
    background: url(../images/timePicker.png) no-repeat 101% -1px;
}

select.settingParameter {
    height: 23px;
    width: 152px;
    line-height: 23px;
}

.fileInput {
    width: 250px;
}
.fake_input {
    border: 1px solid gray;
    width: 250px;
}
input[type="file"]::-ms-browse {
    border: 1px solid gray;
    cursor: pointer;
}
input[type="file"]::-ms-value {
    border: 1px solid gray;
}
select::-ms-expand {
    border: 0;
}

/*修正checkbox与后面元素对不齐*/
.checkboxAlign {
    vertical-align: -1px;
    margin-right: 5px;
}

/*通用的保存按钮样式*/
a.settingBtn {
    display: block;
    height: 23px;
    line-height: 23px;
    width: 98px;
    border: 0;
    background: url(../images/btn_bg.png) no-repeat 0 0;
    margin-right: 0;
    text-align: center;
    cursor: pointer;
    color: black;
    outline: none;
}

a.settingBtn:link,
a.settingBtn:visited,
a.settingBtn:hover {
    color: black;
}

a.settingBtn:active {
    background-position: 0 -23px;
}

/*保存失败的输入框错误样式*/
.save-failed {
    border-color: red;
}

/*------------自定义(Tabs)标签页样式-----------*/
.tab_header {
    padding: 8px 5px;
}

.tab_header .tab_title {
    float: left;
    display: block;
    width: 88px;
    height: 28px;
    margin-left: 1px;
    background-color: black;
    color: white;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
}

.tab_header .tab_title.selected {
    background-color: #bd0000;
}
.tableTitle {
    text-align: center;
    font-weight: bold;
}

.tab_content {
    padding: 0 5px;
    /*height: 500px;*/
    width: 900px;
}

.tab_content .content_group {
    background-color: #dcdfe2;
    margin-bottom: 20px;
    padding-left: 20px;
    padding-bottom: 10px;
}

/*验证的Css样式*/
input.error {
    border-color: red;
    background-color: #efb0a7;
}
.error {
    color: red;
    margin-left: 5px;
}

label.disabled {
    color: gray;
    /*background-color: #F0F0F0;*/
}

.needRebootHint {
    color: #bd0000;
}