77 lines
1.5 KiB
Plaintext
77 lines
1.5 KiB
Plaintext
/*
|
|
* Copyright (c) Contributors to the Open 3D Engine Project
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*/
|
|
|
|
AzQtComponents--SegmentBar
|
|
{
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
AzQtComponents--SegmentBar QAbstractButton
|
|
{
|
|
background-color: #333333;
|
|
border-color: #222222;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
|
|
font-size: 12px;
|
|
|
|
height: 28px;
|
|
|
|
line-height: 24px;
|
|
|
|
margin-left: 0px;
|
|
|
|
min-width: 68px; /* 100 - (padding-left + padding-right) */
|
|
|
|
padding-left: 16px;
|
|
padding-right: 16px;
|
|
}
|
|
|
|
AzQtComponents--SegmentBar[orientation="1"] QAbstractButton.TabLast
|
|
{
|
|
margin-left: -1px;
|
|
border-top-left-radius: 0px;
|
|
border-bottom-left-radius: 0px;
|
|
border-top-right-radius: 3px;
|
|
border-bottom-right-radius: 3px;
|
|
}
|
|
|
|
AzQtComponents--SegmentBar[orientation="1"] QAbstractButton.TabFirst
|
|
{
|
|
border-top-left-radius: 3px;
|
|
border-bottom-left-radius: 3px;
|
|
border-top-right-radius: 0px;
|
|
border-bottom-right-radius: 0px;
|
|
}
|
|
|
|
AzQtComponents--SegmentBar[orientation="1"] QAbstractButton.TabMiddle
|
|
{
|
|
margin-left: -1px;
|
|
}
|
|
|
|
AzQtComponents--SegmentBar[orientation="2"] QAbstractButton
|
|
{
|
|
text-align: left;
|
|
}
|
|
|
|
AzQtComponents--SegmentBar[orientation="2"] QAbstractButton.TabMiddle,
|
|
AzQtComponents--SegmentBar[orientation="2"] QAbstractButton.TabLast
|
|
{
|
|
margin-top: -1px;
|
|
}
|
|
|
|
AzQtComponents--SegmentBar QAbstractButton:checked
|
|
{
|
|
background-color: #555555;
|
|
}
|
|
|
|
AzQtComponents--SegmentBar QAbstractButton:hover:!checked,
|
|
AzQtComponents--SegmentBar QAbstractButton:pressed:!checked
|
|
{
|
|
background-color: #444444;
|
|
}
|