/** * @copyright Copyright (c) 2017 Matthias Held * * @author Matthias Held * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ #ransomware_detection { ul > li > span.icon { display: inline-block; } } .row { margin-left: -15px; margin-right: -15px; position: relative; &:before, &:after { content: " "; display: table } &:after { clear: both } } .sequence-color { float: left; height: 100%; position: absolute; top: 0; bottom: 0; width: 20px; } .color-box { height: 100%; width: 20px; } .sequence-table { float: right; width: 100%; padding-left: 25px; } .ransomware-files { position: relative; width: 100%; color: #2A2A2A; } .scan-header span { font-weight: bold; } .icon { display: inline-block; vertical-align: middle; background-size: 16px 16px; } table { .select-all + label { padding: 16px; } tr { &:hover { td.selection > .selectCheckBox + label:before { opacity: 1; } } &:focus { td.selection > .selectCheckBox + label:before { opacity: 1; } } &.selected { td.selection > .selectCheckBox + label:before { opacity: 1; } } } td { padding: 0 15px; font-style: normal; background-position: 8px center; background-repeat: no-repeat; p { text-align: center; } &.selection { width: 32px; padding: 0px; text-align: center; } &.selection > .selectCheckBox + label, .select-all + label { padding: 16px; } &.file-name { width: 70%; margin-top: 9px; margin-left: 48px; padding-left: 0px; padding-right: 0px; .name-wrapper { display: flex; position: relative; -moz-box-sizing: border-box; box-sizing: border-box; height: 50px; line-height: 50px; padding: 0; .thumbnail-wrapper { width: 0; min-width: 50px; max-width: 50px; height: 50px; .thumbnail { display: inline-block; width: 32px; height: 32px; background-size: 32px; margin-left: 9px; margin-top: 9px; float: left; position: absolute; z-index: 4; } } .name-text { width: 0; flex-grow: 1; display: flex; padding: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; height: 100%; z-index: 10; padding-right: 20px; } span { &.inner-name-text { text-overflow: ellipsis; overflow: hidden; position: relative; vertical-align: top; } &.extension { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); opacity: 1; -webkit-transition: opacity 300ms; -moz-transition: opacity 300ms; -o-transition: opacity 300ms; transition: opacity 300ms; vertical-align: top; color: #2A2A2A; font-weight: bold; } } } } } th { .column-title { display: block; padding: 15px; height: 50px; box-sizing: border-box; -moz-box-sizing: border-box; vertical-align: middle; a { &.recover-selected { font-weight: bold; color: #000; opacity: 0.3; &:hover { opacity: 0.7; } } } &.name { padding-left: 5px; padding-right: 80px; margin-left: 50px; } } .bold { font-weight: bold; color: #000; } p { text-align: center; } a { color: #999; } color: #999; } th, td { border-bottom: 1px solid #eee; text-align: left; font-weight: normal; } tbody { tr { transition: background-color 0.3s ease; background-color: #fff; height: 51px; &.green { background-color: #87D37C; } &.color-blind-green { background-color: rgba(11, 85, 159, .25); } &.yellow { background-color: #F5D76E; } &.color-blind-yellow { background-color: rgba(11, 85, 159, .5); } &.red { background-color: #FF6347; } &.color-blind-red { background-color: rgba(11, 85, 159, 1); } &.selected { background-color: rgba(153, 153, 153, .1) !important; } } } } .color-box { &.green { background-color: #87D37C; } &.color-blind-green { background-color: rgba(11, 85, 159, .25); } &.yellow { background-color: #F5D76E; } &.color-blind-yellow { background-color: rgba(11, 85, 159, .5); } &.red { background-color: #FF6347; } &.color-blind-red { background-color: rgba(11, 85, 159, 1); } } .legend { .color-box { width: 20px; height: 20px; float: left; margin: 0px 5px 0px 5px; } .icon-box { width: 10px; height: 20px; float: left; margin: 0px 0px 0px 5px; } li { float: left; } clear: both; padding-top: 5px; } .section { margin-bottom: 0px; .sequence-action { padding: 4px 0px 4px 0px; font-weight: bold; color: #000; opacity: 0.3; &:hover { opacity: 0.7; } } } .action { padding: 4px 0px 4px 0px; font-weight: bold; color: #000; opacity: 0.3; &:hover { opacity: 0.7; } } .suspicion-level-1 { background-color: #F5D76E; } .suspicion-level-2 { background-color: #FF6347; } .disabled { pointer-events: none; cursor: default !important; opacity: 0.6; } .logs { width: 100%; white-space: normal; margin-bottom: 14px; table-layout: fixed; th { color: #888; } td, th { vertical-align: top; padding: .8em; text-align: left; font-weight: normal; position: relative; word-wrap: break-word; border-bottom: 1px solid #eee; } th.level.active .log-settings-toggle, th.level:hover .log-settings-toggle { opacity: 1; } .time { width: 180px; } .time.relative { width: 100px; } .app { width: 100px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } td.app, th.app { @media only screen and (max-width: 1100px) { display: none; } } .level { width: 100px; } /* warning*/ .level_2 td.level { border-left: 5px solid #FEEFB3; } /*error*/ .level_3 td.level { border-left: 5px solid #FFBABA; } /*fatal*/ .level_4 td.level { border-left: 5px solid #ff8080; } div.column { box-sizing: border-box; padding: 7px; } div.level { font-weight: bold; } div.level, div.app, div.time { display: inline-block; width: 33%; } div.time { padding-right: 20px; } div.row { position: relative; } div.message { border-bottom: 1px solid #888; } td.copy, th.copy { position: relative; width: 42px; margin: 0; overflow: visible; button { position: relative; opacity: 0; transition: opacity 0.5s; top: -5px; padding: 0; background-color: transparent; border: none; width: 42px; } } tr:hover { td.copy button { opacity: 0.5; &:hover { opacity: 1; } } } tr.active td.copy button { opacity: 1; } div.level_1 { } div.level_2 { border-left: 5px solid #FEEFB3; } div.level_3 { border-left: 5px solid #FFBABA; } div.level_4 { border-left: 5px solid #ff8080; } tr.empty td { border-bottom: none; } tr.empty td:hover { background-color: white; } tr.highlight { background-color: #f8f8f8; } } .smallHeader, th.level { overflow: visible; > span { margin: -0.8em; padding: .8em; display: block; width: 100%; height: 100%; cursor: pointer; } .log-settings-toggle { cursor: pointer; display: block; float: right; margin: 2px; opacity: 0.5; transition: opacity 0.2s; } } .smallHeader { margin-left: 44px; width: 62px; padding: 10px; .log-settings-toggle:hover { opacity: 1; } } .copyMenu { right: -10px; top: 50px; width: 150px; }