summaryrefslogtreecommitdiff
path: root/day9/task5/static/css/NewEntryStyle.css
diff options
context:
space:
mode:
authorAndrew <saintruler@gmail.com>2019-07-08 00:58:50 +0400
committerAndrew <saintruler@gmail.com>2019-07-08 00:58:50 +0400
commita47e9946ba94b2c8b6d0f29f937e47f929d2edae (patch)
tree8c32462b42a6648dfe8e6e9a73f70e3ae749bcbd /day9/task5/static/css/NewEntryStyle.css
parent5dc61e9d6a760e3a86b0bb459c0a628941069d95 (diff)
WIP: Добавлена кнопка для загрузки файлов.
Diffstat (limited to 'day9/task5/static/css/NewEntryStyle.css')
-rw-r--r--day9/task5/static/css/NewEntryStyle.css34
1 files changed, 20 insertions, 14 deletions
diff --git a/day9/task5/static/css/NewEntryStyle.css b/day9/task5/static/css/NewEntryStyle.css
index e1141b2..be2a4f0 100644
--- a/day9/task5/static/css/NewEntryStyle.css
+++ b/day9/task5/static/css/NewEntryStyle.css
@@ -1,32 +1,38 @@
-.newEntryBtn {
+.fixedButton {
overflow: hidden;
white-space: nowrap;
position: fixed;
- bottom: 50px;
- left: 50px;
padding: 5px;
- border-radius: 20px;
- width: 40px;
- height: 40px;
+ border-radius: 50px;
+ width: 100px;
+ height: 100px;
border: none;
background-color: #2871e2;
color: white;
- font-size: 20px;
+ font-size: 45px;
- transition-property: width, font-size;
+ transition-property: width;
transition-duration: 0.6s;
}
-.newEntryBtn:hover {
- width: 150px;
- font-size: 15px;
+.fixedButton:hover {
+ width: 300px;
+ font-size: 30px;
background-color: #286bd6;
}
-.newEntryBtn:focus {
- width: 200px;
- font-size: 15px;
+.fixedButton:focus {
background-color: #2861c3;
}
+
+.newEntryBtn {
+ bottom: 50px;
+ left: 50px;
+}
+
+.uploadFileBtn {
+ bottom: 175px;
+ left: 50px;
+}