| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
-
-
- // Generic field styling
- div.DTE_Field {
- input,
- textarea {
- box-sizing: border-box;
- background-color: white;
- -webkit-transition: background-color ease-in-out .15s;
- transition: background-color ease-in-out .15s;
- }
-
- input:focus,
- textarea:focus {
- background-color: #ffffee;
- }
-
- input[type="color"],
- input[type="date"],
- input[type="datetime"],
- input[type="datetime-local"],
- input[type="email"],
- input[type="month"],
- input[type="number"],
- input[type="password"],
- input[type="search"],
- input[type="tel"],
- input[type="text"],
- input[type="time"],
- input[type="url"],
- input[type="week"] {
- padding: 5px 4px;
- width: 100%;
- }
-
- label div.DTE_Label_Info {
- font-size: 0.85em;
- margin-top: 0.25em;
-
- &:empty {
- margin-top: 0;
- }
- }
-
- div.DTE_Field_Info,
- div.DTE_Field_Message,
- div.DTE_Field_Error {
- font-size: 11px;
- line-height: 1em;
- margin-top: 5px;
-
- &:empty {
- margin-top: 0;
- }
- }
-
- div.DTE_Field_Error {
- display: none;
- color: #b11f1f;
- }
-
- div.multi-value {
- display: none;
- border: 1px dotted #666;
- border-radius: 3px;
- padding: 5px;
- background-color: #fafafa;
- cursor: pointer;
-
- span {
- font-size: 0.8em;
- line-height: 1.25em;
- display: block;
- color: #666;
- }
-
- &.multi-noEdit {
- border: 1px solid #ccc;
- cursor: auto;
- background-color: #fcfcfc;
-
- &:hover {
- background-color: #fcfcfc;
- }
- }
-
- &:hover {
- background-color: #f1f1f1;
- }
- }
-
- &.disabled {
- color: grey;
-
- div.multi-value {
- cursor: default;
- border: 1px dotted #aaa;
- background-color: transparent;
- }
- }
-
- div.multi-restore {
- display: none;
- margin-top: 0.5em;
- font-size: 0.8em;
- line-height: 1.25em;
- color: #3879d9;
-
- &:hover {
- text-decoration: underline;
- cursor: pointer;
- }
- }
- }
-
- // Specific field type styling
- div.DTE_Field_Type_textarea {
- textarea {
- padding: 3px;
- width: 100%;
- height: 80px;
- }
- }
-
- div.DTE_Field.DTE_Field_Type_date {
- img {
- vertical-align: middle;
- cursor: pointer;
- }
- }
-
- div.DTE_Field_Type_checkbox,
- div.DTE_Field_Type_radio {
- div.DTE_Field_Input > div > div {
- margin-bottom: 0.25em;
-
- &:last-child {
- margin-bottom: 0;
- }
-
- input {
- }
-
- label {
- margin-left: 0.75em;
- vertical-align: middle;
- }
- }
- }
-
- div.DTE_Field_Type_select div.DTE_Field_Input {
- padding-top: 4px;
- }
|