You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
2.4 KiB

11 years ago
  1. /*******************************
  2. UI Cover View
  3. *******************************/
  4. /*--------------
  5. UI Note Card
  6. ---------------*/
  7. /* Normal */
  8. .ui.notecard {
  9. position: relative;
  10. width: 520px;
  11. padding: 10px;
  12. -webkit-box-sizing: border-box;
  13. -moz-box-sizing: border-box;
  14. -ms-box-sizing: border-box;
  15. box-sizing: border-box;
  16. background-color: #FDFBE9;
  17. border: 1px solid #DDDDDD;
  18. -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  19. -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  20. box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  21. }
  22. .ui.notecard .stripes {
  23. height: 100%;
  24. margin-top: 10px;
  25. padding: 0px 5px 10px;
  26. background: url(../images/notecard-stripes.png) repeat;
  27. line-height: 21px;
  28. }
  29. .ui.notecard .stripes h2 {
  30. margin: 0px;
  31. font-size: 20px;
  32. font-weight: bold;
  33. }
  34. .ui.notecard .stripes p {
  35. margin: 0px;
  36. padding: 0px;
  37. font-size: 12px;
  38. }
  39. .ui.notecard .stripes .image {
  40. display: block;
  41. overflow: hidden;
  42. border: 1px solid #DAD8C9;
  43. background: #FFFFFF url(../images/placeholder-tiny.png) no-repeat center center;
  44. padding: 4px;
  45. }
  46. .ui.notecard .stripes .image img {
  47. display: block;
  48. }
  49. .ui.notecard br,
  50. .ui.notecard hr {
  51. height: 21px;
  52. border: none;
  53. background-color: transparent;
  54. }
  55. /* imageless */
  56. .ui.notecard.simple .stripes {
  57. margin-top: 10px;
  58. background-image: -moz-repeating-linear-gradient(transparent 19px, rgba(255, 255, 255, 0.2) 20px, transparent 0px, transparent 40px);
  59. background-image: -webkit-repeating-linear-gradient(transparent 19px, rgba(255, 255, 255, 0.2) 20px, transparent 0px, transparent 40px);
  60. background-image: -ms-repeating-linear-gradient(transparent 19px, rgba(255, 255, 255, 0.2) 20px, transparent 0px, transparent 40px);
  61. background-image: -o-repeating-linear-gradient(transparent 19px, rgba(255, 255, 255, 0.2) 20px, transparent 0px, transparent 40px);
  62. background-image: repeating-linear-gradient(transparent 19px, rgba(255, 255, 255, 0.2) 20px, transparent 0px, transparent 40px);
  63. }
  64. /* contrast */
  65. .ui.notecard.contrast {
  66. border: none;
  67. -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.7);
  68. -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.7);
  69. box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.7);
  70. }
  71. /*--------------
  72. Clipped
  73. ---------------*/
  74. .ui.clipped.notecard.paperclip img {
  75. height: auto;
  76. width: 135px;
  77. }
  78. .ui.clipped.notecard.stripes {
  79. min-height: 150px;
  80. padding: 0px 5px 10px 160px;
  81. }