box.less 6.89 KB
Newer Older
Dányi Bence committed
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
.boxes
{
    width:480px;
    float:left;
}

.box
{
    background-color:#000;
    background-image:url(hexa.png);
    background-position:center 30%;
    background-repeat:no-repeat;
    color:#fff;
    font-weight:700;
    line-height:1.5em;
    width:400px;
    border-radius:10px;
    border-top-width:30px;
    margin:10px 420px 10px 10px;
    padding:2px;
    h3
    {
        color:#fff;
        text-align:center;
        margin:0;
        padding:3px;
    }
    .content
    {
        min-height:100px;
        margin:0;
        padding:5px;
    }
}

#new-wm-tooltip{
    position: relative;
}
#new-wm-tooltip-container{
    margin: 10px 10px 5px 150px;
    border-radius: 4px;
    border: 1px solid #888;
    background: #FFFF66;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    p{
        text-align: left;
        font-size: 0.8em;
        word-spacing: 2px;
    }
    &:after{
        content: "";
        position: absolute;
        left: 300px;
        border-width: 15px;
        border-style: solid;
        border-color: #FFFF66 transparent transparent transparent;
    }
}

.wm{
    &.opened .actions{
        display: block !important;
    }
Dányi Bence committed
64 65 66 67 68 69 70 71 72 73 74 75
    &.small .summary{
        padding: 5px;
        cursor: default;
        &:hover{
            background-color: #c1c1c1;
        }
        .name{
            background: none !important;
            text-align: center;
            float: none;
        }
    }
Dányi Bence committed
76 77 78 79 80 81 82 83 84 85 86
    .quota{
        left: 0;
        top: 0;
        z-index: 0;
        position: absolute;
        width: 100%;
        height: 100%;
        .used{
            height: 100%;
        }
    }
Dányi Bence committed
87 88 89 90 91
    .summary{
        padding: 15px 5px;
        border-top: 1px solid #888;
        cursor: pointer;
        background-color: #c1c1c1;
Dányi Bence committed
92
        position: relative;
Dányi Bence committed
93 94 95 96 97 98 99 100 101
        &.unfinished{
            background-color: #FFFF66;
        }
        &:hover{
            background-color: #b1b1b1;
            .actions{
                display: block;
            }
        }
Dányi Bence committed
102

Dányi Bence committed
103 104 105 106 107 108 109 110 111
        .id{
            float: right;
            width: 30px;
        }
        .name{
            float: left;
            padding-left: 25px;
            background-repeat: no-repeat;
            background-position: 0 0;
Dányi Bence committed
112 113
            z-index: 2;
            position: relative;
Dányi Bence committed
114 115 116 117 118
        }
        .status{
            text-align: right;
            float: right;
            width: 60px;
Dányi Bence committed
119 120
            z-index: 2;
            position: relative;
Dányi Bence committed
121 122 123 124 125
        }
        .actions{
            float: right;
            margin-left: 5px;
            display: none;
Dányi Bence committed
126 127
            z-index: 2;
            position: relative;
Dányi Bence committed
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
            a{
                height: 16px;
                width: 16px;
                display: block;
                float: left;
                margin-left: 2px;
                &:hover{
                    box-shadow: 0 0 10px rgba(0,0,0,0.4);
                    background-color: rgba(0,0,0,0.4);
                }
            }
        }
    }
    .details{
        border-top: 1px solid #888;
        background-color: #d1d1d1;
        display: none;
Dányi Bence committed
145 146 147
        .container{
            padding: 5px 5px;
        }
Dányi Bence committed
148 149 150 151 152
        h3{
            font-weight: normal;
        }
        ul{
            list-style: none;
Dányi Bence committed
153
            margin: 0px 5px;
Dányi Bence committed
154 155
        }
        li{
Dányi Bence committed
156
            margin: 8px 0px 4px 0px;
Dányi Bence committed
157 158 159 160
            padding: 3px 0px 3px 20px;
            border-bottom: 1px dotted #aaa;
            background-repeat: no-repeat;
            background-position: 0px 4px;
Dányi Bence committed
161 162 163
            &:last-child{
                border-bottom: none;
            };
Dányi Bence committed
164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
        }
        a{
            text-decoration: underline;
        }
        .name{
            float: none;
            background-image: url(icons/computer.png);
        }
        .os-win{
            background-image: url(icons/windows.png)
        }
        .os-linux{
            background-image: url(icons/animal-penguin.png)
        }
        .type{
            background-image: url(icons/box-share.png)
        }
        .date{
            background-image: url(icons/calendar-day.png)
        }
        .cpu{
            background-image: url(icons/processor.png)
        }
        .memory{
            background-image: url(icons/memory.png)
        }
        .count{
            background-image: url(icons/documents-stack.png)
        }
        .value{
            float: right;
            width: 200px;
            text-align: right;
        }
        .description{
            font-size: inherit;
            background-image: url(icons/document-snippet.png);
            .value{
                font-size: 0.8em;
Dányi Bence committed
203 204
                word-spacing: 3px;
                width: 350px;
Dányi Bence committed
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270
            }
        }
    }
    &.opened .details{
        display: block;
    }
    &.new .name{
        background-image: url(icons/computer--plus.png);
    }
}

.file-list{
    list-style: none;
    .name{
        float: left;
    }
    .info{
        float: right;
        width: 60px;
        text-align: right;
    }
}
.filetype-c {
    background-image: url(icons/document-visual-studio.png);
}
.filetype-text {
    background-image: url(icons/document.png);
}
.filetype-image {
    background-image: url(icons/document-image.png);
}
.filetype-zip {
    background-image: url(icons/folder-zipper.png);
}
.filetype-folder {
    background-image: url(icons/folder-horizontal.png);
}
.filetype-more {
    background-image: url(icons/arrow-circle-double.png);
}
.filetype-up {
    background-image: url(icons/upload-cloud.png);
}
.wm-on{
    background-image: url(icons/computer-cloud.png);
}
.wm-off{
    background-image: url(icons/computer-off.png);
}

#template .wm .summary .name{
  background-image: url(icons/document-template.png)
}
#new-template-button .name{
  background-image: url(icons/document--plus.png) !important
}
.wm-list.modal{
  border-radius: 4px;
  border: 1px solid #666;
}
.wm-list.modal input{
  padding: 2px 10px;
}
.wm-list.modal .wm:nth-child(1) .summary{
  border-top: none;
}
Dányi Bence committed
271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302

#template{
    .wm {
        .template-details{
            margin: 0;
            padding: 0;
            border-top: 1px solid #888;
            display: none;
            ul{
                list-style-type: none;
            }
            li{
                padding-left: 10px;
                border-top: 1px solid #aaa;
                position: relative;
                &:first-child{
                    border-top: none;
                };
                .status{
                    float: right;
                    padding: 0 5px;
                }
                .group-name{
                    float: left;
                    line-height: 1.5em;
                    z-index: 2;
                    position: relative;
                }
            }
        }
    }
}