blob: 5935d62dcee16c8991b7fbb7278b23ad03865e7e [file] [log] [blame]
Matteo Scandolofb46ae62017-08-08 09:10:50 -07001
2/*
3 * Copyright 2017-present Open Networking Foundation
4
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8
9 * http://www.apache.org/licenses/LICENSE-2.0
10
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18
Matteo Scandolo8b2370c2017-02-02 17:19:07 -080019@import './../../style/vars.scss';
20@import '../../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables';
21
Matteo Scandolod62ea792016-12-22 14:02:28 -080022xos-table {
23 .row + .table-responsive {
24 margin-top: 10px;
25 }
26}
27
Matteo Scandolo035c5932016-12-14 09:55:15 -080028table {
Matteo Scandolo8b2370c2017-02-02 17:19:07 -080029 border: 1px solid $background-dark-color;
Matteo Scandolo035c5932016-12-14 09:55:15 -080030
31 td, th {
Matteo Scandolo8b2370c2017-02-02 17:19:07 -080032 position: relative;
Matteo Scandolo035c5932016-12-14 09:55:15 -080033 }
Matteo Scandolo8b2370c2017-02-02 17:19:07 -080034
35 .xos-table-hover {
36 position: absolute;
37 top: -$padding-large-vertical;
38 left: $padding-large-horizontal;
39 opacity: 0;
40 transition: all .5s;
41 z-index: -1;
42 width: 250px;
43
44 &:hover {
45 cursor: pointer;
46 }
Matteo Scandolo035c5932016-12-14 09:55:15 -080047 }
Matteo Scandolo8b2370c2017-02-02 17:19:07 -080048
49 td:hover .xos-table-hover {
50 opacity: 1;
51 z-index: 2;
Matteo Scandolo035c5932016-12-14 09:55:15 -080052 }
Matteo Scandolo8b2370c2017-02-02 17:19:07 -080053
Matteo Scandolocc4bce82017-08-07 13:11:47 -070054 td.xos-table-actions {
55 a + a {
56 margin-left: $padding-base-horizontal;
57 }
58 }
Matteo Scandoloe9cdf9a2017-11-21 10:41:28 -080059
60 tr.deleted {
61 background: rgba(255, 0, 0, 0.3) !important;
62 }
Matteo Scandolo035c5932016-12-14 09:55:15 -080063}