259 lines
4.0 KiB
Plaintext
259 lines
4.0 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: #f5f6f3;
|
|
color: #000;
|
|
border-color: #000000;
|
|
|
|
}
|
|
|
|
|
|
/*-----QLabel-----*/
|
|
QLabel
|
|
{
|
|
background-color: transparent;
|
|
color: #000;
|
|
border-color: #000000;
|
|
|
|
}
|
|
|
|
|
|
/*-----QPushButton-----*/
|
|
QPushButton
|
|
{
|
|
background-color: #00ff4f;
|
|
color: #000000;
|
|
font-weight: bold;
|
|
border-style: solid;
|
|
border-color: #000000;
|
|
padding: 6px;
|
|
|
|
}
|
|
|
|
|
|
QPushButton::hover
|
|
{
|
|
background-color: #6aff95;
|
|
|
|
}
|
|
|
|
|
|
QPushButton::pressed
|
|
{
|
|
background-color: #52c573;
|
|
|
|
}
|
|
|
|
|
|
/*-----QToolButton-----*/
|
|
QToolButton
|
|
{
|
|
background-color: #00ff4f;
|
|
color: #000000;
|
|
font-weight: bold;
|
|
border-style: solid;
|
|
border-color: #000000;
|
|
padding: 6px;
|
|
|
|
}
|
|
|
|
|
|
QToolButton::hover
|
|
{
|
|
background-color: #6aff95;
|
|
|
|
}
|
|
|
|
|
|
QToolButton::pressed
|
|
{
|
|
background-color: #52c573;
|
|
|
|
}
|
|
|
|
|
|
/*-----QLineEdit-----*/
|
|
QLineEdit
|
|
{
|
|
background-color: #a7a7a5;
|
|
color: #000;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
border-color: #4a4c68;
|
|
|
|
}
|
|
|
|
|
|
/*-----QTableView-----*/
|
|
QTableView,
|
|
QHeaderView,
|
|
QTableView::item
|
|
{
|
|
background-color: #e6e6e6;
|
|
color: #000;
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
QTableView::item:selected
|
|
{
|
|
background-color: #888888;
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
|
QHeaderView::section:horizontal
|
|
{
|
|
background-color: #e6e6e6;
|
|
border: 1px solid #37384d;
|
|
padding: 2px;
|
|
|
|
}
|
|
|
|
|
|
QTableView::indicator{
|
|
background-color: #212121;
|
|
border: 1px solid #37384d;
|
|
|
|
}
|
|
|
|
|
|
QTableView::indicator:checked{
|
|
image:url("./ressources/check.png"); /*To replace*/
|
|
background-color: #212121;
|
|
|
|
}
|
|
|
|
/*-----QTabWidget-----*/
|
|
QTabWidget::pane
|
|
{
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
QTabWidget::tab-bar
|
|
{
|
|
left: 5px;
|
|
|
|
}
|
|
|
|
|
|
QTabBar::tab
|
|
{
|
|
color: #000;
|
|
min-width: 1px;
|
|
padding-left: 25px;
|
|
margin-left:-22px;
|
|
height: 28px;
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
QTabBar::tab:selected
|
|
{
|
|
color: #000;
|
|
font-weight: bold;
|
|
height: 28px;
|
|
|
|
}
|
|
|
|
|
|
QTabBar::tab:!first
|
|
{
|
|
margin-left: -20px;
|
|
|
|
}
|
|
|
|
|
|
QTabBar::tab:hover
|
|
{
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
/*-----QScrollBar-----*/
|
|
QScrollBar:horizontal
|
|
{
|
|
background-color: transparent;
|
|
height: 8px;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
QScrollBar::handle:horizontal
|
|
{
|
|
border: none;
|
|
min-width: 100px;
|
|
background-color: #56576c;
|
|
|
|
}
|
|
|
|
|
|
QScrollBar::add-line:horizontal,
|
|
QScrollBar::sub-line:horizontal,
|
|
QScrollBar::add-page:horizontal,
|
|
QScrollBar::sub-page:horizontal
|
|
{
|
|
width: 0px;
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
QScrollBar:vertical
|
|
{
|
|
background-color: transparent;
|
|
width: 8px;
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
QScrollBar::handle:vertical
|
|
{
|
|
border: none;
|
|
min-height: 100px;
|
|
background-color: #56576c;
|
|
|
|
}
|
|
|
|
|
|
QScrollBar::add-line:vertical,
|
|
QScrollBar::sub-line:vertical,
|
|
QScrollBar::add-page:vertical,
|
|
QScrollBar::sub-page:vertical
|
|
{
|
|
height: 0px;
|
|
background-color: transparent;
|
|
|
|
}
|