mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-07 15:07:11 -04:00
79 lines
1.4 KiB
CSS
Executable file
79 lines
1.4 KiB
CSS
Executable file
/**
|
|
* Operation styles
|
|
*
|
|
* @author n1474335 [n1474335@gmail.com]
|
|
* @copyright Crown Copyright 2017
|
|
* @license Apache-2.0
|
|
*/
|
|
|
|
/*
|
|
Note: .operation is used in the c-operation-li custom web components, but also
|
|
for list items in #recipe-list
|
|
*/
|
|
|
|
.operation {
|
|
padding: 10px;
|
|
list-style-type: none;
|
|
position: relative;
|
|
border-width: 1px;
|
|
border-style: solid;
|
|
border-top: none;
|
|
border-left: none;
|
|
border-right: none;
|
|
cursor: default;
|
|
}
|
|
|
|
@media only screen and (min-width: 768px){
|
|
.operation {
|
|
cursor: grab;
|
|
}
|
|
}
|
|
|
|
.op-icon {
|
|
float: right;
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
.op-icon.star-icon {
|
|
float: left;
|
|
margin: 0 10px 0 0;
|
|
padding: 0;
|
|
color: var(--op-list-operation-font-colour);
|
|
opacity: .35;
|
|
cursor: pointer;
|
|
}
|
|
|
|
li.operation.favourite > .op-icon.star-icon {
|
|
opacity: 1;
|
|
}
|
|
|
|
.op-icon.remove-icon {
|
|
color: #f44336;
|
|
}
|
|
|
|
.op-icon.check-icon {
|
|
display: none;
|
|
color: var(--checkmark-color);
|
|
}
|
|
|
|
.operation.selected {
|
|
background-color: var(--selected-operation-bg-colour);
|
|
}
|
|
|
|
.operation.selected > i.op-icon.check-icon {
|
|
display: inline-block;
|
|
}
|
|
|
|
.op-title {
|
|
font-weight: var(--op-title-font-weight);
|
|
}
|
|
|
|
c-operation-li li.operation.focused-op {
|
|
color: var(--focused-operation-font-color) !important;
|
|
background-color: var(--focused-operation-bg-colour) !important;
|
|
border-color: var(--focused-operation-border-colour) !important;
|
|
}
|
|
|
|
|