| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215 |
- .questionAnswerList {
- width: 100%;
- height: 100%;
- background: #FFFFFF;
- border-radius: @border-radius-base;
- padding: 16px 20px;
- }
- .applicationList {
- width: 100%;
- min-height: 600px;
- }
- .card{
- padding: 16px;
- border: 1px solid @border-color;
- border-radius: @border-radius-large;
- min-height: 200px;
- overflow: auto;
-
- // 默认状态下操作按钮颜色
- .action-button {
- color: #999 !important;
- transition: color 0.3s ease;
-
- &:hover {
- color: @primary-color !important;
- }
- }
-
- .delete-button {
- color: #999 !important;
- transition: color 0.3s ease;
-
- &:hover {
- color: @error-color !important;
- }
- }
- }
- .card:hover{
- box-shadow: 0 0 8px rgba(0,0,0,.1);
- border: 1px solid @primary-color ;
-
- // 悬停状态下操作按钮颜色
- .action-button {
- color: @primary-color !important;
- }
-
- .delete-button {
- color: @error-color !important;
- }
- }
- .desc {
- height: 56px;
- overflow: hidden;
- font-weight: 300; /* 细体字 */
- line-height: 20px;
- transition: all 0.3s;
- }
- .ant-select-selector {
- border-radius: 4px !important;
- background: #fff !important;
- height: 32px !important;
- }
- .ant-select-dropdown {
- .ant-select-item-option-selected {
- background-color: @primary-color !important;
- color: #fff !important;
- }
-
- .ant-select-item-option-active {
- background-color: rgba(0, 123, 255, 0.1);
- }
- }
- // 按钮组筛选样式
- .filter-button-group {
- display: flex;
- gap: 8px;
- flex-wrap: wrap;
-
- .ant-btn {
- border-radius: 16px;
- height: 32px;
- padding: 0 16px;
- font-size: 14px;
- font-weight: 400;
- border: 1px solid #d9d9d9;
- background-color: #fff;
- color: #000;
- transition: all 0.3s ease;
- display: flex;
- align-items: center;
-
- &:hover {
- transform: translateY(-1px);
- box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
- border-color: #40a9ff;
- color: #40a9ff;
- }
-
- // 所有选中状态的按钮都使用统一的蓝色主题
- &.ant-btn-primary {
- background-color: #1890ff !important;
- border-color: #1890ff !important;
- color: #fff !important;
- font-weight: 500 !important;
-
- &:hover {
- background-color: #40a9ff !important;
- border-color: #40a9ff !important;
- color: #fff !important;
- }
- }
-
- // 全部按钮特殊样式 - 未选中时
- &:first-child:not(.ant-btn-primary) {
- background-color: #f5f5f5;
- border-color: #d9d9d9;
- color: #666;
-
- &:hover {
- background-color: #e6f7ff;
- border-color: #40a9ff;
- color: #40a9ff;
- }
- }
-
- // 图标样式优化
- .anticon {
- font-size: 14px;
- margin-right: 4px;
- transition: color 0.3s ease;
- color: #666; // 默认颜色
- }
-
- // 悬停时图标颜色变化
- &:hover .anticon {
- color: #40a9ff !important;
- }
-
- // 选中状态时图标颜色
- &.ant-btn-primary .anticon {
- color: #fff !important;
- }
-
- // 选中状态悬停时图标颜色
- &.ant-btn-primary:hover .anticon {
- color: #fff !important;
- }
-
- // 全部按钮未选中时图标颜色
- &:first-child:not(.ant-btn-primary) .anticon {
- color: #666;
- }
-
- // 全部按钮悬停时图标颜色
- &:first-child:not(.ant-btn-primary):hover .anticon {
- color: #40a9ff;
- }
- }
- }
- // 响应式处理
- @media (max-width: 768px) {
- .filter-button-group {
- gap: 6px;
-
- .ant-btn {
- font-size: 12px;
- padding: 0 12px;
- height: 28px;
- }
- }
- }
- @media (max-width: 480px) {
- .filter-button-group {
- gap: 4px;
-
- .ant-btn {
- font-size: 11px;
- padding: 0 8px;
- height: 24px;
- border-radius: 12px;
- }
- }
- }
- // 圆形按钮样式优化
- .ant-btn-circle {
- width: 32px;
- height: 32px;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- transition: all 0.3s ease;
-
- &:hover {
- transform: translateY(-1px);
- box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
- }
-
- .anticon {
- font-size: 14px;
- }
- }
|