123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- QWidget
- {
- font-family: 思源黑体M;
- text-align: left;
- font-style: normal;
-
- }
- QDialog#ParamConfig
- {
- background: transparent;
- }
- QWidget#widget
- {
- background: #2E2D31;
- /* box-shadow: 0px 10px 14px 6px rgba(0,0,0,0.2); */
- border-radius: 10px;
- border: 1px solid #595959;
- }
- /* 设置顶栏背景 */
- QWidget#widget_top
- {
- /* background: #6C697C; 使用这个颜色不正常,使用下面的就正常了 */
- background: rgba(108,105,124,0.2);
- border-top-left-radius: 10px;
- border-top-right-radius: 10px;
- /* opacity: 0.2; */
- }
- /********************** 设置按钮 ***********************/
- /* 设置关闭按钮 */
- QPushButton#pBtn_close
- {
- background: transparent;
- border: none;
- border-image: url(:/image/Resource/image/close_dark/close_default.png);
- /* background-image: url(:/Standard_ICON/close_dark/close_default.png); */
- }
- QPushButton#pBtn_close:hover
- {
- /* background-image: url(:/Standard_ICON/close_dark/close_pass.png); */
- border-image: url(:/image/Resource/image/close_dark/close_pass.png);
- }
- /* 设置确定按钮 */
- QPushButton#pBtn_save
- {
- font-size:14px;
- font-weight: 500;
- text-align: center;
- color: #f3f7ff;
- line-height: 24px;
- border: 1px solid #000000;
- border-radius: 4px;
- background: #0058b1;
- }
- QPushButton#pBtn_save::hover
- {
- font-size:14px;
- font-weight: 500;
- text-align: center;
- color: #f3f7ff;
- line-height: 24px;
- border: 1px solid #000000;
- border-radius: 4px;
- background: #1a69b8;
- }
- QPushButton#pBtn_cancel
- {
- font-size:14px;
- font-weight: 500;
- text-align: center;
- color: #f3f7ff;
- line-height: 24px;
- border: 1px solid #000000;
- border-radius: 4px;
- background: #3e3d42;
- }
- QPushButton#pBtn_cancel::hover
- {
- font-size:14px;
- font-weight: 500;
- text-align: center;
- color: #f3f7ff;
- line-height: 24px;
- border: 1px solid #000000;
- border-radius: 4px;
- background: #605e65;
- }
- /************************** 设置Label ************************/
- QLabel#label_title
- {
- font-weight: bold;
- font-size: 18px;
- color: #D2D2D2;
- line-height: 27px;
- text-align: left;
- font-style: normal;
- text-transform: uppercase;
- }
- /* 其他label字体 */
- QLabel
- {
- font-weight: 400;
- font-size: 14px;
- color: #D2D2D2;
- line-height: 21px;
- text-align: left;
- font-style: normal;
- }
- /* 设置分割线 */
- QLabel#label_line1, #label_line2, #label_line3
- {
- background: rgba(255,255,255,0.15);
- }
- /* 设置红色星号 */
- QLabel#label_x1, #label_x2
- {
- font-weight: 400;
- font-size: 14px;
- color: #D21F21;
- line-height: 21px;
- text-align: left;
- font-style: normal;
- }
- /***************** QComboBox下拉框 ****************/
- QComboBox
- {
- background: transparent;
- border-radius: 4px;
- border: 1px solid rgba(255,255,255,0.15);
- font-weight: 400;
- font-size: 14px;
- color: #D2D2D2;
- padding-left: 12px;
- }
- QComboBox:hover, QComboBox:on
- {
- border: 1px solid #438EFF;
- }
- /*下拉箭头样式*/
- QComboBox::down-arrow
- {
- height: 16px;
- width: 16px;
- image: url(:/image/Resource/image/DownArrow.png);
- }
- QComboBox::drop-down
- {
- background-color:transparent;
- padding-right:12px;
- }
- /* 下拉后,整个下拉窗体样式 */
- QComboBox QAbstractItemView
- {
- margin: 8px;
- font-size: 14px;
- background-color: #5C5E61;
- outline:0px;
- border-radius: 4px;
- }
- /* 下拉后,整个下拉窗体每项的样式 */
- QComboBox QAbstractItemView::item
- {
- border-radius: 4px;
- color: #D2D2D2;
- height: 32px;
- background-color: #5C5E61;
- font-weight: 400;
- font-size: 14px;
- padding-left: 11px;
- }
- QComboBox QAbstractItemView::item:hover
- {
- font-weight: 400;
- color: #FFFFFF;
- background-color: #438EFF;
- }
- QComboBox QAbstractItemView::item:selected
- {
- font-weight: 400;
- color: #FFFFFF;
- background-color: #438EFF;
- }
|