12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- .container {
- width: 100%;
- position: relative;
- display: inline-block;
- margin-left: 4px;
- margin-right: 4px;
- text-align: center;
- }
- .button {
- margin-left: auto;
- margin-right: auto;
- font-size: 20px;
- width: 48px;
- height: 48px;
- display: flex;
- justify-content: center;
- align-items: center;
- border-radius: 50%;
- text-align: center;
- padding: 4px;
- background-color: #555;
- border: 4px solid #333;
- color: #fff;
- cursor: pointer;
- transition: background-color 300ms;
- }
- .button:hover {
- background-color: #777;
- }
- .list {
- margin-top: 5px;
- display: block;
- position: absolute;
- background-color: #333;
- transform: translateX(-50%);
- left: 50%;
- min-width: 120px;
- z-index: 1;
- border-radius: 12px;
- overflow: hidden;
- border: 4px solid #333;
- }
- .list-enter {
- opacity: 0;
- }
- .list-enter-active {
- opacity: 1;
- transition: opacity 200ms;
- }
- .list-exit {
- opacity: 1;
- }
- .list-exit-active {
- opacity: 0;
- transition: opacity 200ms;
- }
- .item {
- padding: 6px 4px;
- text-align: center;
- display: block;
- cursor: pointer;
- transition: background-color 300ms;
- white-space: nowrap;
- }
- .item:hover {
- background-color: #555;
- }
- .search {
- outline: none;
- border-radius: 8px;
- border: #666 solid 1px;
- background-color: #181a1b;
- color: #eee;
- padding: 4px 0.5em 4px 0.5em;
- }
|