assistant-todo/src/ui/globals.css

53 lines
1.2 KiB
CSS
Raw Normal View History

2024-04-12 06:43:55 -04:00
@tailwind base;
@tailwind components;
@tailwind utilities;
input[type='number'] {
-moz-appearance: textfield;
appearance: textfield;
}
input[type='number']::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type='number']::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
2025-06-11 06:33:27 -04:00
}
2025-06-17 07:01:54 -04:00
html {
2025-06-11 06:33:27 -04:00
font-size: 16px;
2025-06-17 07:01:54 -04:00
padding: 0;
margin: 0;
box-sizing: border-box;
}
.icon {
/* em 当前元素的 font-size 值,如果元素没有显式设置 font-size则继承父元素的 font-size。 控制与字体大小相关的属性*/
width: 2em;
2025-06-17 07:01:54 -04:00
height: 1em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
padding-right: 0.5em;
2025-06-26 06:59:31 -04:00
}
.displayFlexRow{
display: flex;
justify-content: flex-start; /* 水平居中 */
align-items: center; /* 垂直居中 */
}
.displayFlexColumn{
display: flex;
flex-direction: column;
justify-content: flex-start; /* 水平居中 */
align-items: center; /* 垂直居中 */
}
.scrollHidden{
overflow: auto;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE和Edge */
}
.scrollHidden::-webkit-scrollbar {
display: none; /* Chrome, Safari, Opera */
2024-04-12 06:43:55 -04:00
}