Sha256: 33df17bd3eb261d318ad01be5d43691bf67829b4fb82944b834188d9a9ff7641

Contents?: true

Size: 861 Bytes

Versions: 1

Compression:

Stored size: 861 Bytes

Contents

.dropdown {
	position: absolute;
	z-index: var(--z-over-content);
	top: 0;
	right: 0;
	width: 280px;
	color: #000;
	font-size: calc(var(--font-size) - 1px);
	background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
  border-radius: 3px;
	max-height: 300px;
	margin: 0;
	padding: 0;
  overflow: hidden;
  &.dropdown-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: none;
    border: none;
  }
  & .close {
    margin: 20px auto;
  }
  &.open {
    overflow: auto;
  }
  & ul {
  	list-style: none;
  	margin: 0;
  	& li {
  		border-bottom: 1px solid rgba(0, 0, 0, .07);
  		&:last-child {
  			border-bottom: none;
  		}
  	}
  	& a {
  		display: block;
  		padding: 12px;
  		text-decoration: none;
  		color: #000;
  		&:hover {
  			background: rgba(0, 0, 0, .05);
  		}
  	}
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kube-6.5.2.0 app/assets/stylesheets/kube/components/_dropdown.scss