src/main/resources/net/tz/lift/css/base.css
author Tomas Zeman <tzeman@volny.cz>
Tue, 29 Mar 2011 13:18:48 +0200
changeset 8 89c02ef18e60
permissions -rw-r--r--
Base CSS styling for attribute panels, forms, tables
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     1
/*
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     2
 * Copyright 2011 Tomas Zeman <tzeman@volny.cz>
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     3
 *
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     4
 * Licensed under the Apache License, Version 2.0 (the "License");
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     5
 * you may not use this file except in compliance with the License.
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     6
 * You may obtain a copy of the License at
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     7
 *
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     8
 *     http://www.apache.org/licenses/LICENSE-2.0
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     9
 *
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    10
 * Unless required by applicable law or agreed to in writing, software
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    11
 * distributed under the License is distributed on an "AS IS" BASIS,
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    13
 * See the License for the specific language governing permissions and
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    14
 * limitations under the License.
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    15
 */
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    16
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    17
/* table with border */
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    18
.list {
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    19
  border-collapse: collapse;
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    20
}
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    21
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    22
.list td, .list thead th {
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    23
  border: 1px solid black;
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    24
}
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    25
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    26
/* attribute panel */
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    27
.attr-name {
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    28
  font-weight: bold;
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    29
  width: 150px;
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    30
}
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    31
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    32
.attr-name-wide {
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    33
  font-weight: bold;
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    34
  width: 230px;
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    35
}
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    36
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    37
.attr-value {
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    38
}
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    39
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    40
/* form panel */
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    41
.form-name {
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    42
  font-weight: bold;
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    43
  width: 150px;
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    44
}
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    45
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    46
.form-value {
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    47
}
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    48
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    49
td.td-right {
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    50
  text-align: right;
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    51
}
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    52
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    53
/* fix for active sf-menu item in span tag */
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    54
.sf-menu span {
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    55
  padding: 0.75em 1em;
89c02ef18e60 Base CSS styling for attribute panels, forms, tables
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    56
}