mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-03 19:57:36 +08:00
Splitpanel dock button for Halo #PL-5206
This commit is contained in:
parent
22cfd92c4a
commit
10ffa30e79
@ -105,4 +105,11 @@
|
||||
.cuba-app-icon {
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
// Padding for main tabsheet content
|
||||
|
||||
.cuba-splitpanel-dockable-right > div > div.v-splitpanel-second-container .cuba-app-tabbed-window.v-margin-left,
|
||||
.cuba-splitpanel-dockable-left > div > div.v-splitpanel-second-container .cuba-app-tabbed-window.v-margin-left {
|
||||
padding-left: 12px;
|
||||
}
|
||||
}
|
@ -19,4 +19,45 @@ $cuba-splitpanel-splitter-width: 3px !default;
|
||||
.#{$primary-stylename}-horizontal > div > .#{$primary-stylename}-second-container {
|
||||
margin-left: $cuba-splitpanel-splitter-width;
|
||||
}
|
||||
|
||||
$border-color: first-color(valo-border($strength: 1.2));
|
||||
$border-width: first-number($v-border);
|
||||
$border-radius: $v-border-radius;
|
||||
$button-color: valo-font-color($v-app-background-color, .5);
|
||||
$border-right-color: $v-app-background-color;
|
||||
$border-left-color: $v-panel-background-color;
|
||||
|
||||
.cuba-splitpanel-dock-button {
|
||||
cursor: pointer;
|
||||
width: 10px;
|
||||
background: transparent;
|
||||
border: $border-width solid $border-color;
|
||||
font-family: FontAwesome;
|
||||
color: $button-color;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
padding-top: round($v-unit-size/3);
|
||||
padding-bottom: round($v-unit-size/3);
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.cuba-splitpanel-dock-button-left {
|
||||
border-right-color: $border-left-color;
|
||||
margin-left: -2px;
|
||||
border-radius: $border-radius 0 0 $border-radius;
|
||||
}
|
||||
|
||||
.cuba-splitpanel-dock-button-right {
|
||||
border-left-color: $border-right-color;
|
||||
margin-left: 2px;
|
||||
border-radius: 0 $border-radius $border-radius 0;
|
||||
}
|
||||
|
||||
.cuba-splitpanel-dock-button-left:after {
|
||||
content: "\f053";
|
||||
}
|
||||
|
||||
.cuba-splitpanel-dock-button-right:after {
|
||||
content: "\f054";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user