Guest User

Untitled

a guest
Oct 10th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. Sklep
  2. {
  3. margin: 10px;
  4.  
  5. background-color: #FFA500;
  6. color: #000000;
  7. font-size: 10pt;
  8. font-family: "Arial";
  9. }
  10.  
  11. ListaProduktów, Klienci, ListaZakupów
  12. {
  13. display: table-cell;
  14. clear: both;
  15. table-layout:auto;
  16.  
  17.  
  18. }
  19.  
  20. Klienci:before
  21. {
  22. margin-left: 5px;
  23. display: block;
  24. content: "Klienci";
  25. font-family: Verdana;
  26. background-color: rgb(239, 197, 19);
  27. font-weight: lighter;
  28. font-style: italic;
  29. text-align: center;
  30. font-size: 32px;
  31. max-width: 205px;
  32. border: 2px solid red;
  33. border-radius: 7px;
  34. }
  35.  
  36. ListaProduktów:before
  37. {
  38. margin-left: 5px;
  39. display: block;
  40. content: "Produkty";
  41. font-family: Verdana;
  42. background-color: rgb(255, 98, 0);
  43. font-weight: lighter;
  44. font-style: italic;
  45. text-align: center;
  46. font-size: 32px;
  47. max-width: 205px;
  48. border: 2px solid red;
  49. border-radius: 7px;
  50. }
  51.  
  52. ListaZakupów:before
  53. {
  54. margin-left: 5px;
  55. display: block;
  56. content: "Zakupy";
  57. font-family: Verdana;
  58. background-color: rgb(183, 82, 19);
  59. font-weight: lighter;
  60. font-style: italic;
  61. text-align: center;
  62. font-size: 32px;
  63. max-width: 255px;
  64. border: 2px solid red;
  65. border-radius: 7px;
  66. }
  67.  
  68. Produkt
  69. {
  70. display: block;
  71. height: 80px;
  72. width: 200px;
  73. margin: 5px;
  74. float: left;
  75. padding-top: 2px;
  76. padding-left: 2px;
  77.  
  78. border: 3px dotted red;
  79. border-radius: 2px;
  80.  
  81.  
  82. }
  83.  
  84. Produkt:hover
  85. {
  86. background-color: rgb(255, 98, 0);
  87. border-style: double;
  88.  
  89.  
  90. }
  91.  
  92. Produkt > Nazwa
  93. {
  94. display: block;
  95. height: 25px;
  96. font-weight: bold;
  97. margin-bottom: 10px;
  98. text-align: left;
  99. }
  100.  
  101. Produkt > Kalorie
  102. {
  103. display:block;
  104. text-align: left;
  105. text-decoration: underline;
  106. }
  107.  
  108. Kalorie:before
  109. {
  110. content: "kalorie: ";
  111. }
  112.  
  113. Produkt:after
  114. {
  115. margin-top: 3px;
  116. content: "Producent: " attr(Producent) "";
  117. font-size: 10px;
  118. }
  119.  
  120. Osoba
  121. {
  122. display: block;
  123. height: 80px;
  124. width: 200px;
  125. margin: 5px;
  126. float: left;
  127. padding-top: 2px;
  128. padding-left: 2px;
  129.  
  130. border: 3px dotted red;
  131. border-radius: 2px;
  132. }
  133.  
  134. Osoba:after
  135. {
  136.  
  137. margin-top: auto;
  138. content: "Numer id: " attr(IdOsoby) "";
  139. font-size: 10px;
  140. }
  141.  
  142. Osoba > Imię
  143. {
  144. display: block;
  145. height: 25px;
  146. font-weight: bold;
  147. margin-bottom: 10px;
  148. text-align: left;
  149. }
  150.  
  151. Osoba > Nazwisko
  152. {
  153. display:block;
  154. text-align: left;
  155. text-decoration: underline;
  156. }
  157.  
  158. Osoba:hover
  159. {
  160. background-color: rgb(239, 197, 19);
  161. border-style: double;
  162. }
  163.  
  164.  
  165. Zakup
  166. {
  167. display: block;
  168. height: 80px;
  169. width: 250px;
  170. margin: 5px;
  171. float: left;
  172. padding-top: 2px;
  173. padding-left: 2px;
  174.  
  175. border: 3px dotted red;
  176. border-radius: 2px;
  177.  
  178. }
  179.  
  180. Zakup:hover
  181. {
  182. background-color: rgb(183, 82, 19);
  183. border-style: double;
  184. }
  185.  
  186. Zakup:before
  187. {
  188. display: block;
  189.  
  190. content: ""attr(IdOsoby)" kupił produkt o id:"attr(IdProduktu)"";
  191. padding-top: 2px;
  192. padding-left: 2px;
  193. text-align: left;
  194.  
  195. }
  196.  
  197. DataZakupu:after
  198. {
  199. content: "w dniu "attr(Dzień)"-"attr(Miesiąc)"-"attr(Rok)"";
  200. text-align: left;
  201. padding-top: 2px;
  202. padding-left: 2px;
  203.  
  204. }
  205.  
  206. Płatność:after
  207. {
  208. content: "używając: "attr(rodzaj)"";
  209. text-align: left;
  210. padding-top: 2px;
  211. padding-left: 2px;
  212.  
  213. }
  214.  
  215. Wartość:before
  216. {
  217. content: "równowartość: "
  218. }
  219.  
  220. Wartość[Waluta="PLN"]:after
  221. {
  222. content: "PLN";
  223. }
  224.  
  225. Wartość[Waluta="USD"]:after
  226. {
  227. content: "USD";
  228. }
  229.  
  230. Wartość[Waluta="EUR"]:after
  231. {
  232. content: "EUR";
  233. }
  234.  
  235. Autorzy, Poprawki
  236. {
  237. display:block;
  238. color: black;
  239. font-size:10px;
  240. }
  241.  
  242. Autorzy:before
  243. {
  244. color: black;
  245. font-size:10px;
  246. content: "Autorzy: "
  247. }
  248.  
  249. Autorzy > Autor:after
  250. {
  251. content: " [ " attr(Indeks) " ] ";
  252. }
  253.  
  254. Poprawki:before
  255. {
  256. color: black;
  257. font-size:10px;
  258. content: "Ostatnia poprawka: "
  259. }
Add Comment
Please, Sign In to add comment