Skip to content

Commit

Permalink
Added more widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
GTRONICK authored May 11, 2018
1 parent 93361fd commit f1742c6
Showing 1 changed file with 173 additions and 33 deletions.
206 changes: 173 additions & 33 deletions Ubuntu.qss
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,18 @@
Ubuntu Style Sheet for QT Applications
Author: Jaime A. Quiroga P.
Company: GTRONICK
Last updated: 07/05/2018, 12:24.
Last updated: 11/05/2018, 11:40.
Available at: https://github.com/GTRONICK/QSS/blob/master/Ubuntu.qss
*/
QMainWindow {
background-color:#f0f0f0;
}
QDialog {
background-color:#f0f0f0;
}
QColorDialog {
background-color:#f0f0f0;
}
QLabel {
color:rgb(17,17,17);
}
Expand All @@ -25,7 +34,6 @@ QPushButton{
color:rgb(17,17,17);
border-width: 1px;
border-radius: 6px;
border-width: 1px;
border-bottom-color: rgb(150,150,150);
border-right-color: rgb(165,165,165);
border-left-color: rgb(165,165,165);
Expand All @@ -36,7 +44,19 @@ QPushButton{
}
QPushButton:hover{
color:rgb(17,17,17);
border-width: 2px;
border-width: 1px;
border-radius:6px;
border-top-color: rgb(255,150,60);
border-right-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:0, stop:0 rgba(200, 70, 20, 255), stop:1 rgba(255,150,60, 255));
border-left-color: qlineargradient(spread:pad, x1:1, y1:0, x2:0, y2:0, stop:0 rgba(200, 70, 20, 255), stop:1 rgba(255,150,60, 255));
border-bottom-color: rgb(200,70,20);
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(17,17,17);
border-width: 1px;
border-radius:6px;
border-top-color: rgb(255,150,60);
border-right-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:0, stop:0 rgba(200, 70, 20, 255), stop:1 rgba(255,150,60, 255));
Expand All @@ -50,7 +70,7 @@ QPushButton:pressed{
color:rgb(17,17,17);
border-width: 1px;
border-radius: 6px;
border-width: 2px;
border-width: 1px;
border-top-color: rgba(255,150,60,200);
border-right-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:0, stop:0 rgba(200, 70, 20, 255), stop:1 rgba(255,150,60, 200));
border-left-color: qlineargradient(spread:pad, x1:1, y1:0, x2:0, y2:0, stop:0 rgba(200, 70, 20, 255), stop:1 rgba(255,150,60, 200));
Expand Down Expand Up @@ -105,7 +125,7 @@ QTabBar::tab {
border-style: solid;
border-width: 1px;
border-top-right-radius:4px;
border-top-left-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);
Expand All @@ -120,34 +140,6 @@ QTabBar::tab:!selected {
margin-top: 1px;
margin-right: 1px;
}
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(255,150,60);
background-color:qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(190, 90, 50, 50), stop:1 rgba(250, 130, 40, 50));
}
QCheckBox::indicator:checked {
border-radius:4px;
border-style:solid;
border-width:1px;
border-color: rgb(180,180,180);
background-color:qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(190, 90, 50, 255), stop:1 rgba(250, 130, 40, 255));
}
QCheckBox::indicator:unchecked {
border-radius:4px;
border-style:solid;
border-width:1px;
border-color: rgb(180,180,180);
background-color:rgb(255,255,255);
}
QMenuBar {
color:rgb(223,219,210);
background-color:rgb(65,64,59);
Expand Down Expand Up @@ -200,3 +192,151 @@ 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(255,150,60);
background-color:qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(190, 90, 50, 50), stop:1 rgba(250, 130, 40, 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(246, 134, 86);
}
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:horizontal {
height: 5px;
background: rgb(246, 134, 86);
}
QSlider::groove:vertical {
width: 5px;
background: rgb(246, 134, 86);
}
QSlider::handle:horizontal {
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
border: 1px solid #5c5c5c;
width: 14px;
margin: -5px 0;
border-radius: 7px;
}
QSlider::handle:vertical {
background: qlineargradient(x1:1, y1:1, x2:0, y2:0, stop:0 #b4b4b4, stop:1 #8f8f8f);
border: 1px solid #5c5c5c;
height: 14px;
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);
}

0 comments on commit f1742c6

Please sign in to comment.