base.less 5.17 KB
Newer Older
Dányi Bence committed
1 2 3
body
{
    min-height:100%;
Dányi Bence committed
4
    font-family: 'Titillium Web', sans-serif;
Dányi Bence committed
5
    font-size:.9em;
6
    background:#dadada url(/static/image/site_bgr.png) repeat-x;
Dányi Bence committed
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
    background-position:80px 0;
    margin:0;
    padding:0;
    overflow: scroll;
}

#content
{
    width:970px;
    text-align:left;
    margin:0 auto;
}

.contentblock
{
    background-color:#ccc;
    border-radius:4px;
    border:1px solid #aaa;
    box-shadow:0 0 30px rgba(0,0,0,0.3);
    margin:20px;
    p,dl
    {
        margin:0;
        padding:5px;
    }
     h2
    {
        background-color:#000;
35
        background-image:url(/static/image/hexabar.png);
Dányi Bence committed
36 37 38 39 40 41 42 43 44 45
        background-position:right center;
        background-repeat:no-repeat;
        border-radius:4px;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
        color:#eee;
        font-size:1.5em;
        margin-top:0;
        padding:10px;
    }
46 47 48 49 50 51 52 53
    &.wide {
        margin-right: 30px;
    }
    &.note {
        background-color: #ffc;
    }
    ol {
        margin-left: 2em;
54
        li.done {
55
            color: #aaa;
56 57 58 59 60
        }
    }
}
.big {
    font-size: 2em;
Dányi Bence committed
61
}
Dányi Bence committed
62 63 64

ul.messagelist
{
65 66 67
    text-align:left;
    margin:0;
    padding:0 0 5px;
Dányi Bence committed
68 69 70 71
}

ul.messagelist li
{
72 73 74 75
    font-size:12px;
    display:block;
    border-bottom:1px solid #ddd;
    color:#666;
76
    background:#ffc url(/static/admin/img/icon_success.gif) 5px .3em no-repeat;
77 78
    margin:0 0 3px;
    padding:4px 5px 4px 25px;
Dányi Bence committed
79 80 81 82
}

ul.messagelist li.warning
{
83
    background-image:url(/static/admin/img/icon_alert.gif);
Dányi Bence committed
84 85 86 87
}

ul.messagelist li.error
{
88
    background-image:url(/static/admin/img/icon_error.gif);
Dányi Bence committed
89
}
90 91
input.validated {
    padding-right: 15px;
92
    background-image: url(/static/admin/img/icon_success.gif);
Dányi Bence committed
93 94
    background-repeat: no-repeat;
    background-position: right center;
95 96
    &.error
    {
97
        background:#fcc url(/static/admin/img/icon_error.gif) right center no-repeat;
98 99 100
        padding-right: 15px;
    }
}
Dányi Bence committed
101 102 103

.errornote
{
104 105 106 107
    font-size:12px!important;
    display:block;
    border:1px solid red;
    color:red;
108
    background:#ffc url(/static/admin/img/icon_error.gif) 5px .3em no-repeat;
109 110
    margin:0 0 3px;
    padding:4px 5px 4px 25px;
Dányi Bence committed
111 112 113 114
}

.errorlist li
{
115 116 117 118
    font-size:12px!important;
    display:block;
    border:1px solid red;
    color:#FFF;
119
    background:red url(/static/admin/img/icon_alert.gif) 5px .3em no-repeat;
120 121
    margin:0 0 3px;
    padding:4px 5px 4px 25px;
Dányi Bence committed
122 123 124 125
}

.errorlist li a
{
126 127
    color:#FFF;
    text-decoration:underline;
Dányi Bence committed
128 129 130 131
}

td ul.errorlist li
{
132
    margin:0!important;
Dányi Bence committed
133 134 135 136
}

.errors
{
137
    background:#ffc;
Dányi Bence committed
138 139 140 141
}

.errors input,.errors select,.errors textarea
{
142
    border:1px solid red;
Dányi Bence committed
143 144 145 146
}

div.system-message
{
147 148 149 150
    background:#ffc;
    font-size:.8em;
    margin:10px;
    padding:6px 8px;
Dányi Bence committed
151 152 153 154
}

div.system-message p.system-message-title
{
155
    color:red;
156
    background:#ffc url(/static/admin/img/icon_error.gif) 5px .3em no-repeat;
157 158
    margin:0;
    padding:4px 5px 4px 25px;
Dányi Bence committed
159
}
160 161 162 163

small {
  font-size: 0.8em;
}
164 165 166 167 168 169 170 171 172 173

input {
    border-radius: 2px;
    border: 1px solid #777;
    padding: 2px;
    margin: 1px 5px;
    background: rgba(0,0,0,0.1);
    font-family: 'Titillium Web', sans-serif;
    outline: none;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2), 0 0 5px rgba(0,0,0,0.2);
174
    -webkit-transition: box-shadow 0.5s;
175 176 177
    -moz-transition: box-shadow 0.5s;
    -o-transition: box-shadow 0.5s;
    transition: box-shadow 0.5s;
178 179 180 181 182 183 184 185 186 187
    &:hover{
        border: 1px solid #666;
        box-shadow: inset 0 0 10px rgba(0,0,0,0.2), 0 0 5px rgba(255,255,0,0.5);
    };
    &:focus{
        border: 1px solid #555;
        box-shadow: inset 0 0 10px rgba(0,0,0,0.2), 0 0 10px rgba(255,255,0,0.8);
    }
}

188
input[type=submit], input[type=button], input[type=reset]{
189 190 191
    border: 1px solid #777;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
192 193 194 195
    -webkit-transition: background 0.5s;
    -moz-transition: background 0.5s;
    -o-transition: background 0.5s;
    transition: background 0.5s;
196 197 198 199
    &:hover{
        background: rgba(0,0,0,0.2);
    };
}
200 201 202 203 204 205 206 207 208 209 210 211

textarea {
    border-radius: 2px;
    border: 1px solid #777;
    padding: 5px;
    margin: 10px 5px;
    width: 300px;
    height: 100px;
    background: rgba(0,0,0,0.1);
    font-family: 'Titillium Web', sans-serif;
    outline: none;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2), 0 0 5px rgba(0,0,0,0.2);
212
    -webkit-transition: box-shadow 0.5s;
213 214 215
    -moz-transition: box-shadow 0.5s;
    -o-transition: box-shadow 0.5s;
    transition: box-shadow 0.5s;
216 217 218 219 220 221 222 223 224
    &:hover{
        border: 1px solid #666;
        box-shadow: inset 0 0 10px rgba(0,0,0,0.2), 0 0 5px rgba(255,255,0,0.5);
    };
    &:focus{
        border: 1px solid #555;
        box-shadow: inset 0 0 10px rgba(0,0,0,0.2), 0 0 10px rgba(255,255,0,0.8);
    }
}
225 226 227
.hilight {
    background-color: #ff6;
}
228 229 230

.hidden-password {
    padding-right: 25px;
231
    background-image: url(/static/icons/eye-half.png);
232 233 234 235
    background-repeat: no-repeat;
    background-position: right center;
    cursor: pointer;
    &.shown {
236
        background-image: url(/static/icons/eye.png);
237 238
    }
}