2012-08-15 19:45:06 +02:00
|
|
|
/**
|
|
|
|
* @provides phabricator-action-list-view-css
|
|
|
|
*/
|
|
|
|
|
2012-12-07 22:37:10 +01:00
|
|
|
.device .phabricator-action-list-view {
|
2013-09-03 16:00:06 +02:00
|
|
|
padding: 4px 0;
|
2013-04-09 21:42:03 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-05-05 19:56:38 +02: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 21:04:28 +01:00
|
|
|
padding: 0;
|
2014-05-05 19:56:38 +02:00
|
|
|
}
|
|
|
|
|
2015-04-12 22:57:17 +02: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 21:42:03 +02:00
|
|
|
display: block;
|
2015-04-12 22:29:27 +02:00
|
|
|
width: 200px;
|
2017-01-17 21:04:28 +01:00
|
|
|
border: 1px solid {$lightgreyborder};
|
2015-04-12 22:29:27 +02:00
|
|
|
border-radius: 3px;
|
|
|
|
position: absolute;
|
|
|
|
right: 16px;
|
|
|
|
top: 42px;
|
|
|
|
background: #fff;
|
2015-04-14 18:48:59 +02:00
|
|
|
box-shadow: {$dropshadow};
|
2015-04-14 19:09:48 +02:00
|
|
|
padding: 4px 0;
|
2013-04-09 21:42:03 +02:00
|
|
|
}
|
|
|
|
|
2015-04-12 22:29:27 +02:00
|
|
|
.device-phone .phabricator-action-list-view.phabricator-action-list-toggle {
|
|
|
|
right: 8px;
|
|
|
|
top: 38px;
|
2013-05-06 18:46:53 +02:00
|
|
|
}
|
|
|
|
|
2012-08-15 19:45:06 +02:00
|
|
|
.phabricator-action-view {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2012-10-03 19:21:39 +02: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-09 03:58:54 +01:00
|
|
|
text-shadow: none;
|
2012-11-24 01:35:39 +01:00
|
|
|
|
|
|
|
border-radius: 0;
|
2015-05-19 15:38:48 +02:00
|
|
|
color: {$anchor};
|
2012-11-24 01:35:39 +01:00
|
|
|
font: inherit;
|
|
|
|
display: inline;
|
|
|
|
min-width: 0;
|
2012-10-03 19:21:39 +02:00
|
|
|
}
|
|
|
|
|
2017-02-05 21:45:27 +01:00
|
|
|
.phabricator-action-view button.phabricator-action-view-item .phui-icon-view {
|
|
|
|
color: {$darkbluetext};
|
|
|
|
}
|
|
|
|
|
2012-10-03 19:21:39 +02:00
|
|
|
.phabricator-action-view button.phabricator-action-view-item,
|
2012-08-15 19:45:06 +02:00
|
|
|
.phabricator-action-view-item {
|
2017-01-17 21:04:28 +01:00
|
|
|
padding: 4px 8px 6px 8px;
|
2012-08-15 19:45:06 +02:00
|
|
|
display: block;
|
2012-11-24 01:35:39 +01:00
|
|
|
text-decoration: none;
|
2015-07-02 00:17:44 +02:00
|
|
|
color: {$darkbluetext};
|
2017-02-06 18:22:56 +01:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2017-03-07 22:26:28 +01:00
|
|
|
white-space: nowrap;
|
2012-08-15 19:45:06 +02:00
|
|
|
}
|
|
|
|
|
2017-01-17 21:04:28 +01: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 16:03:03 +02:00
|
|
|
font-weight: bold;
|
|
|
|
color: {$bluetext};
|
|
|
|
padding: 4px 8px 6px 8px;
|
|
|
|
display: block;
|
2017-01-17 21:04:28 +01:00
|
|
|
text-transform: uppercase;
|
2015-04-23 16:03:03 +02:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-action-view + .phabricator-action-view-label {
|
|
|
|
padding-top: 8px;
|
|
|
|
}
|
|
|
|
|
2012-08-15 19:45:06 +02:00
|
|
|
.phabricator-action-view-icon {
|
2012-11-24 01:35:39 +01:00
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
2012-08-15 19:45:06 +02:00
|
|
|
position: absolute;
|
2017-01-17 21:04:28 +01:00
|
|
|
top: 7px;
|
2016-12-07 07:44:46 +01:00
|
|
|
left: 8px;
|
2015-07-02 00:17:44 +02:00
|
|
|
text-align: center;
|
2012-08-15 19:45:06 +02:00
|
|
|
}
|
|
|
|
|
2012-10-03 19:21:39 +02:00
|
|
|
.phabricator-action-view-disabled .phabricator-action-view-item,
|
|
|
|
.phabricator-action-view-disabled button.phabricator-action-view-item {
|
2013-09-02 17:12:18 +02:00
|
|
|
color: {$lightgreytext};
|
2012-08-24 22:19:30 +02:00
|
|
|
}
|
|
|
|
|
2014-05-05 19:56:57 +02:00
|
|
|
.phabricator-action-view-selected {
|
2017-01-17 21:04:28 +01:00
|
|
|
background: {$sh-violetbackground};
|
|
|
|
border-radius: 3px;
|
2014-05-29 05:56:20 +02:00
|
|
|
}
|
|
|
|
|
2017-01-17 21:04:28 +01:00
|
|
|
.phabricator-action-view-selected:hover a {
|
|
|
|
text-decoration: none;
|
2014-05-05 19:56:57 +02:00
|
|
|
}
|
|
|
|
|
2013-07-17 21:12:25 +02:00
|
|
|
.phabricator-action-view button[disabled] {
|
|
|
|
opacity: 1.0;
|
|
|
|
}
|
|
|
|
|
2012-11-24 01:35:39 +01:00
|
|
|
.device-desktop .phabricator-action-view-disabled:hover
|
|
|
|
.phabricator-action-view-item,
|
|
|
|
.device-desktop .phabricator-action-view-disabled:hover
|
2014-05-12 19:08:32 +02: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 17:12:18 +02:00
|
|
|
color: {$lightgreytext};
|
2012-08-24 22:19:30 +02:00
|
|
|
}
|
2017-01-17 21:04:28 +01:00
|
|
|
|
|
|
|
.phabricator-action-view-type-divider {
|
|
|
|
margin-top: 8px;
|
|
|
|
border-top: 1px solid {$thinblueborder};
|
|
|
|
}
|
2017-03-09 03:02:16 +01: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};
|
|
|
|
}
|