Socialify

Folder ..

Viewing _pm-apps-dropdown.scss
59 lines (50 loc) • 941.0 B

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.appsDropdown {
	&.dropDown {
		--min-width: 13em;
		--max-width: 15.5em; // Be carefull to not exceed the nav bar
		--max-height: 25em;

		--dropdown-border-color: #{$pm-tertiary-grey};
		--dropdown-bg-color: #{$pm-secondary-grey};

		color: $pm-global-light;

		@include respond-to($breakpoint-small, 'min') {
			box-shadow: 0 .5rem 1.5rem 0 rgba(black, .75);
		}

		a {
			&,
			&:hover,
			&:focus {
				color: $white;
			}
		}
	}

	&-button {
		border-radius: $global-border-radius;
		padding: .25em;

		&:hover,
		&:focus,
		&[aria-expanded="true"] {
			background-color: $navigation-hover-bg-color;
		}
		& &-icon { // override icon-16p
			width: 1em;
			height: 1em;
			font-size: 2em;
		}
	}

	/* No border for now
	&-item.dropDown-item {
		--bordercolor-input: #{$pm-tertiary-grey};
	}
	*/

	&-link {
		&,
		&:hover,
		&:focus {
			text-decoration: none;
		}

		&:hover,
		&:focus {
			background-color: rgba(white, .05);
		}
	}
}