@import "spreadsheet-valo";
@import "spreadsheet-legacy";

$v-color-keywords: non-valo-theme !default;

@mixin spreadsheet {
	
	// Very nice workaround for missing variable-exists function
	@if $v-color-keywords == non-valo-theme {
	    @include spreadsheet-legacy;
	} @else {
		@include spreadsheet-valo;
	} 
	
	span.code-snippet {
		font-family: "Courier New",Courier,monospace;
	}

	.v-label-overlay-content {
		padding: 10px;
	}

  .sheet-image > .v-csslayout {
    overflow: visible;
    position: relative;
    
    .v-button-minimize-button {
      top: -14px;
      position: absolute;
      height: auto;
      padding: 0;
      
      &::after {
        -webkit-box-shadow: none;
        -moz-shadow: none;
        -ms-shadow: none;
        box-shadow: none;
      }
            
      .v-button-caption {
        display: none;
      }
    }
  }
}