java/nekurak.net-web/web/styl.css
author František Kučera <franta-hg@frantovo.cz>
Mon Nov 07 20:31:08 2011 +0100 (2011-11-07)
changeset 196 27b751390163
parent 190 68703e6baff0
child 198 3464334db89a
permissions -rw-r--r--
XSD: lepší schéma pro komentáře a povolíme blockquote.
     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 #csrfToken {
    19 	display: none;
    20 }
    21 
    22 #horniPruh {
    23     width: 1000px;
    24     border: 1px solid silver;
    25     background-color: #e6e6e6;
    26 }
    27 
    28 #horniPruh h1 {
    29     margin-left: 10px;
    30 }
    31 
    32 #nabidka {
    33     width: 980px;
    34     border: 1px solid silver;
    35     margin-top: 4px;
    36     margin-bottom: 4px;
    37     padding-top: 2px;
    38     padding-left: 10px;
    39     padding-right: 10px;
    40     background-image: url('grafika/pozadi-nabidky.png');
    41     height: 23px;
    42     display: block;
    43 }
    44 
    45 #nabidka li {
    46     display: inline;
    47     font-size: 14px;
    48     margin-left: 12px;
    49 }
    50 
    51 #nabidka li a {
    52     color: black;
    53     text-decoration: none;
    54 }
    55 #nabidka li a:hover {
    56     color: orange;
    57 }
    58 
    59 #prihlasenyUzivatel {
    60     color: gray;
    61 }
    62 
    63 #prepinaniJazyku {
    64     position: relative;
    65     left: 910px;
    66     top: -29px;
    67     width: 90px;
    68     margin: 0px;
    69     padding: 0px;
    70 }
    71 
    72 #prepinaniJazyku a {
    73     margin-left: 4px;
    74 }
    75 
    76 #prepinaniJazyku img {
    77     border: none;
    78 }
    79 
    80 #obsah {
    81     width: 980px;
    82     border: 1px solid silver;
    83     margin-top: -28px;
    84     margin-bottom: 4px;
    85     padding-left: 10px;
    86     padding-right: 10px;
    87 }
    88 
    89 #paticka {
    90     width: 1000px;
    91     border: 1px solid silver;
    92     background-color: #e6e6e6;
    93     font-size: smaller;
    94     padding-top: 3px;
    95     padding-bottom: 3px;
    96     text-align: center;
    97 }
    98 
    99 table {
   100     border: 1px solid gray;
   101     border-collapse: collapse;
   102 }
   103 
   104 td {
   105     border: 1px solid gray;
   106     padding: 2px 4px;
   107 }
   108 
   109 thead {
   110     background-color: silver;
   111     font-weight: bold;
   112 }
   113 
   114 #horniPruh h1 a {
   115     color: black;
   116 }
   117 
   118 .podnik h2 a {
   119     color: black;
   120 }
   121 
   122 fieldset {
   123 	border: none;
   124 }
   125 
   126 form {
   127 	text-align: right;
   128 	max-width: 400px;
   129 }
   130 
   131 #chat form {
   132 	max-width: 666px;
   133 }
   134 
   135 input.chatOd {
   136     width: 120px;
   137 }
   138 
   139 input.chatText {
   140     width: 410px;
   141 }
   142 
   143 button.chatOdeslat {
   144     width: 80px;
   145 }
   146 
   147 #vypisZprav {
   148     width: 960px;
   149     height: 320px;
   150     overflow: auto;
   151 }
   152 
   153 #vypisZprav ul {
   154     list-style: none;
   155 }
   156 
   157 #chat .zprava h2 {
   158     font-size: medium;
   159     font-weight: bolder;
   160     display: inline;
   161 }
   162 
   163 #chat .autorDatum {
   164     font-size: smaller;
   165     color: gray;
   166     margin-left: 4px;
   167 }
   168 
   169 input, textarea, select	{
   170 	width:200px;
   171 	margin-left: 2px;
   172 }
   173 
   174 #formularKomentuj input, #formularKomentuj textarea, #formularKomentuj select {
   175 	width:300px;
   176 }
   177 
   178 #formularKomentuj form {
   179     float: left;
   180 }
   181 
   182 #formularKomentuj .vystup {
   183     margin-left: 400px;
   184 }
   185 
   186 .chybovaHlaska {
   187     background-image: url('grafika/chyba.png');
   188     background-repeat: no-repeat;
   189     background-position: 8px 8px;
   190     min-height: 33px;
   191     padding-top: 15px;
   192     padding-left: 50px;
   193     margin-top: 10px;
   194     margin-bottom: 10px;
   195     border: 2px solid orange;
   196     background-color: #ffc65e;
   197 }
   198 
   199 .informacniHlaska {
   200     background-image: url('grafika/info.png');
   201     background-repeat: no-repeat;
   202     background-position: 8px 8px;
   203     min-height: 33px;
   204     padding-top: 15px;
   205     padding-left: 50px;
   206     margin-top: 10px;
   207     margin-bottom: 10px;
   208     border: 2px solid #99ccff;
   209     background-color: #bfdfff;
   210 }
   211 
   212 .registraceKontrolaUdaju {
   213     color: gray;
   214 }
   215 
   216 .podnik .adresa {
   217     float: left;
   218     width: 555px;
   219 }
   220 .podnik .hlasovani {
   221     float: left;
   222     width: 200px;
   223     height: 280px;
   224     padding-top: 16px;
   225     margin-right: 20px;
   226 }
   227 
   228 .podnik .hlasovani object {
   229     overflow: hidden;
   230     width: 200px;
   231     height: 200px;
   232 }
   233 
   234 .podnik .fotky {
   235     float: left;
   236     width: 200px;
   237     height: 280px;
   238 }
   239 
   240 .podnik .fotky img {
   241     border: none;
   242 }
   243 
   244 .podnik {
   245     clear: both;
   246 }
   247 
   248 .cistic {
   249     clear: both;
   250 }
   251 
   252 .oddelovac {
   253 	border-top: 1px dashed silver;
   254 }
   255 
   256 .slider_prev  {
   257     background-image: url('grafika/fotkyPodnikuPredchozi.png');
   258     width: 32px;
   259     height: 32px;
   260     text-indent: 1000px;
   261 }
   262 
   263 .slider_next {
   264     background-image: url('grafika/fotkyPodnikuDalsi.png');
   265     width: 32px;
   266     height: 32px;
   267     text-indent: 1000px;
   268 }
   269 
   270 .komentare {
   271     margin-bottom: 8px;
   272 }
   273 
   274 .komentar {
   275     border-top: 1px solid #e7e6e6;
   276 }
   277 
   278 .komentar h4 {
   279     font-size: medium;
   280     font-weight: bold;
   281     margin-top: 8px;
   282     margin-bottom: 0px;
   283 }
   284 
   285 .komentar div {
   286     max-height: 200px;
   287 	overflow: auto;
   288 }
   289 
   290 .komentar p {
   291     margin-top: 8px;
   292     margin-bottom: 8px;
   293 }
   294 
   295 blockquote {
   296 	background-color: #eee;
   297 	font-style: italic;
   298 	padding: 2px 20px;
   299 	margin: 10px 32px;
   300 	border-left: 3px solid silver;
   301 }
   302 
   303 
   304 ul.stitky {
   305 	margin: 0;
   306 	padding: 0 0 32px 0;
   307 	list-style: none;
   308 	width: 680px;
   309 }
   310 
   311 ul.stitky li, ul.stitky a {
   312 	float: left;
   313 	height: 20px;
   314 	line-height: 20px;
   315 	position: relative;
   316 	font-size: 11px;
   317 	margin-bottom: 4px;
   318 }
   319 
   320 ul.stitky a {
   321 	margin-left: 20px;
   322 	padding: 0 10px 0 12px;
   323 	text-decoration: none;
   324 	-moz-border-radius-bottomright:		4px;
   325 	-webkit-border-bottom-right-radius:	4px;
   326 	border-bottom-right-radius:			4px;
   327 	-moz-border-radius-topright:		4px;
   328 	-webkit-border-top-right-radius:	4px;
   329 	border-top-right-radius:			4px;
   330 }
   331 
   332 ul.stitky a:before {
   333 	content: "";
   334 	float: left;
   335 	position: absolute;
   336 	top: 0;
   337 	left: -10px;
   338 	width: 0;
   339 	height: 0;
   340 	border-style: solid;
   341 	border-width: 10px 10px 10px 0;
   342 }
   343 
   344 ul.stitky a:after {
   345 	content: "";
   346 	position: absolute;
   347 	top: 9px;
   348 	left: 0;
   349 	float: left;
   350 	width: 4px;
   351 	height: 4px;
   352 	background: #fff;
   353 	-moz-border-radius:		2px;
   354 	-webkit-border-radius:	2px;
   355 	border-radius:			2px;
   356 	-moz-box-shadow:	-1px -1px 2px grey;
   357 	-webkit-box-shadow: -1px -1px 2px grey;
   358 	box-shadow:			-1px -1px 2px grey;
   359 }
   360 
   361 /** Noromální štítek */
   362 ul.stitky li.normalni a { background: silver; color: #444 }
   363 ul.stitky li.normalni a:before{ border-color: transparent silver transparent transparent; }
   364 ul.stitky li.normalni a:hover { background: #555; color: #ccc; }
   365 ul.stitky li.normalni a:hover:before{ border-color:transparent #555 transparent transparent; }
   366 
   367 /** Nevýrazný štítek – negativní nebo neutrální */
   368 ul.stitky li.nevyrazny a { background: #eee; color: #444 }
   369 ul.stitky li.nevyrazny a:before{ border-color: transparent #eee transparent transparent; }
   370 ul.stitky li.nevyrazny a:hover { background: #555; color: #ccc; }
   371 ul.stitky li.nevyrazny a:hover:before{ border-color:transparent #555 transparent transparent; }
   372 
   373 /** Kladný štítek */
   374 ul.stitky li.kladny a { background: #4d4; color: #444 }
   375 ul.stitky li.kladny a:before{ border-color: transparent #4d4 transparent transparent; }
   376 ul.stitky li.kladny a:hover { background: #555; color: #ccc; }
   377 ul.stitky li.kladny a:hover:before{ border-color:transparent #555 transparent transparent; }