wanjingy.github.io / hw8 / frontend / src / app / event-detail / event-detail.component.css
event-detail.component.css
Raw
/* Rules for sizing the icon. */
.material-icons.md-18 {
    font-size: 18px;
}

.material-icons.md-24 {
    font-size: 24px;
}

.material-icons.md-36 {
    font-size: 36px;
}

.material-icons.md-48 {
    font-size: 48px;
}

/* Rules for using icons as black on a light background. */
.material-icons.md-dark {
    color: rgba(0, 0, 0, 0.54);
}

.material-icons.md-dark.md-inactive {
    color: rgba(0, 0, 0, 0.26);
}

/* Rules for using icons as white on a dark background. */
.material-icons.md-light {
    color: rgba(255, 255, 255, 1);
}

.material-icons.md-light.md-inactive {
    color: rgba(255, 255, 255, 0.3);
}

.arrow {
    border: solid white;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 4px;
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.event-detail {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    max-width: 800px;
    border-radius: 1em;
}

.back {
    color: white;
    text-decoration: underline;
    cursor: pointer;
}

::ng-deep .mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab {
    flex-grow: 0 !important;
    padding-left: 5%;
    padding-right: 5%;
}

::ng-deep .mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab-indicator__content--underline,
.mat-mdc-tab-group.mat-tabs-with-background[_ngcontent-nyn-c114]>.mat-mdc-tab-header[_ngcontent-nyn-c114] .mat-mdc-tab-header-pagination-chevron[_ngcontent-nyn-c114],
.mat-mdc-tab-group.mat-tabs-with-background[_ngcontent-nyn-c114]>.mat-mdc-tab-header[_ngcontent-nyn-c114] .mat-mdc-focus-indicator[_ngcontent-nyn-c114]::before {
    border-color: blue !important
}

::ng-deep .mat-mdc-tab-group.mat-background-primary,
.mat-mdc-tab-nav-bar.mat-background-primary {
    --mat-mdc-tab-header-with-background-background-color: darkcyan;
    --mat-mdc-tab-header-with-background-foreground-color: whitesmoke;
}

.event-name {
    color: white;
    font-weight: bolder;
    text-align: center;
}

.detail-container{
    width: fit-content;
    text-align: center;
}

.detail-label {
    color: aquamarine;
    font-weight: bold;
}

.detail-content {
    color: white;
}

.detail-status{
    width: fit-content;
    color: white;
    border-radius: 10px;
}

.onsale {
    background-color: green;
}

.offsale {
    background-color: red;
}

.cancelled {
    background-color: black;
}

.postponed {
    background-color: orange;
}

.rescheduled {
    background-color: orange;
}

.hide{
    line-height: 1.2em;
    height: 2.5em;
    overflow: hidden;
}

.show{
    height: auto;
    overflow: visible;
}

.show-link{
    color: cornflowerblue;
    text-decoration: underline;
    vertical-align: middle;
}

.show-link-container{
    width: fit-content;
    cursor: pointer;
}

.show-link-arrow{
    color: white;
    vertical-align: middle;
}

.favorite{
    background-color: white;
    border-radius: 50%;
    color: gray;
    cursor: pointer;
}

.favorite-hit{
    background-color: white;
    border-radius: 50%;
    color: red;
    cursor: pointer;
}