1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- .component {
- position: relative;
- float: right;
- height: 34px;
- }
-
- .component:hover {
- background-color: #000;
- }
-
- .button {
- width: 34px;
- height: 34px;
- background: none;
- border: 0;
- color: inherit;
- font: inherit;
- line-height: normal;
- overflow: visible;
- padding: 0;
- cursor: pointer;
- }
-
- .button:focus {
- outline: 0;
- }
-
- .icon {
- padding: 5px;
- }
-
- .speedList {
- position: absolute;
- bottom: 100%;
- display: none;
- background-color: rgba(0, 0, 0, 0.7);
- list-style: none;
- padding: 0;
- margin: 0;
- color: #fff;
- }
-
- .component:hover .speedList {
- display: block;
- }
-
- .speedItem {
- padding: 7px;
- cursor: pointer;
- }
-
- .activeSpeedItem, .speedItem:hover {
- background: #000;
- }
-
- .activeSpeedItem {
- composes: speedItem;
- text-decoration: underline;
- }
|