Files
o3de/Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/SegmentControl.qss
T
Steve Pham 38261d0800 Shorten copyright headers by splitting into 2 lines (#2213)
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines

Signed-off-by: Steve Pham <spham@amazon.com>
2021-07-16 15:25:48 -07:00

78 lines
1.6 KiB
Plaintext

/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* 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;
}