diff options
author | Sann Yay Aye | 2020-01-07 17:36:45 +0530 |
---|---|---|
committer | Sann Yay Aye | 2020-01-07 17:36:45 +0530 |
commit | 262be53fad86b22c8cd2f9c343990afdb6645b0e (patch) | |
tree | a0258e7c052b7e76a46da8b0149611ed5a013e06 /cyan.css | |
parent | 79c81eaa67a545db570c083c3852e09b26e5bf87 (diff) | |
download | Chemical-Simulator-GUI-262be53fad86b22c8cd2f9c343990afdb6645b0e.tar.gz Chemical-Simulator-GUI-262be53fad86b22c8cd2f9c343990afdb6645b0e.tar.bz2 Chemical-Simulator-GUI-262be53fad86b22c8cd2f9c343990afdb6645b0e.zip |
Changed CSS color and set Tooltips and default value on dockWidget
Diffstat (limited to 'cyan.css')
-rw-r--r-- | cyan.css | 649 |
1 files changed, 649 insertions, 0 deletions
diff --git a/cyan.css b/cyan.css new file mode 100644 index 0000000..ec43a65 --- /dev/null +++ b/cyan.css @@ -0,0 +1,649 @@ +QMainWindow { + background-color: #f0f0f0; +} +QDockWidget { + background-color:rgb(0, 148, 148); +} +QDialog { + background-color:#f0f0f0; +} +QColorDialog { + background-color:#f0f0f0; +} +QLineEdit { + background-color:rgb(255, 255, 255); + selection-background-color:rgb(0, 207, 207); + color:rgb(0, 70, 70); +} +QTextEdit { + border-width: 1px; + border-style: solid; + border-color:transparent; + color:rgb(17,17,17); + selection-background-color:rgb(0, 207, 207) +} +QPlainTextEdit { + border-width: 1px; + border-style: solid; + border-color:transparent; + color:rgb(17,17,17); + selection-background-color:rgb(0, 207, 207) +} +QPushButton{ + color:rgb(0, 70, 70); + border-width: 1px; + border-radius: 6px; + border-bottom-color: rgb(150,150,150); + border-right-color: rgb(165,165,165); + border-left-color: rgb(165,165,165); + border-top-color: rgb(180,180,180); + border-style: solid; + padding: 4px; + background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(220, 220, 220, 255), stop:1 rgba(255, 255, 255, 255)); +} +QPushButton:hover{ + color:rgb(17,17,17); + border-width: 1px; + border-radius:6px; + + border-top-color: rgb(0,207,207); + border-right-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:0, stop:0 rgba(0,90,90, 255), stop:1 rgba(0,207,207, 255)); + border-left-color: qlineargradient(spread:pad, x1:1, y1:0, x2:0, y2:0, stop:0 rgba(0,90,90, 255), stop:1 rgba(0,207,207, 255)); + border-bottom-color: rgb(0,90,90); + border-style: solid; + padding: 2px; + background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(220, 220, 220, 255), stop:1 rgba(255, 255, 255, 255)); +} +QPushButton:default{ + color:rgb(0, 70, 70); + border-width: 1px; + border-radius:6px; + border-top-color: rgb(0,207,207); + border-right-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:0, stop:0 rgba(0,90,90, 255), stop:1 rgba(0,207,207, 255)); + border-left-color: qlineargradient(spread:pad, x1:1, y1:0, x2:0, y2:0, stop:0 rgba(0,90,90, 255), stop:1 rgba(0,207,207, 255)); + border-bottom-color: rgb(0,90,90); + border-style: solid; + padding: 2px; + background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(220, 220, 220, 255), stop:1 rgba(255, 255, 255, 255)); +} +QPushButton:pressed{ + color:rgb(17,17,17); + border-width: 1px; + border-radius: 6px; + border-width: 1px; + border-top-color: rgba(0,207,207,200); + border-right-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:0, stop:0 rgba(0,90,90, 255), stop:1 rgba(0,207,207, 200)); + border-left-color: qlineargradient(spread:pad, x1:1, y1:0, x2:0, y2:0, stop:0 rgba(0,90,90, 255), stop:1 rgba(0,207,207, 200)); + border-bottom-color: rgba(0,90,90,200); + border-style: solid; + padding: 2px; + background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(220, 220, 220, 255), stop:1 rgba(255, 255, 255, 255)); +} +QPushButton:disabled{ + color:rgb(174,167,159); + border-width: 1px; + border-radius: 6px; + background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(200, 200, 200, 255), stop:1 rgba(230, 230, 230, 255)); +} +QProgressBar { + text-align: center; + color: rgb(0, 0, 0); + border-width: 1px; + border-radius: 10px; + border-style: inset; + border-color: rgb(150,150,150); + background-color:rgb(221,221,219); +} +QProgressBar::chunk:horizontal { + background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(225, 108, 54, 255), stop:1 rgba(246, 134, 86, 255)); + border-style: solid; + border-radius:8px; + border-width:1px; + border-bottom-color:qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(175,85,48,255), stop:1 rgba(236,114,67, 255)); + border-top-color:qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(253,156,113,255), stop:1 rgba(205,90,46, 255)); + border-right-color:qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgba(253,156,113,255), stop:1 rgba(205,90,46, 255)); + border-left-color:qlineargradient(spread:pad, x1:1, y1:0.5, x2:0, y2:0.5, stop:0 rgba(253,156,113,255), stop:1 rgba(205,90,46, 255)); +} +QTabWidget { + color:rgb(0,0,0); + background-color:rgb(247,246,246); +} +QTabWidget::pane { + border-color: rgb(180,180,180); + background-color:rgb(247,246,246); + border-style: solid; + border-width: 1px; + border-radius: 6px; +} +QTabBar::tab { + padding-left:4px; + padding-right:4px; + padding-bottom:2px; + padding-top:2px; + color:rgb(81,72,65); + background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(221,218,217,255), stop:1 rgba(240,239,238,255)); + border-style: solid; + border-width: 1px; + border-top-right-radius:4px; + border-top-left-radius:4px; + border-top-color: rgb(180,180,180); + border-left-color: rgb(180,180,180); + border-right-color: rgb(180,180,180); + border-bottom-color: transparent; +} +QTabBar::tab:selected, QTabBar::tab:last:selected, QTabBar::tab:hover { + background-color:rgb(247,246,246); + margin-left: 0px; + margin-right: 1px; +} +QTabBar::tab:!selected { + margin-top: 1px; + margin-right: 1px; +} +QMenuBar { + color:rgb(223,219,210); + background-color:rgb(0,90,90); +} +QMenuBar::item { + padding-top:4px; + padding-left:4px; + padding-right:4px; + color:rgb(223,219,210); + background-color:rgb(0,90,90); +} +QMenuBar::item:selected { + color:rgb(255,255,255); + padding-top:2px; + padding-left:2px; + padding-right:2px; + border-top-width:2px; + border-left-width:2px; + border-right-width:2px; + border-top-right-radius:4px; + border-top-left-radius:4px; + border-style:solid; + background-color:rgb(0,207,207); + border-top-color: rgb(0, 129, 129); + border-right-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:0, stop:0 rgba(0, 188, 188, 255), stop:1 rgba(0, 129, 129, 255)); + border-left-color: qlineargradient(spread:pad, x1:1, y1:0, x2:0, y2:0, stop:0 rgba(0, 188, 188, 255), stop:1 rgba(0, 129, 129, 255)); +} +QMenu::item:selected { + color:rgb(255,255,255); + background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 109, 109, 255), stop:1 rgba(0, 168, 168, 255)); + border-style:solid; + border-width:3px; + padding-left:17px; + padding-top:4px; + padding-bottom:4px; + padding-right:7px; + border-bottom-color:qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(175,85,48,255), stop:1 rgba(236,114,67, 255)); + border-top-color:qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(253,156,113,255), stop:1 rgba(205,90,46, 255)); + border-right-color:qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgba(253,156,113,255), stop:1 rgba(205,90,46, 255)); + border-left-color:qlineargradient(spread:pad, x1:1, y1:0.5, x2:0, y2:0.5, stop:0 rgba(253,156,113,255), stop:1 rgba(205,90,46, 255)); +} +QMenu::item { + color:rgb(223,219,210); + padding-left:20px; + padding-top:4px; + padding-bottom:4px; + padding-right:10px; +} +QMenu { + color:rgb(223,219,210); + background-color:rgb(65,64,59); +} +QCheckBox { + padding:2px; +} +QCheckBox:hover { + border-radius:4px; + border-style:solid; + border-width:1px; + padding-left: 1px; + padding-right: 1px; + padding-bottom: 1px; + padding-top: 1px; + border-color: rgb(0,148,148); + background-color:qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 109, 109, 50), stop:1 rgba(0, 207, 207, 50)); +} +QCheckBox::indicator:checked { + border-radius:4px; + border-style:solid; + border-width:1px; + border-color: rgb(246, 134, 86); + background-color:rgb(246, 134, 86) +} +QCheckBox::indicator:unchecked { + border-radius:4px; + border-style:solid; + border-width:1px; + border-color:rgb(246, 134, 86); + background-color:rgb(255,255,255); +} +QRadioButton { + padding: 1px; +} +QRadioButton::indicator:checked { + height: 10px; + width: 10px; + border-style:solid; + border-radius:5px; + border-width: 1px; + border-color: rgba(246, 134, 86, 255); + color: #a9b7c6; + background-color:rgba(246, 134, 86, 255); +} +QRadioButton::indicator:!checked { + height: 10px; + width: 10px; + border-style:solid; + border-radius:5px; + border-width: 1px; + border-color: rgb(246, 134, 86); + color: #a9b7c6; + background-color: transparent; +} +QStatusBar { + color:rgb(81,72,65); +} +QSpinBox { + color:rgb(81,72,65); + background-color: #ffffff; +} +QDoubleSpinBox { + color:rgb(81,72,65); + background-color: #ffffff; +} +QTimeEdit { + color:rgb(81,72,65); + background-color: #ffffff; +} +QDateTimeEdit { + color:rgb(81,72,65); + background-color: #ffffff; +} +QDateEdit { + color:rgb(81,72,65); + background-color: #ffffff; +} +QComboBox { + color:rgb(81,72,65); + background: #ffffff; +} +QComboBox:editable { + background: #ffffff; + color: rgb(81,72,65); + selection-color:rgb(81,72,65); + selection-background-color: #ffffff; +} +QComboBox QAbstractItemView { + color:rgb(81,72,65); + background: #ffffff; + selection-color: #ffffff; + selection-background-color: rgb(0, 207, 207); +} +QComboBox:!editable:on, QComboBox::drop-down:editable:on { + color: #1e1d23; + background: #ffffff; +} +QFontComboBox { + color:rgb(81,72,65); + background-color: #ffffff; +} +QToolBox { + color:rgb(81,72,65); + background-color: #ffffff; +} +QToolBox::tab { + color:rgb(81,72,65); + background-color: #ffffff; +} +QToolBox::tab:selected { + color:rgb(81,72,65); + background-color: #ffffff; +} +QScrollArea { + color: #FFFFFF; + background-color:#f0f0f0; +} +QSlider::groove { + border-style: solid; + border-width: 1px; + border-color: rgb(207,207,207); +} +QSlider::groove:horizontal { + height: 5px; + background: rgb(246, 134, 86); +} +QSlider::groove:vertical { + width: 5px; + background: rgb(246, 134, 86); +} +QSlider::handle:horizontal { + background: rgb(253,253,253); + border-style: solid; + border-width: 1px; + border-color: rgb(207,207,207); + width: 12px; + margin: -5px 0; + border-radius: 7px; +} +QSlider::handle:vertical { + background: rgb(253,253,253); + border-style: solid; + border-width: 1px; + border-color: rgb(207,207,207); + height: 12px; + margin: 0 -5px; + border-radius: 7px; +} +QSlider::add-page:horizontal { + background: white; +} +QSlider::add-page:vertical { + background: white; +} +QSlider::sub-page:horizontal { + background: rgb(246, 134, 86); +} +QSlider::sub-page:vertical { + background: rgb(246, 134, 86); +} +QScrollBar:horizontal { + max-height: 20px; + border: 1px transparent grey; + margin: 0px 20px 0px 20px; +} +QScrollBar::handle:horizontal { + background: rgb(253,253,253); + border-style: solid; + border-width: 1px; + border-color: rgb(207,207,207); + border-radius: 7px; + min-width: 25px; +} +QScrollBar::handle:horizontal:hover { + background: rgb(253,253,253); + border-style: solid; + border-width: 1px; + border-color: rgb(0,207,207); + border-radius: 7px; + min-width: 25px; +} +QScrollBar::add-line:horizontal { + border: 1px solid; + border-color: rgb(207, 207, 207); + border-top-right-radius: 7px; + border-top-left-radius: 7px; + border-bottom-right-radius: 7px; + background: rgb(255, 255, 255); + width: 20px; + subcontrol-position: right; + subcontrol-origin: margin; +} +QScrollBar::add-line:horizontal:hover { + border: 1px solid; + border-top-right-radius: 7px; + border-top-left-radius: 7px; + border-bottom-right-radius: 7px; + border-color: rgb(0, 207, 207); + background: rgb(255, 255, 255); + width: 20px; + subcontrol-position: right; + subcontrol-origin: margin; +} +QScrollBar::add-line:horizontal:pressed { + border: 1px solid grey; + border-top-left-radius: 7px; + border-top-right-radius: 7px; + border-bottom-right-radius: 7px; + background: rgb(231,231,231); + width: 20px; + subcontrol-position: right; + subcontrol-origin: margin; +} +QScrollBar::sub-line:horizontal { + border: 1px solid; + border-color: rgb(207,207,207); + border-top-right-radius: 7px; + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; + background: rgb(255, 255, 255); + width: 20px; + subcontrol-position: left; + subcontrol-origin: margin; +} +QScrollBar::sub-line:horizontal:hover { + border: 1px solid; + border-color: rgb(0, 207, 207); + border-top-right-radius: 7px; + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; + background: rgb(255, 255, 255); + width: 20px; + subcontrol-position: left; + subcontrol-origin: margin; +} +QScrollBar::sub-line:horizontal:pressed { + border: 1px solid grey; + border-top-right-radius: 7px; + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; + background: rgb(231,231,231); + width: 20px; + subcontrol-position: left; + subcontrol-origin: margin; +} +QScrollBar::left-arrow:horizontal { + border: 1px transparent grey; + border-top-left-radius: 3px; + border-bottom-left-radius: 3px; + width: 6px; + height: 6px; + background: rgb(0,188,188); +} +QScrollBar::right-arrow:horizontal { + border: 1px transparent grey; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; + width: 6px; + height: 6px; + background: rgb(0,188,188); +} +QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal { + background: none; +} +QScrollBar:vertical { + max-width: 20px; + border: 1px transparent grey; + margin: 20px 0px 20px 0px; +} +QScrollBar::add-line:vertical { + border: 1px solid; + border-color: rgb(207,207,207); + border-bottom-right-radius: 7px; + border-bottom-left-radius: 7px; + border-top-left-radius: 7px; + background: rgb(255, 255, 255); + height: 20px; + subcontrol-position: bottom; + subcontrol-origin: margin; +} +QScrollBar::add-line:vertical:hover { + border: 1px solid; + border-color: rgb(0, 207, 207); + border-bottom-right-radius: 7px; + border-bottom-left-radius: 7px; + border-top-left-radius: 7px; + background: rgb(255, 255, 255); + height: 20px; + subcontrol-position: bottom; + subcontrol-origin: margin; +} +QScrollBar::add-line:vertical:pressed { + border: 1px solid grey; + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; + border-top-left-radius: 7px; + background: rgb(231,231,231); + height: 20px; + subcontrol-position: bottom; + subcontrol-origin: margin; +} +QScrollBar::sub-line:vertical { + border: 1px solid; + border-color: rgb(207,207,207); + border-top-right-radius: 7px; + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; + background: rgb(255, 255, 255); + height: 20px; + subcontrol-position: top; + subcontrol-origin: margin; +} +QScrollBar::sub-line:vertical:hover { + border: 1px solid; + border-color: rgb(0, 207, 207); + border-top-right-radius: 7px; + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; + background: rgb(255, 255, 255); + height: 20px; + subcontrol-position: top; + subcontrol-origin: margin; +} +QScrollBar::sub-line:vertical:pressed { + border: 1px solid grey; + border-top-left-radius: 7px; + border-top-right-radius: 7px; + background: rgb(231,231,231); + height: 20px; + subcontrol-position: top; + subcontrol-origin: margin; +} + QScrollBar::handle:vertical { + background: rgb(253,253,253); + border-style: solid; + border-width: 1px; + border-color: rgb(207,207,207); + border-radius: 7px; + min-height: 25px; +} +QScrollBar::handle:vertical:hover { + background: rgb(253,253,253); + border-style: solid; + border-width: 1px; + border-color: rgb(0,207,207); + border-radius: 7px; + min-height: 25px; +} +QScrollBar::up-arrow:vertical { + border: 1px transparent grey; + border-top-left-radius: 3px; + border-top-right-radius: 3px; + width: 6px; + height: 6px; + background: rgb(0,188,188); +} +QScrollBar::down-arrow:vertical { + border: 1px transparent grey; + border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; + width: 6px; + height: 6px; + background: rgb(0,188,188); +} +QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { + background: none; +} +QToolTip +{ + border: 1px solid black; + background-color: rgb(0, 207, 207); + padding: 1px; + border-radius: 3px; + opacity: 100; +} +QTableView +{ + border: 1px solid #76797C; + gridline-color: #004646; + background-color: #f0f0f0; +} +QTableView, QHeaderView +{ + border-radius: 0px; +} +QTableView::item:pressed, QListView::item:pressed, QTreeView::item:pressed { + background: rgb(150, 255, 255); + color: black; +} +QTableView::item:selected:active, QTreeView::item:selected:active, QListView::item:selected:active { + background: rgb(150, 255, 255); + color: black; +} +QHeaderView +{ + background-color: #f0f0f0; + border: 1px transparent; + border-radius: 0px; + margin: 0px; + padding: 0px; + +} +QHeaderView::section { + padding:3px; + margin:0px; + color:#f0f0f0; + border: 1px solid #004646; + background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgb(0, 148, 148), stop:1 rgb(0, 148, 148)); +} +QHeaderView::section::vertical::first, QHeaderView::section::vertical::only-one +{ + border-top: 1px rgb(150, 247, 247); +} +QHeaderView::section::vertical +{ + border-top: transparent; +} +QHeaderView::section::horizontal::first, QHeaderView::section::horizontal::only-one +{ + border-left: 1px rgb(150, 247, 247); +} +QHeaderView::section::horizontal +{ + border-left: transparent; +} +QHeaderView::section:checked +{ + color: white; + background-color:rgb(150, 247, 247); +} +QLabel { + background-color: #f0f0f0; + border: 0px solid #32414B; + padding: 2px; + margin: 0px; + color: rgb(17, 17, 17); +} +QLabel::disabled { + background-color: #f0f0f0; + border: 0px solid #32414B; + color: rgb(17, 17, 17); +} +QDockWidget.QWidget.QScrollArea.QWidget.QLabel{ + color : red; +} +QFrame { + border-radius: 4px; + border: 1px solid #32414B; +} +QFrame[frameShape="0"] { + border-radius: 4px; + border: 1px transparent #32414B; +} +QFrame[height="3"], +QFrame[width="3"] { + background-color: #19232D; +} + |