Initial commit
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
.icon-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 20px; /* Giảm từ 24px xuống 20px */
|
||||
height: 20px; /* Giảm từ 24px xuống 20px */
|
||||
padding: 0;
|
||||
margin: 0 1px; /* Giảm margin từ 2px xuống 1px */
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
color: #858585;
|
||||
cursor: pointer;
|
||||
transition: color 0.15s ease, background-color 0.15s ease;
|
||||
border-radius: 2px;
|
||||
flex-shrink: 0; /* Không cho phép shrink */
|
||||
}
|
||||
|
||||
.icon-button:hover {
|
||||
background-color: #2a2d2e;
|
||||
color: #cccccc;
|
||||
}
|
||||
|
||||
.icon-button:active {
|
||||
background-color: #3e3e42;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.icon-button:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.icon-button.disabled,
|
||||
.icon-button:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.icon-button span {
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user