CoreFiles by mySites.guru
_quickicons.scss290 lines, 5,737 bytes, from Joomla_4.0.0-alpha11-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha10
md5
0cc691bf0c6b57674fabac753bc0dedf
sha1
401c1c38a0c6553f57ab78ec434da2f52e246937
sha256
f21a3ea89dd76568b8c8dd977db9669a9873ee1e35a94a985c4d9a7df48907a5
// Quick Icons

.quick-icons {
  background-color: $white;

  ul {
    list-style: none;
  }
  
  // Group link to the overview and link to the edit form in a container
  .quickicon-group {
    width: calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    flex: 1 1 calc(33.333% - 1rem);
    margin: 0.5rem;
    padding: 0;
	
    @media (max-width: 1350px)  {
      width: calc(50% - 1rem);
      max-width: calc(50% - 1rem);
      flex: 1 1 calc(50% - 1rem);
    }
    @media (max-width: 1150px) {
      width: calc(100% - 1rem);
      max-width: calc(100% - 1rem);
      flex: 1 1 calc(100% - 1rem);
    }
    @include media-breakpoint-down(sm) {
      width: calc(50% - 1rem);
      max-width: calc(50% - 1rem);
      flex: 1 1 calc(50% - 1rem);
    }
    @media (max-width: 430px) {
      width: calc(100% - 1rem);
      max-width: calc(100% - 1rem);
      flex: 1 1 calc(100% - 1rem);
    }
	
    .quickicon {
      display: block;
      position: relative;
    }
	
    .quickicon-linkadd {
      position: relative;
      font-size: $display2-size;
      background-color: var(--atum-bg-light);
      line-height: 2rem;
      margin-top: 0.4rem;
      border: 1px solid $gray-400;
	  
      a {
        overflow: hidden;
        display: block;
        padding-left: 2.4rem;
        color: var(--atum-text-dark);
		
        @include hover-focus-active {
          text-decoration: none;
          color: $white;
          background: var(--atum-bg-dark);
        }  
      }

    .fa {
      text-align: center;
      position: absolute;
      left: 0;
      display: inline-block;
      width: 2rem;
      height: 2rem;
      line-height: 2rem;
      color: $quickicon-bg;
      background-color: var(--atum-bg-dark);
     } 
    }
  }
  
  // Single icon 
  .quickicon-single {
    width: calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    flex: 1 1 calc(33.333% - 1rem);
    background: $quickicon-bg;
    margin: 0.5rem;
    padding: 0;
  }
  
  .quickicon-single,
  .quickicon-group {
    @media (max-width: 1350px) {
      width: calc(50% - 1rem);
      max-width: calc(50% - 1rem);
      flex: 1 1 calc(50% - 1rem);
    }
    @media (max-width: 1150px) {
      width: calc(100% - 1rem);
      max-width: calc(100% - 1rem);
      flex: 1 1 calc(100% - 1rem);
    }
    @include media-breakpoint-down(sm) {
      width: calc(50% - 1rem);
      max-width: calc(50% - 1rem);
      flex: 1 1 calc(50% - 1rem);
    }
    @media (max-width: 430px) {
      width: calc(100% - 1rem);
      max-width: calc(100% - 1rem);
      flex: 1 1 calc(100% - 1rem);
    }
  }
	
  .quickicon a {
    display: inline-flex;
    min-height: 5.7rem;
    flex-direction: column;
    width: 100%;
    transition: all .25s ease;
    border: 1px solid $gray-400;
    background-color: var(--toolbar-bg);
    color: var(--atum-text-dark);
    line-height: 1.1;
    align-self: baseline;
    text-align: center;

    .fa,
    .fab {
      font-size: $quickicon-icon-size;
      color: var(--atum-bg-dark);

      &:hover {
        color: var(--atum-bg-dark);;
      }
    }

    &:hover {
      color: $white;
    }

    @include hover-focus-active {
      text-decoration: none;

      .fa {
        color: $white;
      }
    }

    > div {
      flex: 1 0 0;
      margin: 0 auto;

      &.quickicon-icon {
        margin: .8rem auto 0;

        &.big {
          .fa,
          .fab {
            font-size: $quickicon-icon-size-big;
          }
        }
      }
    }

    .quickicon-name {
      font-size: $display2-size;
      padding-bottom: .6rem;
    }

    .quickicon-amount {
      font-size: $display1-size;
      font-weight: $bold-weight;
      padding: .3rem;
      margin-top: .3rem !important;

      > .fa-spinner {
        font-size: $display1-size;
      }
    }

    .quickicon-text {
      text-align: center;
      min-height: 1.2rem;
      padding: 0.2rem;
    }

    .j-links-link {
      display: block;
      padding: 0 1rem;
      line-height: 1.1;
    }

    &.warning,
    &.danger {
      background: $danger-bg;
      border: 1px solid lighten($danger-txt, 30%);

      .fa,
      .fab {
        color: $danger-txt;
      }

      @include hover-focus-active {
        background: var(--danger);
        color: var(--white);

        .fa,
        .fab {
          &::before {
            color: var(--white);
          }
        }
      }
    }

    &.success {
      color: $success-txt;
      border: 1px solid lighten($success-txt, 20%);

      .fa,
      .fab {
        color: var(--success);
      }

      @include hover-focus-active {
        background: var(--success);
        color: var(--white);

        .fa,
        .fab {
          &::before {
            color: var(--white);
          }
        }
      }
    }

    @include hover-focus-active {
      text-decoration: none;
      color: $white;
      background: var(--atum-bg-dark);
    }  
  }	 
}

#content {
  .menu-quicktask {
    position: absolute;
    right: 1.25rem;
  }
}

#cpanel-modules{
	.cpanel-quickicons,
	.cpanel{

	  .card-columns {
		@include media-breakpoint-down(md) {
		  column-count: 2;
		}

		@include media-breakpoint-down(sm) {
		  column-count: 1;
		}
	  }
	}
}

#wrapper.closed {
  .quick-icons {
    .quickicon-single,
    .quickicon-group {
      @media (max-width: 1180px) {
        width: calc(50% - 1rem);
        max-width: calc(50% - 1rem);
        flex: 1 1 calc(50% - 1rem);
      }
      @media (max-width: 950px) {
        width: calc(100% - 1rem);
        max-width: calc(100% - 1rem);
        flex: 1 1 calc(100% - 1rem);
      }
      @media (max-width: 767px) {
        width: calc(33% - 1rem);
        max-width: calc(33% - 1rem);
        flex: 1 1 calc(33% - 1rem);
      }
    }
  }
}

No other release has this exact content. See every version of this file.