Sha256: 6fd61eed6b63aaf530384fc4afc6c659dab0d04ac0219e18e95a013b073587e4

Contents?: true

Size: 641 Bytes

Versions: 2

Compression:

Stored size: 641 Bytes

Contents

.btn-flat {
	background-color: transparent;
	box-shadow: none;
	&:after {
		background-color: $offwhite-dark;
		box-shadow: none;
		display: block !important;
	}
	&:active:after,
	&:focus:after,
	&:hover:after {
		opacity: 0.5;
	}
	&:not(.waves-attach):active:after {
		opacity: 1;
	}
	&.disabled,
	&[disabled],
	fieldset[disabled] & {
		background-color: transparent !important;
	}
}

// colour
	@each $color in $palette-list-class {
		$i: index($palette-list-class, $color);

		.btn-flat.btn-#{$color} {
			color: nth($palette-list-color, $i);
			&[disabled],
			fieldset[disabled] & {
				color: nth($palette-list-light, $i);
			}
		}
	}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
material-sass-1.1.0 app/assets/stylesheets/material/components/_button-flat.scss
material-sass-1.0.0 app/assets/stylesheets/material/components/_button-flat.scss