k15t-aui-ng2
Version:
aui-ng2 is a set of angular 2 components, directives and services to simplify the integration with Atlassian products based on AUI/ADG. The library is still under development and is considered in an experimental state. So be aware that things will change
125 lines (109 loc) • 2.98 kB
CSS
/**
* Tabs menu specific styles
*/
.aui-ng-tabs-menu {
width: 100%;
display: inline-flex ;
list-style: none;
white-space: nowrap;
}
.aui-ng-menu-item {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding-bottom: 4px ;
height: 21px;
}
/**
* Dropdown specific styles
*/
.aui-ng-dropdown-options {
background-color: #fff;
border: 1px solid #ccc;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
box-shadow: 0 3px 6px rgba(0, 0, 0, .2);
list-style: none;
padding: 0px;
outline: none;
max-width: 400px;
overflow-x: hidden;
text-overflow: ellipsis;
}
.aui-ng-dropdown-option {
cursor: pointer;
min-width: 120px;
background: none ;
padding: 2px;
padding-left: 10px;
padding-right: 10px;
border-radius: 0 ;
overflow-x: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.aui-ng-dropdown-option:hover {
background: #3572b0 ;
color: #fff ;
}
.aui-ng-dropdown-container {
position: relative;
height: 30px;
}
.aui-ng-dropdown-options-container {
position: absolute;
z-index: 3100;
top: 27px;
}
.aui-ng-dropdown-button {
border-radius: 0 ;
border: 0;
height: 30px;
border-top: 1px solid #cccccc;
overflow-x: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.aui-ng-dropdown-button-select {
border-radius: 0 ;
border-top-right-radius: 3px ;
height: 30px;
vertical-align: top ;
border-top: 1px solid #cccccc;
border-right: 1px solid #cccccc;
border-bottom: 1px solid transparent ;
border-left: 0 ;
margin-left: -1px ;
}
.aui-ng-dropdown-button-select:hover,
.aui-ng-dropdown-button-select:hover:after {
border-left: 1px solid transparent ;
border-top: 1px solid #cccccc;
border-right: 1px solid #cccccc ;
border-bottom: 1px solid transparent ;
}
/** Hover specific overrides for Atlassian specific styles */
.aui-button-split-main:hover {
border-right: 1px solid transparent ;
border-left: 1px solid #cccccc ;
border-top: 1px solid #cccccc;
}
.aui-button.aui-dropdown2-trigger.aui-button-split-more.active:hover:before,
.aui-button.aui-dropdown2-trigger.aui-button-split-more.active:before,
.aui-button.aui-dropdown2-trigger.aui-button-split-more:hover:before,
.aui-button-split-more:hover {
border: 1px solid transparent;
border-top: 1px solid #cccccc ;
}
.aui-buttons .aui-button:focus,
.aui-buttons .aui-button:hover,
.aui-buttons .aui-button:active {
border: 1px solid transparent;
border-top: 1px solid #cccccc;
border-left: 1px ;
border-right: 1px solid #CCCCCC;
box-shadow: none ;
}
.tabs-menu > .menu-item > a {
padding-top: 4px;
}