_lesson_plan.css.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. .lesson-plan {
  2. @extend .no-bullets;
  3. margin-bottom: 0;
  4. margin-top: 10px;
  5. padding: 10px 32px;
  6. li.game {
  7. display: inline-block;
  8. margin-right: 20px;
  9. height: 108px;
  10. position: relative;
  11. margin-bottom: 50px;
  12. width: 108px;
  13. /* background: transparent image-url("global/bg_lesson_spr.png") -601px 0 no-repeat;*/
  14. img, a img {
  15. bottom: 0;
  16. left: 0;
  17. margin: auto;
  18. position: absolute;
  19. right: 0;
  20. top: 0;
  21. }
  22. span.game-title, a span.game-title {
  23. display: block;
  24. font-size: emCalc(14px);
  25. padding-top: 114px;
  26. text-align: center;
  27. }
  28. a {
  29. @extend .cf;
  30. color: #687376;
  31. display: block;
  32. }
  33. &.active {
  34. &.category-memory {
  35. a {
  36. background: transparent image-url("global/bg_lesson_spr.png") 0 0 no-repeat;
  37. }
  38. }
  39. &.category-spatial_recognition {
  40. a {
  41. background: transparent image-url("global/bg_lesson_spr.png") -151px 0 no-repeat;
  42. }
  43. }
  44. &.category-problem_solving {
  45. a {
  46. background: transparent image-url("global/bg_lesson_spr.png") -301px 0 no-repeat;
  47. }
  48. }
  49. &.category-focus {
  50. a {
  51. background: transparent image-url("global/bg_lesson_spr.png") -451px 0 no-repeat;
  52. }
  53. }
  54. }
  55. &.played {
  56. &.category-memory {
  57. background: transparent image-url("global/bg_lesson_spr.png") 0 0 no-repeat;
  58. }
  59. &.category-spatial_recognition {
  60. background: transparent image-url("global/bg_lesson_spr.png") -151px 0 no-repeat;
  61. }
  62. &.category-problem_solving {
  63. background: transparent image-url("global/bg_lesson_spr.png") -301px 0 no-repeat;
  64. }
  65. &.category-focus {
  66. background: transparent image-url("global/bg_lesson_spr.png") -451px 0 no-repeat;
  67. }
  68. }
  69. }
  70. }
  71. .next-game {
  72. @extend .cf;
  73. border-radius: 2px;
  74. background: #FFF7D8;
  75. border: 1px solid darken(#fff7d8, 20%);
  76. margin: 0 20px 20px;
  77. line-height: 60px;
  78. .next-game-wrapper {
  79. @extend .cf;
  80. }
  81. .next-game-description {
  82. border-top: 1px solid #FFE272;
  83. padding: 10px;
  84. color: #D55F60;
  85. p {
  86. margin-bottom: 0;
  87. }
  88. }
  89. img {
  90. float: left;
  91. height: 50%;
  92. width: auto;
  93. position: relative;
  94. top: 15px;
  95. margin-left: 10px;
  96. }
  97. .next-game-title {
  98. float: left;
  99. font-size: 24px;
  100. margin-left: 10px;
  101. span {
  102. color: $pm_red;
  103. font-weight: 700;
  104. }
  105. }
  106. a {
  107. background: $pm_red;
  108. float: right;
  109. margin-bottom: 0;
  110. margin: 8px;
  111. }
  112. }