styles-samples-widget.css in WPGlobus trunk, at docs/styles-samples-widget.css
| 1 | /** |
| 2 | * CSS Rules for widget with the language switcher |
| 3 | */ |
| 4 | |
| 5 | /** |
| 6 | * Twenty Fourteen |
| 7 | */ |
| 8 | .dropdown-styled { |
| 9 | display: inline; |
| 10 | text-align: left; |
| 11 | list-style: none; |
| 12 | } |
| 13 | .dropdown-styled li { |
| 14 | text-align: left; |
| 15 | display: inline-block; |
| 16 | margin-right: -4px; |
| 17 | position: relative; |
| 18 | padding: 5px 10px; |
| 19 | background: #000; |
| 20 | cursor: pointer; |
| 21 | } |
| 22 | .dropdown-styled a:hover { |
| 23 | color:#fff; |
| 24 | } |
| 25 | .dropdown-styled li:hover { |
| 26 | background: #24890d; |
| 27 | color: #fff; |
| 28 | } |
| 29 | .dropdown-styled li ul { |
| 30 | padding: 0; |
| 31 | position: absolute; |
| 32 | top: 28px; |
| 33 | left: -10px; |
| 34 | width: 150px; |
| 35 | display: none; |
| 36 | opacity: 0; |
| 37 | visibility: hidden; |
| 38 | } |
| 39 | .dropdown-styled li ul li { |
| 40 | background: #24890d; |
| 41 | display: block; |
| 42 | color: #fff; |
| 43 | } |
| 44 | .dropdown-styled li ul li:hover { |
| 45 | background: #41a62a; |
| 46 | } |
| 47 | |
| 48 |