Changeset e903234 for styles/globals.css


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.css

    re007fcd re903234  
    355355}
    356356
     357.top-to-bottom-centered {
     358  overflow-y: scroll;
     359}
     360
     361.top-to-bottom-centered > div {
     362  padding-block: 2rem;
     363  width: 70vw;
     364  margin-inline: auto;
     365  display: -webkit-box;
     366  display: -ms-flexbox;
     367  display: flex;
     368  -webkit-box-orient: vertical;
     369  -webkit-box-direction: normal;
     370      -ms-flex-direction: column;
     371          flex-direction: column;
     372  gap: 4rem;
     373}
     374
     375.top-to-bottom-centered > div .link {
     376  color: #fff3ae;
     377  text-decoration: underline;
     378  cursor: pointer;
     379}
     380
     381.top-to-bottom-centered > div h3 {
     382  font-size: 1.5rem;
     383  text-align: center;
     384}
     385
    357386.fs-inputs-container > div {
    358387  margin: auto;
     
    567596
    568597/**
    569   * Component <- RegisterScreen
     598  * Component <- LoginScreen
    570599  */
     600.loginScreen.admin {
     601  z-index: 50;
     602}
     603
     604.complaintsScreen {
     605  z-index: 20;
     606}
     607
     608.complaintsScreen .complaint {
     609  width: 100%;
     610  padding: 2rem;
     611  -webkit-transition: all .2s linear;
     612  transition: all .2s linear;
     613  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
     614          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
     615}
     616
     617.complaintsScreen .complaint:hover {
     618  -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
     619          box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
     620}
     621
     622.complaintsScreen .complaint:nth-child(2n+1) {
     623  color: white;
     624}
     625
     626.complaintsScreen .complaint > div:nth-child(1) {
     627  display: -webkit-box;
     628  display: -ms-flexbox;
     629  display: flex;
     630  -webkit-box-pack: justify;
     631      -ms-flex-pack: justify;
     632          justify-content: space-between;
     633  -webkit-box-align: center;
     634      -ms-flex-align: center;
     635          align-items: center;
     636}
     637
     638.complaintsScreen .complaint > div:nth-child(1) > * {
     639  -webkit-box-flex: 1;
     640      -ms-flex: 1;
     641          flex: 1;
     642}
     643
     644.complaintsScreen .complaint > div:nth-child(1) > div {
     645  display: -webkit-box;
     646  display: -ms-flexbox;
     647  display: flex;
     648  -webkit-box-pack: end;
     649      -ms-flex-pack: end;
     650          justify-content: flex-end;
     651}
     652
     653.complaintsScreen .complaint textarea {
     654  width: 100%;
     655  height: 7rem;
     656  margin-top: .5rem;
     657  font-size: 1.2rem;
     658  padding: .4rem;
     659  background-color: #c3ffd2;
     660}
     661
     662.complaintsScreen .complaint .answering {
     663  margin-top: 1rem;
     664}
     665
     666.complaintsScreen .complaint .answering > div {
     667  display: -webkit-box;
     668  display: -ms-flexbox;
     669  display: flex;
     670  -webkit-box-pack: end;
     671      -ms-flex-pack: end;
     672          justify-content: flex-end;
     673  margin-top: 1rem;
     674}
     675
     676.complaintsScreen .complaint .primaryButton, .complaintsScreen .complaint .secondaryButton {
     677  font-size: 1rem;
     678}
     679
     680.liveGamesScreen {
     681  z-index: 20;
     682}
     683
     684.dashboardScreen.admin .fs-inputs-container {
     685  -webkit-transform: translate(-50%, -75%);
     686          transform: translate(-50%, -75%);
     687}
     688
     689.dashboardScreen.admin .fs-inputs-container > div {
     690  gap: 10rem;
     691}
     692
     693.dashboardScreen.admin .fs-inputs-container > div > div {
     694  width: 50vw;
     695  display: -webkit-box;
     696  display: -ms-flexbox;
     697  display: flex;
     698  -ms-flex-pack: distribute;
     699      justify-content: space-around;
     700}
     701
    571702/**
    572703  * Primary Thingies
Note: See TracChangeset for help on using the changeset viewer.