print.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /** @file progrecss/style.css
  2. * @brief Default stylesheets for progrecss plugin
  3. * @author Luis Machuca Bezzaza <luis [dot] machuca [at] gulix [dot] cl>
  4. * @version 1.8
  5. * @license GPL v2
  6. */
  7. /** This file provides three (3) default styles for the "progrecss"
  8. * (CSS-based progress bars) plugin for Dokuwiki.
  9. */
  10. .progrecss_default {
  11. display: inline-block;
  12. }
  13. .progrecss_default .border {
  14. display: inline-block;
  15. border: 2px dotted gray;
  16. }
  17. .progrecss_default .border .bar {
  18. display: inline-block;
  19. background-color: #dddddd;
  20. padding: 0 1em;
  21. color: __existing__ !important;
  22. }
  23. .progrecss_default .caption {
  24. display: inline-block;
  25. font-family: Helvetica, Arial;
  26. font-size: 75%;
  27. text-align: center;
  28. color: gray;
  29. }
  30. .progrecss_gauge {
  31. display: inline-block;
  32. }
  33. .progrecss_gauge .border {
  34. display: inline-block;
  35. height: 80%;
  36. font-size: 80%;
  37. padding: 0;
  38. border: 1px solid __text_alt__;
  39. box-shadow: 2px 2px 2px __text_neu__ !important;
  40. }
  41. .progrecss_gauge .border .bar {
  42. display: inline-block;
  43. padding: 0;
  44. padding-right: 5px;
  45. border: 1px solid __text_neu__ !important;
  46. border-right: 4px solid __text_neu__ !important;
  47. border-top-right-radius: 6px / 0.5em !important;
  48. border-bottom-right-radius: 6px / 0.5em !important;
  49. color: gray;
  50. font-size: 75%;
  51. }
  52. .progrecss_inline {
  53. position: relative;
  54. display: inline-block;
  55. line-height: 1.4em;
  56. }
  57. .progrecss_inline .border {
  58. display: inline-block;
  59. height: 0.3em;
  60. margin-bottom: 0;
  61. background-color: __missing__;
  62. border: 1px solid __missing__;
  63. border-radius: 2px;
  64. }
  65. .progrecss_inline .border .bar {
  66. display: inline-block;
  67. height: 0.1em;
  68. background-color: __existing__;
  69. text-align: center;
  70. vertical-align: top;
  71. font-size: 50%;
  72. color: gray;
  73. }
  74. .progrecss_inline .caption {
  75. display: block;
  76. height: 1em;
  77. color: gray;
  78. font-size: 70%;
  79. vertical-align: baseline;
  80. }