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 { | ||||
Radek Krejci | 499d1ee | 2018-01-30 14:04:54 +0100 | [diff] [blame^] | 71 | background-color: $colorFailure; |
72 | color: $colorFailureBorder; | ||||
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 73 | } |
74 | |||||
75 | .icon, | ||||
76 | .icon_action { | ||||
77 | font-size: xx-small; | ||||
78 | height: 2em; | ||||
79 | } | ||||
80 | |||||
81 | .icon_action { | ||||
82 | cursor: pointer; | ||||
83 | } | ||||
84 | |||||
85 | .icon_hidden { | ||||
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 86 | visibility: hidden; |
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 87 | } |
88 | |||||
89 | .module_name { | ||||
90 | float: right; | ||||
91 | text-align: right; | ||||
92 | max-width: 10em; | ||||
93 | word-wrap: break-word; | ||||
94 | } | ||||
95 | |||||
96 | .children { | ||||
97 | padding-left: 0em; | ||||
98 | } | ||||
99 | |||||
100 | .value { | ||||
101 | display: inline-block; | ||||
102 | margin-left: 1.5em; | ||||
103 | word-wrap: break-word; | ||||
104 | } | ||||
105 | |||||
106 | .indentation { | ||||
107 | width: 1.7em; | ||||
108 | } | ||||
109 | |||||
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 110 | .editmenu { |
111 | visibility: hidden; | ||||
Radek Krejci | 7ddaf93 | 2018-01-26 10:53:57 +0100 | [diff] [blame] | 112 | background-color: $colorBackground; |
113 | border: 1px solid $black; | ||||
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 114 | |
115 | position: fixed; | ||||
116 | z-index: 1; | ||||
117 | } | ||||
118 | |||||
119 | .button_action { | ||||
120 | cursor: pointer; | ||||
121 | padding: 0.3em 1em 0.3em 0.5em; | ||||
122 | |||||
123 | &:hover { | ||||
Radek Krejci | 7ddaf93 | 2018-01-26 10:53:57 +0100 | [diff] [blame] | 124 | background-color: $colorHighlight; |
125 | color: $colorTextInverse; | ||||
Radek Krejci | 6e772b2 | 2018-01-25 13:28:57 +0100 | [diff] [blame] | 126 | } |
127 | } | ||||
Radek Krejci | 4990494 | 2018-01-29 13:32:11 +0100 | [diff] [blame] | 128 | |
129 | .loading { | ||||
130 | margin-top: 0.5em; | ||||
131 | } |