Ignore:
Timestamp:
07/17/22 09:43:05 (23 months ago)
Author:
anastasovv <simon@…>
Branches:
main
Children:
faff334
Parents:
e007fcd
Message:

Added an admin panel, and the admin can now answer complaints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • styles/globals.scss

    re007fcd re903234  
    340340}
    341341
     342.top-to-bottom-centered {
     343  overflow-y: scroll;
     344
     345  &>div {
     346    padding-block: 2rem;
     347    width: 70vw;
     348    margin-inline: auto;
     349
     350    display: flex;
     351    flex-direction: column;
     352    gap: 4rem;
     353
     354    .link {
     355      color: #fff3ae;
     356      text-decoration: underline;
     357      cursor: pointer;
     358    }
     359
     360    h3 {
     361      font-size: 1.5rem;
     362      text-align: center;
     363    }
     364   
     365  }
     366}
     367
    342368.fs-inputs-container {
    343369  &>div {
     
    557583
    558584/**
    559   * Component <- RegisterScreen
    560   */
     585  * Component <- LoginScreen
     586  */
     587.loginScreen {
     588  &.admin {
     589    z-index: 50;
     590  }
     591}
     592
     593.complaintsScreen {
     594  z-index: 20;
     595
     596  .complaint {
     597    width: 100%;
     598    padding: 2rem;
     599
     600    transition: all .2s linear;
     601    box-shadow: 0 2px 5px rgba(0, 0, 0, .25);
     602    &:hover {
     603      box-shadow: 0 5px 25px rgba(0, 0, 0, .25);
     604    }
     605   
     606    &:nth-child(2n+1) {
     607      color: white;
     608    }
     609   
     610    &>div:nth-child(1) {
     611      display: flex;
     612      justify-content: space-between;
     613      align-items: center;
     614     
     615      &>* {
     616        flex: 1;
     617      }
     618
     619      &>div {
     620        display: flex;
     621        justify-content: flex-end;
     622      }
     623    }
     624
     625    textarea {
     626      width: 100%;
     627      height: 7rem;
     628      margin-top: .5rem;
     629      font-size: 1.2rem;
     630      padding: .4rem;
     631
     632      background-color: rgb(195, 255, 210);
     633    }
     634
     635    .answering {
     636      margin-top: 1rem;
     637
     638      &>div {
     639        display: flex;
     640        justify-content: flex-end;
     641        margin-top: 1rem;
     642      }
     643    }
     644
     645    .primaryButton, .secondaryButton {
     646      font-size: 1rem;
     647    }
     648  }
     649}
     650
     651.liveGamesScreen {
     652  z-index: 20;
     653}
     654
     655.dashboardScreen {
     656  &.admin {
     657    .fs-inputs-container {
     658      transform: translate(-50%, -75%);
     659
     660      &>div {
     661        gap: 10rem;
     662
     663        &>div {
     664          width: 50vw;
     665          display: flex;
     666          justify-content: space-around;
     667        }
     668      }
     669    }
     670  }
     671}
    561672
    562673/**
Note: See TracChangeset for help on using the changeset viewer.