119 lines
2.8 KiB
Plaintext
119 lines
2.8 KiB
Plaintext
/*Copyright (c) DevSec Studio. All rights reserved.
|
|
|
|
MIT License
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
*/
|
|
|
|
/*-----QWidget-----*/
|
|
QWidget
|
|
{
|
|
background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:1 #212121, stop:.4 #343434);
|
|
color: #000000;
|
|
border-color: #000000;
|
|
|
|
}
|
|
|
|
|
|
/*-----QLabel-----*/
|
|
QLabel
|
|
{
|
|
background-color: transparent;
|
|
color: #fff;
|
|
font-size: 14pt;
|
|
border-color: #000000;
|
|
|
|
}
|
|
|
|
|
|
/*-----QToolButton-----*/
|
|
QToolButton
|
|
{
|
|
background-color: qlineargradient(spread:repeat, x1:1, y1:0, x2:1, y2:1, stop:0 rgba(254, 171, 66, 255),stop:1 rgba(255, 153, 0, 255));
|
|
color: #000;
|
|
font-size: 14pt;
|
|
border-radius: 4px;
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
QToolButton::pressed
|
|
{
|
|
background-color: #6b960f;
|
|
|
|
}
|
|
|
|
|
|
/*-----QTabWidget-----*/
|
|
QTabBar::tab
|
|
{
|
|
font-size: 8pt;
|
|
font-weight: bold;
|
|
width: 80px;
|
|
border: 1px solid #444;
|
|
border-bottom-style: none;
|
|
border-top-style: none;
|
|
background-color: #323232;
|
|
padding-top: 3px;
|
|
padding-bottom: 2px;
|
|
margin-right: -1px;
|
|
|
|
}
|
|
|
|
QTabWidget::pane
|
|
{
|
|
border: 1px solid qlineargradient(spread:repeat, x1:1, y1:0, x2:1, y2:1, stop:0 rgba(254, 171, 66, 255),stop:1 rgba(255, 153, 0, 255));
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
QTabBar::tab:last
|
|
{
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
QTabBar::tab:first:!selected
|
|
{
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
QTabBar::tab:!selected
|
|
{
|
|
color: #fff;
|
|
border-bottom-style: solid;
|
|
margin-top: 3px;
|
|
background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:1 #212121, stop:.4 #343434);
|
|
|
|
}
|
|
|
|
QTabBar::tab:selected
|
|
{
|
|
background-color: qlineargradient(spread:repeat, x1:1, y1:0, x2:1, y2:1, stop:0 rgba(254, 171, 66, 255),stop:1 rgba(255, 153, 0, 255));
|
|
color: #000;
|
|
margin-bottom: 0px;
|
|
|
|
}
|
|
|
|
QTabBar::tab:!selected:hover
|
|
{
|
|
background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:1 #212121, stop:0.4 #343434, stop:0.2 #343434, stop:0.1 #ffaa00);
|
|
|
|
} |