web/static/admin/css/forms.css
author wakimd
Tue, 16 Nov 2010 14:15:07 +0100
changeset 9 22ab430e9b64
permissions -rw-r--r--
Corrections on models and general structure
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     1
@import url('widgets.css');
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     2
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     3
/* FORM ROWS */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     4
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     5
.form-row {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     6
    overflow: hidden;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     7
    padding: 8px 12px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     8
    font-size: 11px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     9
    border-bottom: 1px solid #eee;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    10
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    11
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    12
.form-row img, .form-row input {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    13
    vertical-align: middle;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    14
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    15
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    16
form .form-row p {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    17
    padding-left: 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    18
    font-size: 11px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    19
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    20
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    21
/* FORM LABELS */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    22
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    23
form h4 {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    24
    margin: 0 !important;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    25
    padding: 0 !important;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    26
    border: none !important;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    27
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    28
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    29
label {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    30
    font-weight: normal !important;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    31
    color: #666;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    32
    font-size: 12px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    33
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    34
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    35
.required label, label.required {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    36
    font-weight: bold !important;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    37
    color: #333 !important;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    38
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    39
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    40
/* RADIO BUTTONS */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    41
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    42
form ul.radiolist li {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    43
    list-style-type: none;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    44
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    45
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    46
form ul.radiolist label {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    47
    float: none;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    48
    display: inline;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    49
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    50
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    51
form ul.inline {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    52
    margin-left: 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    53
    padding: 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    54
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    55
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    56
form ul.inline li {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    57
    float: left;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    58
    padding-right: 7px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    59
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    60
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    61
/* ALIGNED FIELDSETS */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    62
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    63
.aligned label {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    64
    display: block;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    65
    padding: 3px 10px 0 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    66
    float: left;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    67
    width: 8em;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    68
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    69
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    70
.aligned ul label {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    71
    display: inline;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    72
    float: none;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    73
    width: auto;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    74
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    75
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    76
.colMS .aligned .vLargeTextField, .colMS .aligned .vXMLLargeTextField {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    77
    width: 350px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    78
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    79
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    80
form .aligned p, form .aligned ul {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    81
    margin-left: 7em;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    82
    padding-left: 30px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    83
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    84
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    85
form .aligned table p {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    86
    margin-left: 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    87
    padding-left: 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    88
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    89
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    90
form .aligned p.help {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    91
    padding-left: 38px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    92
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    93
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    94
.aligned .vCheckboxLabel {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    95
    float: none !important;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    96
    display: inline;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    97
    padding-left: 4px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    98
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    99
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   100
.colM .aligned .vLargeTextField, .colM .aligned .vXMLLargeTextField {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   101
    width: 610px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   102
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   103
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   104
.checkbox-row p.help {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   105
    margin-left: 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   106
    padding-left: 0 !important;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   107
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   108
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   109
fieldset .field-box {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   110
    float: left;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   111
    margin-right: 20px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   112
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   113
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   114
/* WIDE FIELDSETS */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   115
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   116
.wide label {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   117
    width: 15em !important;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   118
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   119
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   120
form .wide p {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   121
    margin-left: 15em;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   122
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   123
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   124
form .wide p.help {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   125
    padding-left: 38px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   126
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   127
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   128
.colM fieldset.wide .vLargeTextField, .colM fieldset.wide .vXMLLargeTextField {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   129
    width: 450px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   130
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   131
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   132
/* COLLAPSED FIELDSETS */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   133
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   134
fieldset.collapsed * {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   135
    display: none;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   136
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   137
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   138
fieldset.collapsed h2, fieldset.collapsed {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   139
    display: block !important;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   140
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   141
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   142
fieldset.collapsed h2 {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   143
    background-image: url(../img/admin/nav-bg.gif);
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   144
    background-position: bottom left;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   145
    color: #999;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   146
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   147
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   148
fieldset.collapsed .collapse-toggle {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   149
    background: transparent;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   150
    display: inline !important;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   151
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   152
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   153
/* MONOSPACE TEXTAREAS */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   154
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   155
fieldset.monospace textarea {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   156
    font-family: "Bitstream Vera Sans Mono",Monaco,"Courier New",Courier,monospace;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   157
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   158
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   159
/* SUBMIT ROW */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   160
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   161
.submit-row {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   162
    padding: 5px 7px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   163
    text-align: right;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   164
    background: white url(../img/admin/nav-bg.gif) 0 100% repeat-x;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   165
    border: 1px solid #ccc;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   166
    margin: 5px 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   167
    overflow: hidden;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   168
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   169
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   170
.submit-row input {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   171
    margin: 0 0 0 5px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   172
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   173
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   174
.submit-row p {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   175
    margin: 0.3em;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   176
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   177
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   178
.submit-row p.deletelink-box {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   179
    float: left;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   180
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   181
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   182
.submit-row .deletelink {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   183
    background: url(../img/admin/icon_deletelink.gif) 0 50% no-repeat;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   184
    padding-left: 14px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   185
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   186
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   187
/* CUSTOM FORM FIELDS */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   188
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   189
.vSelectMultipleField {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   190
    vertical-align: top !important;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   191
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   192
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   193
.vCheckboxField {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   194
    border: none;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   195
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   196
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   197
.vDateField, .vTimeField {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   198
    margin-right: 2px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   199
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   200
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   201
.vURLField {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   202
    width: 30em;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   203
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   204
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   205
.vLargeTextField, .vXMLLargeTextField {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   206
    width: 48em;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   207
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   208
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   209
.flatpages-flatpage #id_content {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   210
    height: 40.2em;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   211
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   212
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   213
.module table .vPositiveSmallIntegerField {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   214
    width: 2.2em;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   215
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   216
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   217
.vTextField {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   218
    width: 20em;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   219
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   220
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   221
.vIntegerField {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   222
    width: 5em;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   223
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   224
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   225
.vForeignKeyRawIdAdminField {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   226
    width: 5em;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   227
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   228
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   229
/* INLINES */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   230
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   231
.inline-group {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   232
    padding: 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   233
    border: 1px solid #ccc;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   234
    margin: 10px 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   235
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   236
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   237
.inline-group .aligned label {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   238
    width: 8em;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   239
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   240
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   241
.inline-related {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   242
    position: relative;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   243
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   244
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   245
.inline-related h3 {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   246
    margin: 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   247
    color: #666;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   248
    padding: 3px 5px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   249
    font-size: 11px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   250
    background: #e1e1e1 url(../img/admin/nav-bg.gif) top left repeat-x;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   251
    border-bottom: 1px solid #ddd;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   252
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   253
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   254
.inline-related h3 span.delete {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   255
    float: right;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   256
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   257
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   258
.inline-related h3 span.delete label {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   259
    margin-left: 2px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   260
    font-size: 11px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   261
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   262
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   263
.inline-related fieldset {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   264
    margin: 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   265
    background: #fff;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   266
    border: none;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   267
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   268
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   269
.inline-related fieldset.module h3 {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   270
    margin: 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   271
    padding: 2px 5px 3px 5px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   272
    font-size: 11px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   273
    text-align: left;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   274
    font-weight: bold;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   275
    background: #bcd;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   276
    color: #fff;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   277
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   278
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   279
.inline-group .tabular fieldset.module {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   280
    border: none;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   281
    border-bottom: 1px solid #ddd;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   282
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   283
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   284
.inline-related.tabular fieldset.module table {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   285
    width: 100%;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   286
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   287
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   288
.last-related fieldset {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   289
    border: none;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   290
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   291
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   292
.inline-group .tabular tr.has_original td {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   293
    padding-top: 2em;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   294
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   295
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   296
.inline-group .tabular tr td.original {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   297
    padding: 2px 0 0 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   298
    width: 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   299
    _position: relative;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   300
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   301
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   302
.inline-group .tabular th.original {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   303
    width: 0px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   304
    padding: 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   305
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   306
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   307
.inline-group .tabular td.original p {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   308
    position: absolute;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   309
    left: 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   310
    height: 1.1em;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   311
    padding: 2px 7px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   312
    overflow: hidden;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   313
    font-size: 9px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   314
    font-weight: bold;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   315
    color: #666;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   316
    _width: 700px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   317
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   318
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   319
.inline-group ul.tools {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   320
    padding: 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   321
    margin: 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   322
    list-style: none;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   323
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   324
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   325
.inline-group ul.tools li {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   326
    display: inline;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   327
    padding: 0 5px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   328
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   329
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   330
.inline-group div.add-row,
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   331
.inline-group .tabular tr.add-row td {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   332
    color: #666;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   333
    padding: 3px 5px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   334
    border-bottom: 1px solid #ddd;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   335
    background: #e1e1e1 url(../img/admin/nav-bg.gif) top left repeat-x;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   336
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   337
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   338
.inline-group .tabular tr.add-row td {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   339
    padding: 4px 5px 3px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   340
    border-bottom: none;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   341
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   342
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   343
.inline-group ul.tools a.add,
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   344
.inline-group div.add-row a,
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   345
.inline-group .tabular tr.add-row td a {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   346
    background: url(../img/admin/icon_addlink.gif) 0 50% no-repeat;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   347
    padding-left: 14px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   348
    font-size: 11px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   349
    outline: 0; /* Remove dotted border around link */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   350
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   351
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   352
.empty-form {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   353
    display: none;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
   354
}