Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
89 lines (73 sloc) 1.89 KB
/*
* Copyright 2012 Research In Motion Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*Control Groups*/
.ui-controlgroup, fieldset.ui-controlgroup {
margin: @controlgroup-margin;
.ui-controlgroup-controls {
.insetBorder-C;
width: auto;
}
&.ui-controlgroup-horizontal {
display: inline-block;
.ui-controlgroup-controls {
padding-right: 5px !important;
max-width: @global-screen-width - 40px;
}
.ui-controlgroup-controls .ui-btn {
margin-right: -2px;
}
}
&.ui-controlgroup-vertical {
.ui-controlgroup-controls .ui-btn:not(:first-child) {
margin-top: -2px;
}
.ui-controlgroup-controls .ui-radio:not(:first-child),
.ui-controlgroup-controls .ui-checkbox:not(:first-child) {
margin-top: -2px;
.ui-btn {
margin-top: 0;
}
}
.ui-controlgroup-controls .ui-radio:first-child,
.ui-controlgroup-controls .ui-checkbox:first-child {
margin-top: 0;
.ui-btn {
margin-top: 0;
}
}
}
.ui-controlgroup-controls .ui-btn {
min-width: 0;
.noBorder();
height: 91px;
background: transparent;
}
.ui-controlgroup-controls .ui-btn-inner {
.rounded(0);
&.ui-controlgroup-last.ui-corner-bottom {
.rounded(bottom, 5px);
}
&.ui-corner-top:first-child {
.rounded(top, 5px);
}
&.ui-corner-left:first-child {
.rounded(left, 5px);
}
&.ui-corner-right.ui-controlgroup-last {
.rounded(right, 5px);
}
}
}
Something went wrong with that request. Please try again.