Sha256: 1566c009999e8a1ec846295532890e2c0b707153354468f03e97c98c3e9818f9

Contents?: true

Size: 1.64 KB

Versions: 8

Compression:

Stored size: 1.64 KB

Contents

// ButtonGroup

.btn-group-border-left(@border-color) when (@has-button-borders = true) {
	border-left: 1px solid @border-color;
}

.btn-group-border-right(@border-color) when (@has-button-borders = true) {
	border-right: 1px solid @border-color;
}


.@{prefix}-btn-group .@{prefix}-btn {
	border-width: @btn-group-border-width;
	margin: 0;
	.border-radius(0);
	margin-left: @flow-layout-spacing;
}

.@{prefix}-btn-group .@{prefix}-btn when (@has-button-borders = true) {
	border-left-width: 0;
	border-right-width: 0;
	margin-left: 0;
}

.@{prefix}-btn-group:not(:first-child) when (@has-button-borders = true) {
	padding-left: 1px;
	margin-left: 1px;
}

.@{prefix}-btn-group:not(:first-child) when (@has-button-borders = false) {
	border-left: 1px solid darken(@btn-bg, 15%);
	padding-left: @flow-layout-spacing + 1px;
	margin-left: @flow-layout-spacing + 1px;
}

.@{prefix}-btn-group .@{prefix}-first {
	.border-radius(3px 0 0 3px);
	.btn-group-border-left(@btn-border-left);
	margin-left: 0;
}

.@{prefix}-btn-group .@{prefix}-last {
	.border-radius(0 3px 3px 0);
	.btn-group-border-right(@btn-border-right);
}

.@{prefix}-btn-group .@{prefix}-first.@{prefix}-last {
	.border-radius(3px);
}

.@{prefix}-btn-group .@{prefix}-btn.@{prefix}-flow-layout-item {
	margin: 0;
}

// RTL

.@{prefix}-rtl .@{prefix}-btn-group .@{prefix}-btn {
	margin-left: 0;
	margin-right: @flow-layout-spacing;
}

.@{prefix}-rtl .@{prefix}-btn-group .@{prefix}-first {
	margin-right: 0;
}

.@{prefix}-rtl .@{prefix}-btn-group:not(:first-child) {
	border-left: none;
	border-right:1px solid darken(@btn-bg, 15%);
	padding-right: @flow-layout-spacing + 2px;
	margin-right: @flow-layout-spacing + 2px;
}

Version data entries

8 entries across 5 versions & 2 rubygems

Version Path
tinymce-rails-4.5.1 vendor/assets/javascripts/tinymce/skins/lightgray/ButtonGroup.less
tinymce-rails-4.5.0 vendor/assets/javascripts/tinymce/skins/lightgray/ButtonGroup.less
spiderfw-1.0.1 apps/core/components/public/css/tinymce/skins/lightgray/ButtonGroup.less
spiderfw-1.0.1 apps/core/components/public/js/tinymce/skins/lightgray/ButtonGroup.less
spiderfw-1.0.0 apps/core/components/public/css/tinymce/skins/lightgray/ButtonGroup.less
spiderfw-1.0.0 apps/core/components/public/js/tinymce/skins/lightgray/ButtonGroup.less
spiderfw-0.6.39 apps/core/components/public/css/tinymce/skins/lightgray/ButtonGroup.less
spiderfw-0.6.39 apps/core/components/public/js/tinymce/skins/lightgray/ButtonGroup.less