Ignore:
Timestamp:
06/23/22 00:08:35 (2 years ago)
Author:
anastasovv <simon@…>
Branches:
main
Children:
ace7865
Parents:
285c3cc
Message:

Roulette place a bet functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • styles/globals.scss

    r285c3cc r9bd09b0  
    498498}
    499499
     500.tertiaryButton {
     501  background: linear-gradient(to right, #484848, #6a6a6a);
     502  color: white;
     503
     504  outline: none;
     505  border: none;
     506  border-radius: 10px;
     507
     508  font-size: 1.5rem;
     509  font-weight: bold;
     510  padding: 5px 20px;
     511
     512  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
     513
     514  cursor: pointer;
     515  transition: all .2s linear;
     516
     517  &:hover {
     518    background: linear-gradient(to right, #6e6e6e, #a0a0a0);
     519  }
     520
     521  &:active {
     522    transition: .05s linear;
     523    background: linear-gradient(to right, #484848, #6a6a6a);
     524  }
     525}
     526
    500527/**
    501528  * Input Sliders
     
    571598/**
    572599  * File <- Blackjack Main
    573   * Components <- PlayButtons, Cards
    574600  */
    575601.blackjackButtons {
     
    730756  }
    731757}
     758
     759/**
     760  * File <- Roulette Main
     761  */
     762.rouletteMainContainer {
     763  background-color: #006600;
     764}
     765
     766#rouletteBetsImg {
     767  position: absolute;
     768  top: 65%;
     769  left: 59%;
     770
     771  transform: translate(-50%, -50%);
     772 
     773  width: 50vw;
     774  height: auto;
     775
     776  cursor: url(/gold-coin.cur), auto;
     777}
     778
     779#rouletteWheelImg {
     780  position: absolute;
     781  top: 60%;
     782  left: 18%;
     783
     784  transform: translate(-50%, -50%);
     785 
     786  width: 450px;
     787  height: auto;
     788}
     789
     790.rouletteInfoText {
     791  position: absolute;
     792  top: 15%;
     793 
     794  width: 100vw;
     795
     796  text-align: center;
     797
     798  font-size: 1.1rem;
     799}
     800
     801.roulettePlayersContainer {
     802  position: absolute;
     803  top: 15%;
     804  right: 4%;
     805 
     806  width: 10vw;
     807  height: 80vh;
     808
     809  box-shadow: 0 0 10px rgba(10, 148, 45, .25);
     810
     811  padding: 1rem;
     812
     813  display: grid;
     814  grid-template-rows: repeat(2, minmax(0, 1fr));
     815
     816  overflow-x: hidden;
     817  overflow-y: scroll;
     818
     819  p {
     820    word-wrap: break-word;
     821    margin-top: .5rem;
     822  }
     823}
     824
     825.rouletteTimer {
     826  position: absolute;
     827  top: calc((60% + 450px) / 2);
     828  left: calc(18.5%);
     829
     830  transform: translate(-50%, -50%);
     831 
     832  font-size: 2.5rem;
     833
     834  color: black;
     835}
     836
     837.rouletteBetModal {
     838  z-index: 20;
     839
     840  flex-direction: column;
     841  justify-content: center;
     842  align-items: center;
     843
     844  position: fixed;
     845  left: 0;
     846  top: 0;
     847
     848  width: 100vw;
     849  height: 100vh;
     850
     851  background: #000000c0;
     852
     853  p {
     854    margin-bottom: 1rem;
     855
     856    padding: 10px 20px;
     857    border-radius: 5px;
     858
     859    transition: all .25s linear;
     860
     861    span {
     862      font-size: 1.2rem;
     863      color: #ead24d;
     864    }
     865  }
     866}
     867
     868/**
     869  * File <- Poker Main
     870  */
     871
Note: See TracChangeset for help on using the changeset viewer.