123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- /* ==========================================================
- * QWidget
- * ========================================================== */
- QWidget#widgetContent
- {
- background: #FFFFFF;
- }
- QWidget#widgetMute, #widgetOverload, #widgetPhase
- {
- border-bottom: 1px solid #E6E9F4;
- }
- QWidget#widget
- {
- background: #FFFFFF;
- border: none;
- }
- /* ==========================================================
- * QLabel各个widget的标题
- * ========================================================== */
- QLabel
- {
- font-weight: 400;
- font-size: 14px;
- color: #3A3F63;
- }
- QLabel#labelBase,#label_soundCompute
- {
- font-weight: 500;
- font-size: 16px;
- }
- QLabel#labelOtherRoad,#labelMute,#labelOverload,#labelPhase
- {
- font-weight: 500;
- font-size: 14px;
- }
- /* ==========================================================
- * 添加按钮
- * ========================================================== */
- QPushButton#pBtn_add
- {
- border-image: url(:/icon/add.png);
- }
- QPushButton#pBtn_add:hover
- {
- border-image: url(:/icon/add_hover.png);
- }
- /* ==========================================================
- * QLineEdit
- * ========================================================== */
- QLineEdit
- {
- background: #FFFFFF;
- border-radius: 4px;
- border: 1px solid #E6E9F4;
- padding-left: 12px;
- font-weight: 400;
- font-size: 14px;
- color: #3A3F63;
- }
- QLineEdit:hover,QLineEdit:focus
- {
- border: 1px solid #4458FE;
- }
- /* ==========================================================
- * QCheckBox开关类型
- * ========================================================== */
- QCheckBox#checkBoxMute,#checkBoxOverload,#checkBoxPhase
- {
- font-weight: 400;
- font-size: 14px;
- color: #3A3F63;
- }
- QCheckBox#checkBoxMute::indicator,
- #checkBoxOverload::indicator,
- #checkBoxPhase::indicator
- {
- width: 44px;
- height: 22px;
- }
- QCheckBox#checkBoxMute::indicator:unchecked,
- #checkBoxOverload::indicator:unchecked,
- #checkBoxPhase::indicator:unchecked
- {
- image: url(:/icon/offswitch.png);
- }
- QCheckBox#checkBoxMute::indicator:checked,
- #checkBoxOverload::indicator:checked,
- #checkBoxPhase::indicator:checked
- {
- image: url(:/icon/onswitch.png);
- }
- /* ==========================================================
- * QCheckBox普通类型
- * ========================================================== */
- QCheckBox#checkBox_enable
- {
- font-weight: 400;
- font-size: 14px;
- color: #3A3F63;
- }
- QCheckBox#checkBox_enable::indicator
- {
- width: 16px;
- height: 16px;
- }
- QCheckBox#checkBox_enable::indicator:unchecked
- {
- image: url(:/icon/unchecked.png);
- }
- QCheckBox#checkBox_enable::indicator:checked
- {
- image: url(:/icon/checked.png);
- }
- /* ==========================================================
- * QScrollArea
- * ========================================================== */
- QScrollArea, QWidget#scrollAreaWidgetContents
- {
- background: #FFFFFF !important;
- border: none;
- }
- QScrollBar:vertical
- {
- width: 6px;
- border:none;
- background: transparent;
- margin-right: 0px;
- }
- QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical
- {
- background: transparent;
- border: none;
- }
- QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
- {
- background: transparent;
- }
- QScrollBar::handle:vertical
- {
- background: #E2E2E2;
- border-radius: 1px;
- margin-right: 1px;
- margin-left: 1px;
- }
- QScrollBar::handle:vertical:hover
- {
- background: rgb(234, 234, 234);
- margin-right: 0px;
- margin-left: 0px;
- border-radius: 2px;
- }
- QScrollBar::handle:vertical:pressed
- {
- background: rgb(234, 234, 234);
- margin-right: 0px;
- margin-left: 0px;
- border-radius: 2px;
- }
|