Change the style of the error message so it doesn't shift content down when it appears.
[armadillo.git] / web_frontend / screen.css
1 /*
2 * Armadillo File Manager
3 * Copyright (c) 2010, Robert Sesek <http://www.bluestatic.org>
4 *
5 * This program is free software: you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License as published by the Free Software
7 * Foundation, either version 3 of the License, or any later version.
8 */
9
10 body {
11 font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
12 padding: 1.5em;
13 font-size: 1em;
14 background-color: rgb(245, 245, 245);
15 }
16
17 h1 {
18 font-size: 2em;
19 }
20
21 #footer {
22 margin-top: 0.6em;
23 font-size: 0.6em;
24 text-align: right;
25 }
26
27 .smallfont {
28 font-size: 0.7em;
29 }
30
31 #ls {
32 list-style: none;
33 }
34
35 #ls li {
36 padding: .3em;
37 min-height: 1.5em;
38 line-height: 1.5em;
39 }
40
41 #ls li:nth-child(odd) {
42 background-color: rgb(223, 235, 246);
43 }
44 #ls li:nth-child(even) {
45 background-color: rgb(255, 255, 255);
46 }
47
48 #ls li.file-selected {
49 background-color: rgb(255, 208, 164);
50 }
51
52 #ls li.file-active {
53 background-color: rgb(255, 162, 74);
54 }
55
56 #ls li a {
57 text-decoration: underline;
58 }
59
60 #error {
61 border-style: solid;
62 border-width: .15em;
63 border-top-width: 0em;
64 border-color: rgb(167, 40, 26);
65 border-radius: 0em 0em .5em .5em;
66 padding: .2em;
67
68 background-color: rgba(167, 40, 26, 0.3);
69 color: rgb(0, 30, 30);
70
71 position: absolute;
72 width: 75%;
73 top: 0px;
74 left: 0px;
75 right: 0px;
76 margin-left: auto;
77 margin-right: auto;
78 }
79
80 .actor {
81 height: 2.3em;
82
83 background-color: rgb(77, 79, 83);
84
85 padding: .1em;
86
87 border-width: .1em;
88 border-color: rgb(0, 0, 0);
89 border-style: solid;
90 }
91
92 .actor .tile {
93 padding: 0em 1em 0em 1em;
94 height: 2em;
95 display: inline-block;
96 margin: .1em;
97
98 background: -webkit-gradient(
99 linear,
100 left bottom,
101 left top,
102 color-stop(1, rgb(255,255,255)),
103 color-stop(0, rgb(173,175,175))
104 );
105 background: -moz-linear-gradient(
106 center bottom,
107 rgb(255,255,255) 100%,
108 rgb(173,175,175) 0%
109 );
110
111 border-top-color: black;
112 border-left-color: black;
113 border-right-color: rgb(100, 100, 100);
114 border-bottom-color: rgb(100, 100, 100);
115 border-style: solid;
116 border-width: .1em;
117
118 text-align: center;
119 line-height: 1.75em;
120 }
121
122 .actor .tile .title {
123 font-size: 0.7em;
124 }
125
126 .actor .tile:active {
127 background: -webkit-gradient(
128 linear,
129 left bottom,
130 left top,
131 color-stop(0, rgb(255,255,255)),
132 color-stop(1, rgb(173,175,175))
133 );
134 background: -moz-linear-gradient(
135 center bottom,
136 rgb(255,255,255) 0%,
137 rgb(173,175,175) 100%
138 );
139 }
140
141 .modalDialog {
142 position: absolute;
143 background: white;
144 border: 3px solid red;
145 padding: 5px;
146 z-index: 99999;
147 top: 25%;
148 width: 50%;
149 left: 25%;
150 }