Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 1 | @import '../netopeer-common'; |
2 | |||||
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 3 | $colorChanged: #fafad2; |
4 | $colorChangedBorder: #e4e4a4; | ||||
5 | $colorLineHover: #e1e1e1; | ||||
6 | |||||
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 7 | .subtree { |
8 | cursor: default; | ||||
9 | display: block; | ||||
10 | width: 100%; | ||||
11 | } | ||||
12 | |||||
13 | .node { | ||||
14 | width: 100%; | ||||
15 | overflow: hidden; | ||||
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 16 | |
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 17 | &:hover { |
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 18 | background-color: $colorLineHover; |
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 19 | } |
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 20 | |
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 21 | > div { |
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 22 | display: inline-block; |
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 23 | } |
24 | } | ||||
25 | |||||
26 | .node_edit { | ||||
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 27 | display: block; |
28 | width: 100%; | ||||
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 29 | overflow: hidden; |
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 30 | |
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 31 | img, |
32 | input { | ||||
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 33 | display: inline-table; |
34 | margin-right: 0.25em; | ||||
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 35 | } |
36 | input { | ||||
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 37 | height: 2em; |
38 | padding-left: 0.3em; | ||||
39 | background-color: $colorSuccess; | ||||
40 | |||||
41 | &.invalid { | ||||
42 | background-color: $colorFailure; | ||||
43 | } | ||||
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 44 | } |
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 45 | |
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 46 | &.indentation { |
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 47 | height:2.1em; |
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 48 | } |
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 49 | |
50 | > .msg-failure { | ||||
51 | margin: 0.5em 0em; | ||||
52 | } | ||||
53 | } | ||||
54 | .node_edit.dialog { | ||||
55 | background-color: $colorChanged; | ||||
56 | border: 2px solid $colorChangedBorder; | ||||
57 | border-left-width: 0px; | ||||
58 | border-right-width: 0px; | ||||
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 59 | } |
60 | |||||
61 | .status, | ||||
62 | .node_info { | ||||
63 | color: grey; | ||||
64 | } | ||||
65 | |||||
66 | .dirty { | ||||
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 67 | background-color: $colorChanged; |
68 | } | ||||
69 | |||||
70 | .deleted { | ||||
71 | height: 0.5em; | ||||
72 | * { | ||||
73 | visibility: hidden; | ||||
74 | } | ||||
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 75 | } |
76 | |||||
77 | .icon, | ||||
78 | .icon_action { | ||||
79 | font-size: xx-small; | ||||
80 | height: 2em; | ||||
81 | } | ||||
82 | |||||
83 | .icon_action { | ||||
84 | cursor: pointer; | ||||
85 | } | ||||
86 | |||||
87 | .icon_hidden { | ||||
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 88 | visibility: hidden; |
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 89 | } |
90 | |||||
91 | .module_name { | ||||
92 | float: right; | ||||
93 | text-align: right; | ||||
94 | max-width: 10em; | ||||
95 | word-wrap: break-word; | ||||
96 | } | ||||
97 | |||||
98 | .children { | ||||
99 | padding-left: 0em; | ||||
100 | } | ||||
101 | |||||
102 | .value { | ||||
103 | display: inline-block; | ||||
104 | margin-left: 1.5em; | ||||
105 | word-wrap: break-word; | ||||
106 | } | ||||
107 | |||||
108 | .indentation { | ||||
109 | width: 1.7em; | ||||
110 | } | ||||
111 | |||||
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 112 | .editmenu { |
113 | visibility: hidden; | ||||
Radek Krejci | 7ddaf93 | 2018-01-26 10:53:57 +0100 | [diff] [blame] | 114 | background-color: $colorBackground; |
115 | border: 1px solid $black; | ||||
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 116 | |
117 | position: fixed; | ||||
118 | z-index: 1; | ||||
119 | } | ||||
120 | |||||
121 | .button_action { | ||||
122 | cursor: pointer; | ||||
123 | padding: 0.3em 1em 0.3em 0.5em; | ||||
124 | |||||
125 | &:hover { | ||||
Radek Krejci | 7ddaf93 | 2018-01-26 10:53:57 +0100 | [diff] [blame] | 126 | background-color: $colorHighlight; |
127 | color: $colorTextInverse; | ||||
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 128 | } |
129 | } | ||||
Radek Krejci | 4990494 | 2018-01-29 13:32:11 +0100 | [diff] [blame] | 130 | |
131 | .loading { | ||||
132 | margin-top: 0.5em; | ||||
133 | } |