convert admin template into go template
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								static/admin/scss/mixins/.DS_Store
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								static/admin/scss/mixins/.DS_Store
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										70
									
								
								static/admin/scss/mixins/_animation.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										70
									
								
								static/admin/scss/mixins/_animation.scss
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,70 @@
 | 
			
		||||
/* Animation Mixins */
 | 
			
		||||
@keyframes dropdownAnimation {
 | 
			
		||||
  from {
 | 
			
		||||
    opacity: 0;
 | 
			
		||||
    transform: translate3d(0, -30px, 0);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  to {
 | 
			
		||||
    opacity: 1;
 | 
			
		||||
    transform: none;
 | 
			
		||||
    transform: translate3d(0, 0px, 0);
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.dropdownAnimation {
 | 
			
		||||
  animation-name: dropdownAnimation;
 | 
			
		||||
  @include animation-duration($action-transition-duration);
 | 
			
		||||
  @include animation-fill-mode(both);
 | 
			
		||||
}
 | 
			
		||||
@mixin transition($settings) {
 | 
			
		||||
  -webkit-transition: $settings;
 | 
			
		||||
  -moz-transition: $settings;
 | 
			
		||||
  -ms-transition: $settings;
 | 
			
		||||
  -o-transition: $settings;
 | 
			
		||||
  transition: $settings;
 | 
			
		||||
}
 | 
			
		||||
@keyframes fadeOut {
 | 
			
		||||
  from {
 | 
			
		||||
    opacity: 1;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  to {
 | 
			
		||||
    opacity: 0;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.fadeOut {
 | 
			
		||||
  animation-name: fadeOut;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.infinite-spin {
 | 
			
		||||
  @keyframes spin {
 | 
			
		||||
    from {
 | 
			
		||||
      transform: rotate(0deg);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    to {
 | 
			
		||||
      transform: rotate(360deg);
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  animation-name: spin;
 | 
			
		||||
  animation-duration: 3s;
 | 
			
		||||
  animation-iteration-count: infinite;
 | 
			
		||||
  animation-timing-function: linear;
 | 
			
		||||
}
 | 
			
		||||
@keyframes fadeInUp {
 | 
			
		||||
  from {
 | 
			
		||||
    opacity: 0;
 | 
			
		||||
    transform: translate3d(0, 100%, 0);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  to {
 | 
			
		||||
    opacity: 1;
 | 
			
		||||
    transform: none;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.fadeInUp {
 | 
			
		||||
  animation-name: fadeInUp;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										7
									
								
								static/admin/scss/mixins/_badges.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								static/admin/scss/mixins/_badges.scss
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
//Badge Mixins
 | 
			
		||||
 | 
			
		||||
// Badge outlined variations
 | 
			
		||||
@mixin badge-outline-variations($color) {
 | 
			
		||||
	color: $color;
 | 
			
		||||
	border: 1px solid $color;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										8
									
								
								static/admin/scss/mixins/_blockqoute.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								static/admin/scss/mixins/_blockqoute.scss
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,8 @@
 | 
			
		||||
// BlockQuote Mixins //
 | 
			
		||||
 | 
			
		||||
@mixin blockquote($color) {
 | 
			
		||||
  border-color: $color;
 | 
			
		||||
  .blockquote-footer {
 | 
			
		||||
    color: $color;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										60
									
								
								static/admin/scss/mixins/_buttons.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								static/admin/scss/mixins/_buttons.scss
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,60 @@
 | 
			
		||||
@mixin social-button($color) {
 | 
			
		||||
    background: $color;
 | 
			
		||||
    color: $white;
 | 
			
		||||
  
 | 
			
		||||
    &:hover,
 | 
			
		||||
    &:focus {
 | 
			
		||||
      background: darken($color, 10%);
 | 
			
		||||
      color: $white;
 | 
			
		||||
    }
 | 
			
		||||
    &.btn-social-icon-text {
 | 
			
		||||
      padding: 0 1.5rem 0 0;
 | 
			
		||||
      background: lighten($color, 10%);
 | 
			
		||||
      i {
 | 
			
		||||
        background: $color;
 | 
			
		||||
        padding: .75rem;
 | 
			
		||||
        display: inline-block;
 | 
			
		||||
        margin-right: 1.5rem;
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@mixin social-outline-button($color) {
 | 
			
		||||
  border: 1px solid $color;
 | 
			
		||||
  color: $color;
 | 
			
		||||
  &:hover {
 | 
			
		||||
    background: $color;
 | 
			
		||||
    color: $white;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@mixin button-inverse-variant($color, $color-hover: $white) {
 | 
			
		||||
    background-color: rgba($color, 0.2);
 | 
			
		||||
    background-image: none;
 | 
			
		||||
    border-color: rgba($color, 0);
 | 
			
		||||
    &:not(.btn-inverse-light) {
 | 
			
		||||
      color: $color;      
 | 
			
		||||
    }
 | 
			
		||||
    &:hover {
 | 
			
		||||
      color: $color-hover;
 | 
			
		||||
      background-color: $color;
 | 
			
		||||
      border-color: $color;
 | 
			
		||||
    }
 | 
			
		||||
  
 | 
			
		||||
    &.focus,
 | 
			
		||||
    &:focus {
 | 
			
		||||
      box-shadow: 0 0 0 3px rgba($color, .5);
 | 
			
		||||
    }
 | 
			
		||||
  
 | 
			
		||||
    &.disabled,
 | 
			
		||||
    &:disabled {
 | 
			
		||||
      color: $color;
 | 
			
		||||
      background-color: transparent;
 | 
			
		||||
    }
 | 
			
		||||
  
 | 
			
		||||
    &.active,
 | 
			
		||||
    &:active,
 | 
			
		||||
    .show > &.dropdown-toggle {
 | 
			
		||||
      color: $color-hover;
 | 
			
		||||
      background-color: $color;
 | 
			
		||||
      border-color: $color;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										7
									
								
								static/admin/scss/mixins/_cards.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								static/admin/scss/mixins/_cards.scss
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
// Cards Mixins 
 | 
			
		||||
 | 
			
		||||
@mixin card-inverse-variant($bg, $border, $color) {
 | 
			
		||||
  background: $bg;
 | 
			
		||||
  border: 1px solid $border;
 | 
			
		||||
  color: $color;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										72
									
								
								static/admin/scss/mixins/_misc.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										72
									
								
								static/admin/scss/mixins/_misc.scss
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,72 @@
 | 
			
		||||
/* Miscellaneous Mixins */
 | 
			
		||||
 | 
			
		||||
// general transform
 | 
			
		||||
@mixin transform($transforms) {
 | 
			
		||||
	   -moz-transform: $transforms;
 | 
			
		||||
	     -o-transform: $transforms;
 | 
			
		||||
	    -ms-transform: $transforms;
 | 
			
		||||
	-webkit-transform: $transforms;
 | 
			
		||||
          transform: $transforms;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// rotate
 | 
			
		||||
@mixin rotate ($deg) {
 | 
			
		||||
  @include transform(rotate(#{$deg}deg));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// scale
 | 
			
		||||
@mixin scale($scale) {
 | 
			
		||||
	 @include transform(scale($scale));
 | 
			
		||||
}
 | 
			
		||||
// translate
 | 
			
		||||
@mixin translate ($x, $y) {
 | 
			
		||||
   @include transform(translate($x, $y));
 | 
			
		||||
}
 | 
			
		||||
// skew
 | 
			
		||||
@mixin skew ($x, $y) {
 | 
			
		||||
   @include transform(skew(#{$x}deg, #{$y}deg));
 | 
			
		||||
}
 | 
			
		||||
//transform origin
 | 
			
		||||
@mixin transform-origin ($origin) {
 | 
			
		||||
    moz-transform-origin: $origin;
 | 
			
		||||
	     -o-transform-origin: $origin;
 | 
			
		||||
	    -ms-transform-origin: $origin;
 | 
			
		||||
	-webkit-transform-origin: $origin;
 | 
			
		||||
          transform-origin: $origin;
 | 
			
		||||
}
 | 
			
		||||
//Ellipsis
 | 
			
		||||
%ellipsor{
 | 
			
		||||
	text-overflow: ellipsis;
 | 
			
		||||
	overflow: hidden;
 | 
			
		||||
	max-width:100%;
 | 
			
		||||
	white-space: nowrap;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Placeholder
 | 
			
		||||
@mixin placeholder {
 | 
			
		||||
	&::-webkit-input-placeholder {
 | 
			
		||||
		@content
 | 
			
		||||
	}
 | 
			
		||||
	&:-moz-placeholder {
 | 
			
		||||
		@content
 | 
			
		||||
	}
 | 
			
		||||
	&::-moz-placeholder {
 | 
			
		||||
		@content
 | 
			
		||||
	}
 | 
			
		||||
	&:-ms-input-placeholder {
 | 
			
		||||
		@content
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
%ellipsor {
 | 
			
		||||
  text-overflow: ellipsis;
 | 
			
		||||
  overflow: hidden;
 | 
			
		||||
  max-width: 100%;
 | 
			
		||||
  white-space: nowrap;
 | 
			
		||||
}
 | 
			
		||||
@mixin ellipsor {
 | 
			
		||||
  text-overflow: ellipsis;
 | 
			
		||||
  overflow: hidden;
 | 
			
		||||
  max-width: 100%;
 | 
			
		||||
  white-space: nowrap;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user