| |
| /* |
| * Copyright 2017-present Open Networking Foundation |
| |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| |
| @import './../../style/vars.scss'; |
| @import '../../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables'; |
| |
| xos-table { |
| .row + .table-responsive { |
| margin-top: 10px; |
| } |
| } |
| |
| table { |
| border: 1px solid $background-dark-color; |
| |
| td, th { |
| position: relative; |
| } |
| |
| .xos-table-hover { |
| position: absolute; |
| top: -$padding-large-vertical; |
| left: $padding-large-horizontal; |
| opacity: 0; |
| transition: all .5s; |
| z-index: -1; |
| width: 250px; |
| |
| &:hover { |
| cursor: pointer; |
| } |
| } |
| |
| td:hover .xos-table-hover { |
| opacity: 1; |
| z-index: 2; |
| } |
| |
| td.xos-table-actions { |
| a + a { |
| margin-left: $padding-base-horizontal; |
| } |
| } |
| } |