Changeset 5864 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/widget-area/widgets/meta/style.scss
- Timestamp:
- 09/03/2017 04:09:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/widget-area/widgets/meta/style.scss
r5410 r5864 15 15 padding: 0.5rem 0; 16 16 width: 100%; 17 position: relative; 17 18 18 19 strong { 19 20 float: right; 20 21 } 21 22 22 23 &:first-child { 23 24 border-top: 0; … … 25 26 } 26 27 28 .languages, 27 29 .tags { 28 30 float: right; 29 31 text-align: right; 32 } 33 34 .tags { 30 35 width: 60%; 36 } 37 38 .languages .popover { 39 margin-top: 8px; 40 } 41 42 .languages .popover-trigger { 43 color: $color__link; 44 font-weight: 600; 45 46 &:hover { 47 text-decoration: underline; 48 } 31 49 } 32 50 … … 53 71 } 54 72 } 73 } 55 74 75 .popover { 76 display: none; 77 position: absolute; 78 width: 100%; 79 max-width: 300px; 80 left: 0; 81 z-index: 100; 82 padding: 1em 1em 2em; 83 margin-top: 10px; 84 background-color: #fff; 85 border: 1px solid #ccc; 86 border-radius: 2px; 87 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 88 89 &.is-top-right { 90 left: auto; 91 right: 0; 92 } 93 94 &.is-visible { 95 display: block; 96 } 97 98 .popover-close { 99 position: absolute; 100 bottom: .5em; 101 right: .6em; 102 font-size: small; 103 color: $color__link; 104 105 &:hover, 106 &:focus, 107 &:active { 108 text-decoration: underline; 109 } 110 } 111 112 .popover-arrow { 113 position: absolute; 114 height: 0; 115 width: 0; 116 top: -10px; 117 right: 20px; 118 z-index: -1; 119 border: 10px solid #ccc; 120 border-top: none; 121 border-left-color: transparent; 122 border-right-color: transparent; 123 124 &:after { 125 content: ''; 126 position: absolute; 127 top: 2px; 128 left: -10px; 129 border: 10px solid #fff; 130 border-top: none; 131 border-left-color: transparent; 132 border-right-color: transparent; 133 } 134 } 135 136 .popover-inner { 137 text-align: left; 138 } 56 139 }
Note: See TracChangeset
for help on using the changeset viewer.