adminMyEventsPage.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. @import "../../styles/variables";
  2. .event-page {
  3. width: 100%;
  4. height: 100%;
  5. margin: auto;
  6. background: -webkit-linear-gradient(top, #fff, $color-blue);
  7. background: -moz-linear-gradient(top, #fff, $color-blue);
  8. background: -o-linear-gradient(top, #fff, $color-blue);
  9. background: linear-gradient(to bottom, #fff, $color-blue);
  10. &__select{
  11. font-family: inherit;
  12. color: inherit;
  13. font-size: 1.5rem;
  14. padding: 0.5rem 1rem;
  15. border-radius: 2px;
  16. background-color: rgba(255, 255, 255, 0.5);
  17. border: none;
  18. border: 2px solid #eee;
  19. width: 100%;
  20. display: block;
  21. transition: all 0.3s;
  22. margin-bottom: 1rem;
  23. &:focus {
  24. outline: none;
  25. box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
  26. border: 2px solid #5acec2;
  27. }
  28. }
  29. .events-list{
  30. margin-top: 3%;
  31. }
  32. &__content {
  33. max-width: 1000px;
  34. min-height: 100vh;
  35. position: relative;
  36. margin: auto;
  37. padding: 2rem;
  38. border-left: 1px solid $color-mint;
  39. border-right: 1px solid $color-mint;
  40. background-color: #eee;
  41. padding-bottom: 3%;
  42. }
  43. &__container{
  44. display: flex;
  45. flex-direction:column;
  46. width: 50%;
  47. @media (min-width: $small){
  48. .event-item {
  49. width: 100%;
  50. }
  51. }
  52. }
  53. &__title{
  54. color: $color-blue;
  55. font-size: 3rem;
  56. letter-spacing: 0.2;
  57. font-weight: 600;
  58. margin-bottom: 3%;
  59. }
  60. &__buttons-conteiner{
  61. display: flex;
  62. flex-direction: row;
  63. justify-content: center;
  64. margin-bottom: 10px;
  65. &__button{
  66. width: 45%;
  67. background-color: $color-mint;
  68. padding: 0.5rem;
  69. border: none;
  70. border-radius: 3px;
  71. color: $color-white;
  72. font-weight: 600;
  73. font-size: 1.2rem;
  74. transition: 0.2s;
  75. margin-bottom: 20px;
  76. &:first-child{
  77. margin-right: 10px;
  78. }
  79. &:hover{
  80. background-color: $color-blue;
  81. color: $color-white;
  82. outline: none;
  83. transform: translateY(-1px);
  84. box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
  85. &:after {
  86. transform: scaleX(1.4) scaleY(1.6);
  87. opacity: 0;
  88. }
  89. }
  90. }
  91. }
  92. }
  93. @media (max-width: $small){
  94. .event-page {
  95. &__content {
  96. padding: 2rem 0;
  97. }
  98. &__container{
  99. width: 100%;
  100. }
  101. &__title{
  102. padding-left: 2rem;
  103. font-size: 2rem;
  104. letter-spacing: 0;
  105. }
  106. }
  107. }