2012-08-15 10:45:06 -07:00
|
|
|
/**
|
|
|
|
* @provides phabricator-action-list-view-css
|
|
|
|
*/
|
|
|
|
|
2012-12-07 13:37:10 -08:00
|
|
|
.device .phabricator-action-list-view {
|
2013-09-03 07:00:06 -07:00
|
|
|
padding: 4px 0;
|
2013-04-09 12:42:03 -07:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-09-25 19:56:22 +00:00
|
|
|
!print .phabricator-action-list-view {
|
|
|
|
padding: 4px 0;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-05-05 10:56:38 -07:00
|
|
|
.device .phuix-dropdown-menu .phabricator-action-list-view {
|
|
|
|
/* When an action list view appears inside a dropdown menu, don't hide it
|
|
|
|
by default. */
|
|
|
|
display: block;
|
2017-01-17 12:04:28 -08:00
|
|
|
padding: 0;
|
2014-05-05 10:56:38 -07:00
|
|
|
}
|
|
|
|
|
2015-04-12 13:57:17 -07:00
|
|
|
.device .phabricator-action-list-view.phabricator-action-list-toggle,
|
|
|
|
.device-desktop .phui-document-content
|
|
|
|
.phabricator-action-list-view.phabricator-action-list-toggle {
|
2013-04-09 12:42:03 -07:00
|
|
|
display: block;
|
2015-04-12 13:29:27 -07:00
|
|
|
width: 200px;
|
2017-01-17 12:04:28 -08:00
|
|
|
border: 1px solid {$lightgreyborder};
|
2015-04-12 13:29:27 -07:00
|
|
|
border-radius: 3px;
|
|
|
|
position: absolute;
|
|
|
|
right: 16px;
|
|
|
|
top: 42px;
|
|
|
|
background: #fff;
|
2015-04-14 09:48:59 -07:00
|
|
|
box-shadow: {$dropshadow};
|
2015-04-14 10:09:48 -07:00
|
|
|
padding: 4px 0;
|
2013-04-09 12:42:03 -07:00
|
|
|
}
|
|
|
|
|
2015-04-12 13:29:27 -07:00
|
|
|
.device-phone .phabricator-action-list-view.phabricator-action-list-toggle {
|
|
|
|
right: 8px;
|
|
|
|
top: 38px;
|
2013-05-06 09:46:53 -07:00
|
|
|
}
|
|
|
|
|
2012-08-15 10:45:06 -07:00
|
|
|
.phabricator-action-view {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2012-10-03 10:21:39 -07:00
|
|
|
.phabricator-action-view button.phabricator-action-view-item {
|
|
|
|
border: none;
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
outline: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
font-weight: normal;
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
2012-11-08 18:58:54 -08:00
|
|
|
text-shadow: none;
|
2012-11-23 16:35:39 -08:00
|
|
|
|
|
|
|
border-radius: 0;
|
2015-05-19 06:38:48 -07:00
|
|
|
color: {$anchor};
|
2012-11-23 16:35:39 -08:00
|
|
|
font: inherit;
|
|
|
|
display: inline;
|
|
|
|
min-width: 0;
|
2012-10-03 10:21:39 -07:00
|
|
|
}
|
|
|
|
|
2017-02-05 20:45:27 +00:00
|
|
|
.phabricator-action-view button.phabricator-action-view-item .phui-icon-view {
|
|
|
|
color: {$darkbluetext};
|
|
|
|
}
|
|
|
|
|
2012-10-03 10:21:39 -07:00
|
|
|
.phabricator-action-view button.phabricator-action-view-item,
|
2012-08-15 10:45:06 -07:00
|
|
|
.phabricator-action-view-item {
|
2017-01-17 12:04:28 -08:00
|
|
|
padding: 4px 8px 6px 8px;
|
2012-08-15 10:45:06 -07:00
|
|
|
display: block;
|
2012-11-23 16:35:39 -08:00
|
|
|
text-decoration: none;
|
2015-07-01 15:17:44 -07:00
|
|
|
color: {$darkbluetext};
|
2017-02-06 09:22:56 -08:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2017-03-07 13:26:28 -08:00
|
|
|
white-space: nowrap;
|
2012-08-15 10:45:06 -07:00
|
|
|
}
|
|
|
|
|
2017-01-17 12:04:28 -08:00
|
|
|
.action-has-icon button.phabricator-action-view-item,
|
|
|
|
.action-has-icon .phabricator-action-view-item {
|
|
|
|
padding: 4px 4px 4px 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-desktop .phabricator-action-view-href:hover
|
|
|
|
.phabricator-action-view-item {
|
|
|
|
text-decoration: none;
|
|
|
|
background: rgba({$alphablue}, .08);
|
|
|
|
color: {$sky};
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-desktop .phabricator-action-view-href:hover
|
|
|
|
.phabricator-action-view-icon {
|
|
|
|
color: {$sky};
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-desktop .phabricator-action-view-href.action-item-red:hover
|
|
|
|
.phabricator-action-view-item {
|
|
|
|
background-color: {$sh-redbackground};
|
|
|
|
color: {$sh-redtext};
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-desktop .phabricator-action-view-href.action-item-red:hover
|
|
|
|
.phabricator-action-view-icon {
|
|
|
|
color: {$red};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-action-view-label .phabricator-action-view-item,
|
|
|
|
.phabricator-action-view-type-label .phabricator-action-view-item {
|
|
|
|
font-size: {$smallerfontsize};
|
2015-04-23 07:03:03 -07:00
|
|
|
font-weight: bold;
|
|
|
|
color: {$bluetext};
|
|
|
|
padding: 4px 8px 6px 8px;
|
|
|
|
display: block;
|
2017-01-17 12:04:28 -08:00
|
|
|
text-transform: uppercase;
|
2015-04-23 07:03:03 -07:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-action-view + .phabricator-action-view-label {
|
|
|
|
padding-top: 8px;
|
|
|
|
}
|
|
|
|
|
2012-08-15 10:45:06 -07:00
|
|
|
.phabricator-action-view-icon {
|
2012-11-23 16:35:39 -08:00
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
2012-08-15 10:45:06 -07:00
|
|
|
position: absolute;
|
2017-01-17 12:04:28 -08:00
|
|
|
top: 7px;
|
2016-12-06 22:44:46 -08:00
|
|
|
left: 8px;
|
2015-07-01 15:17:44 -07:00
|
|
|
text-align: center;
|
2012-08-15 10:45:06 -07:00
|
|
|
}
|
|
|
|
|
2012-10-03 10:21:39 -07:00
|
|
|
.phabricator-action-view-disabled .phabricator-action-view-item,
|
|
|
|
.phabricator-action-view-disabled button.phabricator-action-view-item {
|
2013-09-02 08:12:18 -07:00
|
|
|
color: {$lightgreytext};
|
2012-08-24 13:19:30 -07:00
|
|
|
}
|
|
|
|
|
2014-05-05 10:56:57 -07:00
|
|
|
.phabricator-action-view-selected {
|
2017-01-17 12:04:28 -08:00
|
|
|
background: {$sh-violetbackground};
|
|
|
|
border-radius: 3px;
|
2014-05-28 20:56:20 -07:00
|
|
|
}
|
|
|
|
|
2017-01-17 12:04:28 -08:00
|
|
|
.phabricator-action-view-selected:hover a {
|
|
|
|
text-decoration: none;
|
2014-05-05 10:56:57 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 12:12:25 -07:00
|
|
|
.phabricator-action-view button[disabled] {
|
|
|
|
opacity: 1.0;
|
|
|
|
}
|
|
|
|
|
2012-11-23 16:35:39 -08:00
|
|
|
.device-desktop .phabricator-action-view-disabled:hover
|
|
|
|
.phabricator-action-view-item,
|
|
|
|
.device-desktop .phabricator-action-view-disabled:hover
|
2014-05-12 10:08:32 -07:00
|
|
|
button.phabricator-action-view-item,
|
|
|
|
.device-desktop .phabricator-action-view-disabled:hover
|
|
|
|
.phabricator-action-view-icon,
|
|
|
|
.device-desktop .phabricator-action-view-disabled:hover
|
|
|
|
button.phabricator-action-view-icon {
|
2013-09-02 08:12:18 -07:00
|
|
|
color: {$lightgreytext};
|
2012-08-24 13:19:30 -07:00
|
|
|
}
|
2017-01-17 12:04:28 -08:00
|
|
|
|
|
|
|
.phabricator-action-view-type-divider {
|
|
|
|
margin-top: 8px;
|
|
|
|
border-top: 1px solid {$thinblueborder};
|
|
|
|
}
|
2017-03-08 18:02:16 -08:00
|
|
|
|
|
|
|
/******* Sub Menu *************************************************************/
|
|
|
|
|
|
|
|
.phabricator-action-view-submenu .caret-right {
|
|
|
|
position: absolute;
|
|
|
|
top: 8px;
|
|
|
|
right: 8px;
|
|
|
|
border-left-color: {$alphablue};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-action-view-submenu .caret {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 8px;
|
|
|
|
border-top: 7px solid {$lightgreytext};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-action-list-view .phabricator-action-view-submenu.phui-submenu-open
|
|
|
|
.phabricator-action-view-item {
|
|
|
|
background-color: rgba({$alphablue}, 0.07);
|
|
|
|
color: {$sky};
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-action-list-view .phabricator-action-view-submenu.phui-submenu-open
|
|
|
|
.phabricator-action-view-item .phui-icon-view {
|
|
|
|
color: {$sky};
|
|
|
|
}
|