Advertisement
Guest User

Untitled

a guest
Sep 5th, 2021
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. // Place all the styles related to the Products controller here.
  2. // They will automatically be included in application.css.
  3. // You can use Sass (SCSS) here: https://sass-lang.com/
  4.  
  5. .products {
  6. margin: 0;
  7. padding: 0.5em;
  8. a {
  9. padding: 0.354em 0.5em;
  10. border-radius: 0.354em;
  11. }
  12. table {
  13. border-collapse: collapse;
  14. }
  15. td {
  16. padding: 0.5em;
  17. margin: 0;
  18. }
  19.  
  20. tr.list_line_odd {
  21. background-color: #3aa83a;
  22. }
  23.  
  24. td.image {
  25. display: none;
  26. @media (min-width: 30em) {
  27. display: block;
  28. img {
  29. height: 11.3em;
  30. }
  31. }
  32. }
  33.  
  34. td.description {
  35. h1 {
  36. font-size: 1.4em;
  37. }
  38. }
  39.  
  40. td.actions {
  41. ul {
  42. padding: 0;
  43. list-style: none;
  44. li {
  45. padding: 0.5em 0.5em;
  46. }
  47. }
  48. }
  49.  
  50. tfoot {
  51. td {
  52. padding: 0.5em 0;
  53. }
  54. }
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement