ysct.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /* Tables */
  2. /* The class "scedit" is used in tables describing working with the statechart editor.
  3. These tables typically consist of two columns with a textual description in the
  4. left column and a screenshot on the right. */
  5. table.scedit {
  6. width: 90%;
  7. border-collapse: collapse;
  8. }
  9. tr.scedit {
  10. vertical-align: top
  11. }
  12. table.scedit td {
  13. border-radius: 0%;
  14. border-style: solid;
  15. border-width: 0px;
  16. padding-bottom: 1ex;
  17. vertical-align: top;
  18. }
  19. table.scedit td:nth-child(1) {
  20. width: 75%;
  21. padding-right: 5%;
  22. }
  23. table.scedit td:nth-child(2) {
  24. width: 25%;
  25. }
  26. table.scedit img {
  27. max-width: 100%;
  28. margin-top: 0px;
  29. margin-left: 0px;
  30. margin-right: auto;
  31. margin-bottom: auto;
  32. box-shadow: 4px 4px 2px #bbb;
  33. }
  34. .pro-feature {
  35. border: 2px solid red;
  36. border-color: rgba(255, 0, 0, 0.75);
  37. border-width: 2px 0 0 2px;
  38. position: relative;
  39. overflow: hidden;
  40. padding: 10px 20px 0;
  41. margin-right: -20px;
  42. margin-bottom: 30px;
  43. }
  44. .pro-feature:before {
  45. content: "PRO";
  46. position: absolute;
  47. top: -10px;
  48. right: -34px;
  49. background: red;
  50. background: rgba(255, 0, 0, 0.75);
  51. color: white;
  52. padding: 20px 30px 2px;
  53. transform: rotate(45deg);
  54. z-index: 10
  55. }
  56. span.pro-feature {
  57. padding: 0;
  58. border-width: 0
  59. }
  60. span.pro-feature:before {
  61. transform: none;
  62. padding: 0 3px;
  63. position: relative;
  64. top: 0;
  65. left: 0
  66. }
  67. /* Edit on GitHub: */
  68. .sct-docs h1 {
  69. /* Make some room for the "Edit on GitHub link": */
  70. margin-right: 10rem;
  71. clear: left;
  72. }
  73. .sct-docs .edit-on-github {
  74. float: right;
  75. line-height: 45px;
  76. position: relative;
  77. margin: 0;
  78. }
  79. .eclipsehelp .edit-on-github {
  80. display: none
  81. }