QTfrontend/res/css/qt.css
changeset 13228 d23742ccf92b
parent 13207 d948d39e5da8
child 13231 6193503c4727
equal deleted inserted replaced
13227:26c739440bef 13228:d23742ccf92b
    54 QPushButton:hover, QLineEdit:hover, QListWidget:hover, QListView:hover,
    54 QPushButton:hover, QLineEdit:hover, QListWidget:hover, QListView:hover,
    55 QSpinBox:hover, QToolBox:hover, QComboBox:hover {
    55 QSpinBox:hover, QToolBox:hover, QComboBox:hover {
    56 border-color: yellow;
    56 border-color: yellow;
    57 }
    57 }
    58 
    58 
       
    59 TeamShowWidget QPushButton {
       
    60 icon-size: 48px;
       
    61 text-align: left;
       
    62 background-color: #0d0544;
       
    63 color: orange;
       
    64 font: bold;
       
    65 border-width: 2px;
       
    66 margin: 6px 0px 6px 0px;
       
    67 }
       
    68 TeamShowWidget QPushButton:disabled {
       
    69 color: #a0a0a0;
       
    70 }
       
    71 
    59 QToolButton {
    72 QToolButton {
    60 background-color: #11084A;
    73 background-color: #11084A;
    61 }
    74 }
    62 
    75 
    63 QToolButton:hover {
    76 QToolButton:hover {
    73 border-radius: 10px;
    86 border-radius: 10px;
    74 }
    87 }
    75 
    88 
    76 #mapPreview {
    89 #mapPreview {
    77 background-color: #0d0544;
    90 background-color: #0d0544;
       
    91 }
       
    92 #mapPreview:disabled{
       
    93 border-color: #a0a0a0;
       
    94 background-color: #0d0544;
       
    95 color: #ffffff;
    78 }
    96 }
    79 
    97 
    80 QLineEdit, QLabel, QHeaderView, QListWidget, QListView, QTableView,
    98 QLineEdit, QLabel, QHeaderView, QListWidget, QListView, QTableView,
    81 QSpinBox, QToolBox::tab, QComboBox, QComboBox QAbstractItemView,
    99 QSpinBox, QToolBox::tab, QComboBox, QComboBox QAbstractItemView,
    82 IconedGroupBox, .QGroupBox, #gameStackContainer, TeamSelWidget,
   100 IconedGroupBox, .QGroupBox, #gameStackContainer, TeamSelWidget,
   107 }
   125 }
   108 
   126 
   109 QTabWidget::pane {
   127 QTabWidget::pane {
   110 border-radius: 8px;
   128 border-radius: 8px;
   111 border-top-left-radius: 0px;
   129 border-top-left-radius: 0px;
   112 }
       
   113 
       
   114 QLineEdit:disabled, QSpinBox:disabled {
       
   115 border-color: gray;
       
   116 }
   130 }
   117 
   131 
   118 GameCFGWidget {
   132 GameCFGWidget {
   119 border: none;
   133 border: none;
   120 }
   134 }
   164 }
   178 }
   165 
   179 
   166 QSpinBox::up-arrow {
   180 QSpinBox::up-arrow {
   167 image: url(":/res/spin_up.png");
   181 image: url(":/res/spin_up.png");
   168 }
   182 }
       
   183 QSpinBox::up-arrow:disabled {
       
   184 image: url(":/res/spin_up_disabled.png");
       
   185 }
   169 
   186 
   170 QSpinBox::down-arrow {
   187 QSpinBox::down-arrow {
   171 image: url(":/res/spin_down.png");
   188 image: url(":/res/spin_down.png");
       
   189 }
       
   190 QSpinBox::down-arrow:disabled {
       
   191 image: url(":/res/spin_down_disabled.png");
   172 }
   192 }
   173 
   193 
   174 QSpinBox::down-button {
   194 QSpinBox::down-button {
   175 background: transparent;
   195 background: transparent;
   176 width: 16px;
   196 width: 16px;
   189 border: transparent;
   209 border: transparent;
   190 width: 25px;
   210 width: 25px;
   191 }
   211 }
   192 QComboBox::down-arrow {
   212 QComboBox::down-arrow {
   193 image: url(":/res/dropdown.png");
   213 image: url(":/res/dropdown.png");
       
   214 }
       
   215 QComboBox::down-arrow:disabled {
       
   216 image: url(":/res/dropdown_disabled.png");
   194 }
   217 }
   195 
   218 
   196 VertScrArea {
   219 VertScrArea {
   197 background-position: bottom center;
   220 background-position: bottom center;
   198 background-repeat: repeat-x;
   221 background-repeat: repeat-x;
   285 border: 1px solid #ffcc00;
   308 border: 1px solid #ffcc00;
   286 }
   309 }
   287 
   310 
   288 :disabled{
   311 :disabled{
   289 color: #a0a0a0;
   312 color: #a0a0a0;
       
   313 border-color: #a0a0a0;
       
   314 }
       
   315 QListWidget:item:selected:disabled, QListView:item:selected:disabled{
       
   316 color: rgba(13, 5, 68, 70%);
       
   317 background-color: #a0a0a0;
   290 }
   318 }
   291 SquareLabel, ItemNum {
   319 SquareLabel, ItemNum {
   292 background-color: #000000;
   320 background-color: #000000;
   293 }
   321 }
   294 
   322 
   295 QSlider::groove::horizontal {
   323 QSlider::groove::horizontal {
   296 height: 2px;
   324 height: 2px;
   297 margin: 2px 0px;
   325 margin: 2px 0px;
   298 background-color: #ffcc00;
   326 background-color: #ffcc00;
       
   327 }
       
   328 QSlider::groove::horizontal:disabled {
       
   329 background-color: #a0a0a0;
   299 }
   330 }
   300 
   331 
   301 QSlider::handle::horizontal {
   332 QSlider::handle::horizontal {
   302 border: 0px;
   333 border: 0px;
   303 margin: -8px 0px;
   334 margin: -8px 0px;
   304 background-color: #ffcc00;
   335 background-color: #ffcc00;
   305 width: 12px;
   336 width: 12px;
   306 height: 6px;
   337 height: 6px;
   307 border-radius: 3px;
   338 border-radius: 3px;
   308 }
   339 }
       
   340 QSlider::handle::horizontal:disabled {
       
   341 background-color: #a0a0a0;
       
   342 }
   309 
   343 
   310 HatButton, ThemeButton {
   344 HatButton, ThemeButton {
   311 text-align: left;
   345 text-align: left;
   312 }
   346 }
   313 
   347