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