Files
2015-08-19 11:32:34 -05:00

100 lines
1.9 KiB
SCSS

// Action Menu
// --------------------------------------------------
$action-menu-width: 100% !default;
$action-menu-max-width: 520px !default;
$action-menu-background-color: rgba(243,243,243,.95) !default;
$action-menu-button-text-color: #007aff !default;
$action-menu-options-bg-color: #f1f2f3 !default;
$action-menu-options-bg-active-color: #e4e5e7 !default;
$action-menu-options-text-color: #007aff !default;
$action-menu-options-border-color: #d1d3d6 !default;
ion-action-menu {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: block;
z-index: $z-index-overlay;
}
action-menu-wrapper {
position: absolute;
z-index: $z-index-overlay-wrapper;
bottom: 0;
left: 0;
right: 0;
width: 100%;
max-width: 500px;
margin: auto;
transform: translate3d(0, 100%, 0);
}
.action-menu-container {
width: auto;
overflow: hidden;
button {
display: block;
padding: 1px;
width: 100%;
margin: 0;
border-radius: 0;
border-color: $action-menu-options-border-color;
background-color: transparent;
color: $action-menu-options-text-color;
font-size: 21px;
&:hover {
color: $action-menu-options-text-color;
}
}
button.activated {
box-shadow: none;
border-color: $action-menu-options-border-color;
color: $action-menu-options-text-color;
background: $action-menu-options-bg-active-color;
}
}
.action-menu-has-icons .icon {
position: absolute;
left: 16px;
}
.action-menu-title {
padding: 10px;
color: #8f8f8f;
text-align: center;
font-size: 13px;
}
.action-menu-group {
background-color: #fff;
overflow: hidden;
button {
border-width: 1px 0px 0px 0px;
}
button:first-child:last-child {
border-width: 0;
}
}
.action-menu-options {
background: $action-menu-options-bg-color;
}
.action-menu-cancel button {
font-weight: 500;
}