.right { text-align: right; } .left { text-align: left; } .center { text-align: right; } .dim-form, .dim-table { margin: 8px 0; position: relative; } .dim-form .dim-form-title, .dim-table .dim-form-title { position: relative; padding: 4px 8px; background: #fafad0; margin-bottom: 8px; border-top: 2px solid #2fa000; border-bottom: 2px solid #2fa000; } .dim-form .dim-form-title .dim-title-image, .dim-table .dim-form-title .dim-title-image { vertical-align: middle; margin-left: 8px; } .dim-form .dim-form-title .dim-title-text, .dim-table .dim-form-title .dim-title-text { padding: 0 4px; font-size: 15px; line-height: 20px; font-weight: bold; outline: none; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .dim-form .dim-form-title .dim-active-title, .dim-table .dim-form-title .dim-active-title { cursor: pointer; } .dim-form .dim-form-title .dim-form-actions, .dim-table .dim-form-title .dim-form-actions { position: absolute; font-size: 13px; top: 4px; right: 0; } .dim-form .dim-form-title .dim-form-actions .dim-action, .dim-table .dim-form-title .dim-form-actions .dim-action { margin-right: 8px; } .dim-form .dim-form-title .dim-form-actions .dim-action img, .dim-table .dim-form-title .dim-form-actions .dim-action img { padding-right: 4px; vertical-align: middle; } .dim-form .dim-col50, .dim-table .dim-col50 { display: inline-block; width: 50%; float: left; position: relative; } .dim-form .dim-col50:first-child .dim-field, .dim-table .dim-col50:first-child .dim-field { margin-right: 4px; } .dim-form .dim-col50:last-child .dim-field, .dim-table .dim-col50:last-child .dim-field { margin-left: 4px; } .dim-form .dim-column .dim-value, .dim-table .dim-column .dim-value { margin-left: 160px; } .dim-form .dim-column .dim-field, .dim-table .dim-column .dim-field { border-top: 1px solid #2fa000; } .dim-form .dim-column .dim-field:last-child, .dim-table .dim-column .dim-field:last-child { border-bottom: 1px solid #2fa000; } .dim-form .dim-field, .dim-table .dim-field { position: relative; min-height: 28px; } .dim-form .dim-field .dim-label, .dim-table .dim-field .dim-label { position: absolute; top: 0; bottom: 0; left: 0; background: #e0ffd3; display: inline-block; width: 145px; padding: 6px; font-size: 13px; line-height: 16px; font-weight: bold; border-left: 3px solid transparent; } .dim-form .dim-field .dim-value, .dim-table .dim-field .dim-value { padding: 6px; font-size: 13px; line-height: 16px; display: inline-block; } .dim-form .dim-field .dim-value input[type=text], .dim-table .dim-field .dim-value input[type=text], .dim-form .dim-field .dim-value input[type=password], .dim-table .dim-field .dim-value input[type=password] { margin: 0; font-size: 13px; border-radius: 0; line-height: 16px; padding: 4px; height: auto; } .dim-form .dim-field .dim-before, .dim-table .dim-field .dim-before { padding-right: 8px; } .dim-form .dim-field .dim-after, .dim-table .dim-field .dim-after { padding-left: 8px; } .dim-form .dim-field .dim-empty, .dim-table .dim-field .dim-empty { color: #aaaaaa; } .dim-form .dim-error input, .dim-table .dim-error input, .dim-form .dim-error textarea, .dim-table .dim-error textarea { border: 1px solid red; } .dim-form .dim-required .dim-label, .dim-table .dim-required .dim-label { border-left: 3px solid #c00; } .dim-form .dim-complex .dim-main-content, .dim-table .dim-complex .dim-main-content { margin-right: 8px !important; } .dim-form .dim-form-buttom-actions, .dim-table .dim-form-buttom-actions { clear: both; padding: 8px; margin-top: 8px; border-top: 2px solid #2fa000; background: #eee; } .dim-form table, .dim-table table { width: 100%; border-collapse: collapse; } .dim-form table thead, .dim-table table thead { background: #e0ffd3; } .dim-form table thead th, .dim-table table thead th { padding: 6px; font-size: 13px; text-align: left; border-top: 1px solid #2fa000; border-bottom: 1px solid #2fa000; } .dim-form table tbody tr, .dim-table table tbody tr { border-bottom: 1px solid #2fa000; } .dim-form table .dim-empty, .dim-table table .dim-empty { color: #aaaaaa; text-align: center; padding: 8px; } .dim-form table .dim-table-actions, .dim-table table .dim-table-actions { font-size: 13px; } .dim-form table .dim-table-actions .dim-action, .dim-table table .dim-table-actions .dim-action { margin-right: 8px; } .dim-form table .dim-table-actions .dim-action img, .dim-table table .dim-table-actions .dim-action img { padding-right: 4px; vertical-align: middle; }