Sha256: 14bc38b23fa312c4770de02a719799c60af019d0cf197215cd7e2c81aa20001a

Contents?: true

Size: 1.02 KB

Versions: 8

Compression:

Stored size: 1.02 KB

Contents

.header .header-block-search {
	$line-height: $header-height - 30px;
	margin-right: auto;

	// float: left;
	padding-left: $content-padding-x-md;

	@include media-down(sm) {
		padding-left: $content-padding-x-xs;
		display: none;
	}

	@include media(md) {
		padding-left: $content-padding-x-sm;
	}

	@include media(lg) {
		padding-left: $content-padding-x-md;
	}

	@include media-up(xl) {
		padding-left:  $content-padding-x-lg;
	}

	& > form {
		float: right;

		@include media-down(sm) {
			padding-left: 0;
		}
	} 

	.input-container {
		position: relative;
		color: $color-text-light;

		i {
			position: absolute;
			pointer-events: none;
			display: block;
			height: $line-height;
			line-height: $line-height;
			left: 0;
		}

		input {
			background-color: transparent;
			border: none;
			padding-left: 25px;
			height: 40px;
			max-width: 150px;

			@include media-down(sm) {
				max-width: 140px;
			}
		}

		// .underline {
		// 	&:extend(.underline-animation);
		// }


		input:focus + .underline {
			transform: scaleX(1);
		}

	}
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rails_modular_admin-1.0.0 app/assets/stylesheets/rails_modular_admin/app/_common/header/search/search.scss
rails_modular_admin-0.4.0 app/assets/stylesheets/rails_modular_admin/app/_common/header/search/search.scss
rails_modular_admin-0.3.1 app/assets/stylesheets/rails_modular_admin/app/_common/header/search/search.scss
rails_modular_admin-0.3.0 app/assets/stylesheets/rails_modular_admin/app/_common/header/search/search.scss
rails_modular_admin-0.2.4 app/assets/stylesheets/rails_modular_admin/app/_common/header/search/search.scss
rails_modular_admin-0.2.3 app/assets/stylesheets/rails_modular_admin/app/_common/header/search/search.scss
rails_modular_admin-0.2.2 app/assets/stylesheets/rails_modular_admin/app/_common/header/search/search.scss
rails_modular_admin-0.2.0 app/assets/stylesheets/rails_modular_admin/app/_common/header/search/search.scss