summaryrefslogtreecommitdiff
path: root/res/client/css/partials/toolbar__cmd.scss
blob: b9b0fa2358a2801f34c68a349eec877a32abe69f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/*
    This file is part of rhizi, a collaborative knowledge graph editor.
    Copyright (C) 2014-2015  Dor Garbash, Amir Sagie and Alon Levy

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published
    by the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

.cmd-bar {
    background-color: lightgray;
}

.cmd-bar__close_bar {
    background-color: #4D4D4D;
    color: white;
    font-size: 12px;
    padding-top: 2px;
    padding-bottom: 1px;
    text-align: center;
    width: 100%;
}

.cmd-bar__body {
    padding: 8px 20px;
}

.cmd-bar_btn {
    background-color: #32C232;
    border-radius: 2px; // TODO: generalize via .toolbar__btn
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    color: white;
    padding: 2px 8px;
    margin-left: 10px;
    vertical-align: middle;
}

#cmd-bar__rzdoc-new input {
    font-size: 14px;
    padding: 2px 8px;
}

#cmd-bar__rzdoc-search {
}

#cmd-bar__rzdoc-search__result-body {
    font-size: 14px;
    overflow: auto;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 20px; // align with global left margin
    padding-right: 30px; // clear close button
}

#cmd-bar__rzdoc-search__query-echo {
    font-style: italic;
    margin-left: 2px;
    margin-right: 2px;
}

#cmd-bar__rzdoc-search__no-results {
    margin: 5px;
}

.cmd_bar__rzdoc_open__item {
    border-radius: 3px;
    background-color: white;
    float: left;
    font-size: $h4-size;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 3px 5px;
    white-space: nowrap;

    &:hover {
        background-color: gold;
        cursor: pointer;
    }
}