java/nekurak.net-web/web/styl.css
author František Kučera <franta-hg@frantovo.cz>
Tue Mar 16 14:33:05 2010 +0100 (2010-03-16)
changeset 72 81c64c582a26
parent 58 e019dbc42723
child 83 6767606d6342
permissions -rw-r--r--
Fotky se budou zobrazovat v určitém pořadí – podle hodnoty sloupce „poradi“
Hibernate: Set → List
SQL: podnik a pořadí v tabulce fotek musí být jedinečné
TODO: používat složený klíč?
     1 body {
     2     color: black;
     3     background-color: white;
     4     font-family: sans-serif;
     5     text-align: center;
     6 }
     7 
     8 a {
     9     text-decoration: none;
    10 }
    11 
    12 .body {
    13     width: 1000px;
    14     text-align: left;
    15     margin: 0 auto;
    16 }
    17 
    18 #horniPruh {
    19     width: 1000px;
    20     border: 1px solid silver;
    21     background-color: #e6e6e6;
    22 }
    23 
    24 #horniPruh h1 {
    25     margin-left: 10px;
    26 }
    27 
    28 #nabidka {
    29     width: 980px;
    30     border: 1px solid silver;
    31     margin-top: 4px;
    32     margin-bottom: 4px;
    33     padding-top: 2px;
    34     padding-left: 10px;
    35     padding-right: 10px;
    36     background-image: url('grafika/pozadi-nabidky.png');
    37     height: 23px;
    38     display: block;
    39 }
    40 
    41 #nabidka li {
    42     display: inline;
    43     font-size: 14px;
    44     margin-left: 12px;
    45 }
    46 
    47 #nabidka li a {
    48     color: black;
    49     text-decoration: none;
    50 }
    51 #nabidka li a:hover {
    52     color: orange;
    53 }
    54 
    55 #prihlasenyUzivatel {
    56     color: gray;
    57 }
    58 
    59 #prepinaniJazyku {
    60     position: relative;
    61     left: 910px;
    62     top: -29px;
    63     width: 90px;
    64     margin: 0px;
    65     padding: 0px;
    66 }
    67 
    68 #prepinaniJazyku a {
    69     margin-left: 4px;
    70 }
    71 
    72 #prepinaniJazyku img {
    73     border: none;
    74 }
    75 
    76 #obsah {
    77     width: 980px;
    78     border: 1px solid silver;
    79     margin-top: -28px;
    80     margin-bottom: 4px;
    81     padding-left: 10px;
    82     padding-right: 10px;
    83 }
    84 
    85 #paticka {
    86     width: 1000px;
    87     border: 1px solid silver;
    88     background-color: #e6e6e6;
    89     font-size: smaller;
    90     padding-top: 3px;
    91     padding-bottom: 3px;
    92     text-align: center;
    93 }
    94 
    95 table {
    96     border: 1px solid gray;
    97     border-collapse: collapse;
    98 }
    99 
   100 td {
   101     border: 1px solid gray;
   102     padding: 2px 4px;
   103 }
   104 
   105 thead {
   106     background-color: silver;
   107     font-weight: bold;
   108 }
   109 
   110 .podnik h2 a {
   111     color: black;
   112 }
   113 
   114 .podnik {
   115     border-top: 1px dashed silver;
   116 }
   117 
   118 fieldset {
   119 	border: none;
   120 }
   121 
   122 form {
   123 	text-align: right;
   124 	max-width: 400px;
   125 }
   126 
   127 input	{
   128 	width:200px;
   129 	margin-left: 2px;
   130 }
   131 
   132 .chybovaHlaska {
   133     background-image: url('grafika/chyba.png');
   134     background-repeat: no-repeat;
   135     background-position: 8px 8px;
   136     min-height: 33px;
   137     padding-top: 15px;
   138     padding-left: 50px;
   139     margin-top: 10px;
   140     margin-bottom: 10px;
   141     border: 2px solid orange;
   142     background-color: #ffc65e;
   143 }
   144 
   145 .registraceKontrolaUdaju {
   146     color: gray;
   147 }
   148 
   149 .podnik .adresa {
   150     float: left;
   151     width: 500px;
   152 }
   153 .podnik .hlasovani {
   154     float: left;
   155     width: 280px;
   156     height: 280px;
   157 }
   158 
   159 .podnik .fotky {
   160     float: left;
   161     width: 200px;
   162     height: 280px;
   163 }
   164 
   165 .podnik .fotky img {
   166     border: none;
   167 }
   168 
   169 .podnik {
   170     clear: both;
   171 }
   172 
   173 .cistic {
   174     clear: both;
   175 }
   176 
   177 .slider_prev  {
   178     background-image: url('grafika/fotkyPodnikuPredchozi.png');
   179     width: 32px;
   180     height: 32px;
   181     text-indent: 1000px;
   182 }
   183 
   184 .slider_next {
   185     background-image: url('grafika/fotkyPodnikuDalsi.png');
   186     width: 32px;
   187     height: 32px;
   188     text-indent: 1000px;
   189 }