123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674 |
- /*可以在这里添加你自己的css */
- @import url("../../css/fonts/iconfont.css" );
- .table-form{
- table-layout: fixed;
- }
- /*无边框样式*/
- .table-form>caption{
- /* height: 40px;*/
- line-height: 40px;
- font-weight: bold;
- font-size: 20px;
- border: 1px dashed #d9d9d9 !important;
- border-bottom: 0 !important;
- color: #555;
- }
- /*子表*/
- .table-form>tbody>tr>td
- {
- min-height: 30px;
- line-height: 30px;
- border: 1px dashed #d9d9d9 !important;
- }
- .table-form[borders="yesborder"]>tbody>tr>td,
- .table-form[borders="yesborder"]>caption{
- border-style: solid !important;
- }
- .table-form.two-column > tbody > tr > td:nth-child(odd){
- width:20%;
- text-align: right;
- }
- .table-form.two-column > tbody> tr > td:nth-child(even) {
- width:80%;
- text-align: left;
- }
- .table-form[column='two']>tbody > tr > td:first-child{
- width:20%!important;
- }
- .table-form[column='two']>tbody > tr > td:last-child{
- width:80%!important;
- }
- .table-form.four-column > tbody> tr > td:nth-child(odd){
- width:15%;
- text-align: center;
- text-align: right;
- }
- .table-form.four-column > tbody> tr > td:nth-child(even) {
- width:35%;
- text-align: left;
- padding: 10px;
- }
- .table-form[column='four'] > tbody> tr > td:nth-child(odd){
- width:15%;
- text-align: center;
- text-align: right;
- }
- .table-form[column='four'] > tbody> tr > td:nth-child(even) {
- width:35%;
- text-align: left;
- padding: 10px;
- }
- .table-form>tbody>tr>td:last-child:first-child{
- text-align: left;
- width: 100%!important;
- }
- table.rx-table {
- border: 1px solid #F0F0F0;
- width: 100% !important;
- }
- .active{
- outline: none;
- border:1px dashed #409EFF!important;
- }
- .active>caption,
- .active > tbody> tr > td{
- border-color: #409EFF!important;
- }
- /*form颜色-双列*/
- /*白色*/
- .table-form.white > tbody> tr > td:nth-last-child(2):first-child,
- .table-form.white > tbody> tr > td:nth-last-child(4):first-child,
- .table-form.white > tbody> tr > td:nth-last-child(2):nth-child(3),
- .table-form.white caption{
- background: transparent;
- }
- /*蓝色*/
- .table-form.blue > tbody> tr > td:nth-last-child(2):first-child,
- .table-form.blue > tbody> tr > td:nth-last-child(4):first-child,
- .table-form.blue > tbody> tr > td:nth-last-child(2):nth-child(3),
- .table-form.blue caption{
- background: #e3f1ff;
- }
- /*绿色*/
- .table-form.green > tbody> tr > td:nth-last-child(2):first-child,
- .table-form.green > tbody> tr > td:nth-last-child(4):first-child,
- .table-form.green > tbody> tr > td:nth-last-child(2):nth-child(3),
- .table-form.green caption{
- background: #defaea;
- }
- /*灰色*/
- .table-form.grey > tbody> tr > td:nth-last-child(2):first-child,
- .table-form.grey > tbody> tr > td:nth-last-child(4):first-child,
- .table-form.grey > tbody> tr > td:nth-last-child(2):nth-child(3),
- .table-form.grey caption{
- background: #ebeef5;
- }
- /*td文字位置*/
- /*左*/
- .table-form td[align="left"]{
- text-align: left!important;
- }
- /*中*/
- .table-form td[align="center"]{
- text-align: center!important;
- }
- /*右*/
- .table-form td[align="right"]{
- text-align: right!important;
- }
- /*上*/
- .table-form td[valign="top"]{
- vertical-align: top!important;
- }
- /*中*/
- .table-form td[valign="middle"]{
- vertical-align: middle!important;
- }
- /*下*/
- .table-form td[valign="bottom"]{
- vertical-align: bottom!important;
- }
- .rx-textbox{
- height: 32px;
- border: 1px solid #d9d9d9;
- cursor: pointer;
- width: 80%;
- border-radius: 4px;
- vertical-align: middle;
- outline: none;
- padding: 0!important;
- display: inline-block;
- }
- .rx-upload{
- height: 32px;
- width: 80%;
- display: inline-block;
- cursor: pointer;
- border: 1px dashed #d9d9d9;
- border-radius: 4px;
- vertical-align: middle;
- background: url(/form/static/img/controller/fujian.png) #f8f8f8 no-repeat center center;
- }
- .rx-textarea{
- display: inline-block;
- cursor:pointer;
- border: 1px solid #d9d9d9;
- border-radius: 4px;
- height: 60px;
- vertical-align: middle;
- width: 80%;
- }
- .rx-checkbox{
- cursor: pointer;
- vertical-align: middle;
- }
- .rx-checkbox:before{
- content: "";
- background: url("/form/static/img/controller/checkbox.png") 0px 0px no-repeat;
- display: inline-block;
- width: 20px;
- height: 25px;
- margin-top: 5px;
- margin-left: 5px;
- vertical-align: middle;
- }
- .rx-form-select {
- background: url(/form/static/img/controller/select.png) no-repeat 4px center , url(/form/static/img/controller/downArrow.jpg) no-repeat right center;
- height: 32px;
- border: 1px solid #d9d9d9;
- cursor: pointer;
- width: 80%;
- border-radius: 4px;
- vertical-align: middle;
- outline: none;
- padding: 0!important;
- display: inline-block;
- }
- .rx-checkbox-list {
- width: 222px;
- display: inline-block;
- background: url(/form/static/img/controller/radio-check-pic.png) 1px -18px no-repeat;
- border: none;
- outline: none;
- border: 1px solid transparent;
- padding: 0!important;
- height: 26px;
- vertical-align: middle;/*上下居中*/
- }
- .rx-switch {
- width: 60px;
- display: inline-block;
- background: url(/form/static/img/controller/switch.png) no-repeat;
- border: none;
- outline: none;
- border: 1px solid transparent;
- padding: 0!important;
- height: 21px;
- border:2px dashed transparent;
- vertical-align: middle;
- }
- .rx-chinese{
- min-width: 100px;
- display: inline-block;
- border: none;
- outline: none;
- border: 1px solid transparent;
- padding: 0!important;
- height: 32px;
- vertical-align: middle;
- box-sizing: border-box;
- font-size: 0;
- text-align: left;
- padding-left: 6px;
- }
- .rx-chinese:before{
- content: "中文大写";
- display: inline-block;
- height: 100%;
- vertical-align: middle;
- font-size: 14px;
- }
- .rx-number{
- height: 32px;
- display: inline-block;
- cursor: pointer;
- width: 80%;
- border: 1px solid #d9d9d9;
- border-radius: 4px;
- vertical-align: middle;
- }
- .rx-radio {
- background: url(/form/static/img/controller/radio-check-pic.png) 2px 4px no-repeat;
- display: inline-block;
- outline: none;
- padding: 0!important;
- width: 150px;
- height: 24px;
- margin-left: 4px;
- vertical-align: middle;
- box-sizing: border-box;
- }
- .rx-date {
- background: url(/form/static/img/controller/date.png) 4px center no-repeat ,url(/form/static/img/controller/icondate.png) no-repeat right center;
- border: 1px solid #d9d9d9;
- border-radius: 4px;
- outline: none;
- width: 80%;
- height: 32px;
- display: inline-block;
- vertical-align: middle;
- }
- .rx-month {
- background: url(/form/static/img/controller/month.png) 4px center no-repeat ,url(/form/static/img/controller/icondate.png) no-repeat right center;
- border: 1px solid #d9d9d9;
- border-radius: 4px;
- outline: none;
- width: 80%;
- vertical-align: middle;
- height: 32px;
- display: inline-block;
- }
- .rx-week {
- background: url(/form/static/img/controller/week.png) 4px center no-repeat ,url(/form/static/img/controller/icondate.png) no-repeat right center;
- outline: none;
- width: 80%;
- height: 32px;
- cursor: pointer;
- border: 1px solid #d9d9d9;
- border-radius: 4px;
- display: inline-block;
- vertical-align: middle;
- }
- .rx-date-range {
- background: url(/form/static/img/controller/datestart.png) 4px center no-repeat ,url(/form/static/img/controller/icondate.png) no-repeat right center;
- outline: none;
- width: 220px;
- height: 32px;
- cursor: pointer;
- border: 1px solid #d9d9d9;
- border-radius: 4px;
- display: inline-block;
- vertical-align: middle;
- }
- /*边框容器*/
- .fieldsetContainer{
- border: 1px dashed #d9d9d9;
- }
- .fieldsetContainer legend{
- color: #555;
- font-weight: bold;
- }
- /*评分*/
- .rx-rate{
- display: inline-block;
- width: 100%;
- max-width: 300px;
- border: 0;
- height: 24px;
- vertical-align: -5px;
- line-height: 24px;
- background: url(/form/static/img/controller/star.png) 4px center no-repeat;
- }
- /*时间*/
- .rx-time{
- display: inline-block;
- outline: none;
- width: 80%;
- height: 32px;
- cursor: pointer;
- border: 1px solid #d9d9d9;
- border-radius: 4px;
- display: inline-block;
- vertical-align: middle;
- }
- .rx-quill-editor{
- position: relative;
- display: inline-block;
- width:100%;
- min-width: 400px;
- border-radius: 4px;
- height: 200px;
- }
- .rx-quill-editor:after{
- content: "";
- position: absolute;
- display: block;
- width: 100%;
- background: url(/form/static/img/controller/editor-head.png) no-repeat ,url(/form/static/img/controller/editor-bottom.png) no-repeat;
- background-size: contain,contain;
- background-position: left top,left bottom;
- top: 0px;
- bottom: 0px;
- z-index: 10;
- }
- .rx-quill-editor:before{
- content: "";
- position: absolute;
- display: block;
- width: 100%;
- background: url(/form/static/img/controller/editor-middle.png) ;
- background-size: contain;
- top: 0;
- bottom: 0;
- z-index: 9;
- }
- .rx-button-edit {
- background: url(/form/static/img/controller/editbtn.png) no-repeat 4px center,url(/form/static/img/controller/custombtn.png) no-repeat right center;
- padding: 0!important;
- outline: none;
- width: 80%;
- height: 32px;
- cursor: pointer;
- border: 1px solid #d9d9d9;
- border-radius: 4px;
- display: inline-block;
- vertical-align: middle;
- }
- .rx-form-button{
- display: inline-block;
- min-width: 80px;
- text-align: center;
- border-radius: 4px;
- height: 32px;
- line-height: 32px;
- background-color: #40a9ff;
- color: #fff;
- box-sizing: border-box;
- }
- .rx-view-word{
- display: inline-block;
- min-width: 80px;
- text-align: center;
- border-radius: 4px;
- height: 32px;
- line-height: 32px;
- background-color: #40a9ff;
- color: #fff;
- box-sizing: border-box;
- }
- .rx-user{
- outline: none;
- width: 80%;
- height: 32px;
- cursor: pointer;
- border: 1px solid #d9d9d9;
- border-radius: 4px;
- display: inline-block;
- vertical-align: middle;
- background: url(/form/static/img/controller/addUser.png) no-repeat 4px center;
- }
- .rx-group{
- outline: none;
- width: 80%;
- height: 32px;
- cursor: pointer;
- border: 1px solid #d9d9d9;
- border-radius: 4px;
- display: inline-block;
- vertical-align: middle;
- background: url(/form/static/img/controller/addGroup.png) no-repeat 4px center;
- }
- .rx-tree-select {
- background: url(/form/static/img/controller/xls.png) no-repeat 4px center , url(/form/static/img/controller/downArrow.jpg) no-repeat right center;
- width: 80%;
- cursor: pointer;
- border: 1px solid #d9d9d9;
- border-radius: 4px;
- display: inline-block;
- outline: none;
- padding: 0!important;
- height: 32px;
- display: inline-block;
- vertical-align: middle;
- }
- .rx-barcode{
- outline: none;
- width: 80%;
- height: 32px;
- cursor: pointer;
- border: 1px solid #d9d9d9;
- border-radius: 4px;
- display: inline-block;
- vertical-align: middle;
- background: url(/form/static/img/controller/time.png) no-repeat right center;
- }
- /*子表编辑模式*/
- .rx-table-body .table-header-tool{
- padding: 6px 0;
- display: flex;
- line-height: normal;
- }
- .rx-table-body .table-header-tool .title:before {
- content: " ";
- width: 3px;
- height: 14px;
- background-color: #4d9eff;
- display: inline-block;
- position: absolute;
- top: 6px;
- left: 0px;
- border-radius: 2px 0 0 2px;
- }
- .rx-table-body .table-header-tool .title{
- position:relative;
- }
- .rx-table-body .table-header-tool .title >div{
- padding-left: 8px;
- font-size: 14px;
- display: inline-block;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- max-width: 300px;
- border-left: 3px solid #4d9eff;
- vertical-align: middle;
- }
- .rx-table-body .table-header-tool a-button-group{
- flex: 1;
- text-align: right;
- padding-right: 4px;
- font-size: 0;
- }
- .rx-table-body a-button-group a-button{
- font-size: 14px;
- font-weight: normal;
- border: 1px solid #ddd;
- border-radius: 3px;
- padding: 4px 6px;
- margin-left: 6px;
- display: inline-block;
- }
- .rx-table tr.firstRow th{
- border-top-width: 1px;
- text-align: left;
- border: 1px solid #f2f2f2;
- background: #f8f8f8;
- font-weight: normal;
- font-size: 14px;
- }
- .rx-table{
- table-layout: fixed;
- }
- .rx-table tr td{
- border: 1px solid #f2f2f2;
- font-size: 14px;
- color: #555;
- }
- .rx-table tr th,
- .rx-table tr td{
- height: 30px;
- }
- .rx-address {
- background: url(/form/static/img/controller/address.png) no-repeat 4px center , url(/form/static/img/controller/downArrow.jpg) no-repeat right center;
- border: 1px solid #d9d9d9;
- outline: none;
- padding: 0!important;
- height: 32px;
- border-radius: 4px;
- display: inline-block;
- width: 80%;
- }
- /*rxExcelBox*/
- .rxExcelBox{
- display: inline-block;
- vertical-align: top;
- }
- .rx-table-box{
- overflow-x: auto;
- overflow-y: hidden;
- }
- .rx-form-signbox{
- height: 32px;
- border: 1px solid transparent;
- cursor: pointer;
- width: 80%;
- border-radius: 4px;
- vertical-align: middle;
- outline: none;
- padding: 0!important;
- display: inline-block;
- background: url(/form/static/img/controller/qianming.png) no-repeat left center ;
- }
- .rx-approval-history{
- height: 32px;
- border: 1px solid #d9d9d9;
- cursor: pointer;
- width: 80%;
- border-radius: 4px;
- vertical-align: middle;
- outline: none;
- padding: 0!important;
- display: inline-block;
- }
- /*数据列表*/
- .rx-data-list{
- width: 100%;
- display: inline-block;
- }
- .rx-data-list > table{
- margin-bottom: 0;
- table-layout: fixed;
- width: 100%;
- }
- /*星号*/
- .required{
- position: relative;
- }
- .required:before {
- content: "*";
- color: red;
- margin-right: 5px;
- font-size: 16px;
- display: inline-block;
- }
- /*通知模板*/
- .rx-edit-table{
- width: 100%;
- table-layout: fixed;
- border-collapse:collapse
- }
- .rx-edit-table td {
- border: 1px solid #ddd;
- }
- .rx-edit-table th {
- border: 1px solid #ddd;
- background-color:#F7F7F7
- }
- .rx-table-blue tr td:nth-child(2n+1),
- .rx-table-blue tr td:nth-last-child(2):first-child,
- .rx-table-blue tr td:nth-last-child(4):first-child,
- .rx-table-blue tr td:nth-last-child(2):nth-child(3),
- .rx-table-blue tr td:nth-last-child(6):first-child,
- .rx-table-blue tr td:nth-last-child(4):nth-child(3),
- .rx-table-blue tr td:nth-last-child(2):nth-child(5),
- .rx-table-blue tr td:nth-last-child(8):first-child,
- .rx-table-blue tr td:nth-last-child(6):nth-child(3),
- .rx-table-blue tr td:nth-last-child(4):nth-child(5),
- .rx-table-blue tr td:nth-last-child(2):nth-child(7),
- .rx-table-blue caption{
- background-color: #e3f1ff ;
- }
- .rx-table-green tr td:nth-child(2n+1),
- .rx-table-green tr td:nth-last-child(2):first-child,
- .rx-table-green tr td:nth-last-child(4):first-child,
- .rx-table-green tr td:nth-last-child(2):nth-child(3),
- .rx-table-green tr td:nth-last-child(6):first-child,
- .rx-table-green tr td:nth-last-child(4):nth-child(3),
- .rx-table-green tr td:nth-last-child(2):nth-child(5),
- .rx-table-green tr td:nth-last-child(8):first-child,
- .rx-table-green tr td:nth-last-child(6):nth-child(3),
- .rx-table-green tr td:nth-last-child(4):nth-child(5),
- .rx-table-green tr td:nth-last-child(2):nth-child(7),
- .rx-table-green caption{
- background-color: #defaea ;
- }
- .rx-table-grey tr td:nth-child(2n+1),
- .rx-table-grey tr td:nth-last-child(2):first-child,
- .rx-table-grey tr td:nth-last-child(4):first-child,
- .rx-table-grey tr td:nth-last-child(2):nth-child(3),
- .rx-table-grey tr td:nth-last-child(6):first-child,
- .rx-table-grey tr td:nth-last-child(4):nth-child(3),
- .rx-table-grey tr td:nth-last-child(2):nth-child(5),
- .rx-table-grey tr td:nth-last-child(8):first-child,
- .rx-table-grey tr td:nth-last-child(6):nth-child(3),
- .rx-table-grey tr td:nth-last-child(4):nth-child(5),
- .rx-table-grey tr td:nth-last-child(2):nth-child(7),
- .rx-table-grey caption{
- background-color: #ebeef5 ;
- }
- /*通知模板 -end*/
|