Skip to content

Commit f9e4a84

Browse files
committed
Merge pull request #62 from owncloud/federated-sharing-notifications
Actions should trigger jQuery event on the body
2 parents cdac911 + 8ef27b1 commit f9e4a84

3 files changed

Lines changed: 510 additions & 509 deletions

File tree

css/styles.css

Lines changed: 58 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,122 +1,118 @@
11
.notification {
2-
display: block;
3-
border-bottom: 1px solid rgb(238, 238, 238);
4-
padding: 7px 15px 50px 15px;
2+
display: block;
3+
border-bottom: 1px solid rgb(238, 238, 238);
4+
padding: 7px 15px 50px 15px;
55
}
66

77
.notification-container {
8-
background-color: white;
9-
display: none;
10-
position: absolute;
11-
right: 50px;
12-
top: 45px;
13-
width: 350px;
14-
min-height: 100px;
15-
max-height: 260px;
16-
border-radius: 0 0 3px 3px;
17-
border: 1px solid rgb(238, 238, 238);;
8+
background-color: white;
9+
display: none;
10+
position: absolute;
11+
right: 50px;
12+
top: 45px;
13+
width: 350px;
14+
min-height: 100px;
15+
max-height: 260px;
16+
border-radius: 0 0 3px 3px;
17+
border: 1px solid rgb(238, 238, 238);;
1818
}
1919

2020
.notification-container .emptycontent h2 {
21-
font-weight: 300;
22-
font-size: 16px;
21+
font-weight: 300;
22+
font-size: 16px;
2323
}
2424

2525
/* Fill width on mobile */
2626
@media (max-width: 500px) {
27-
.notification-container {
28-
right: 5%;
29-
width: 90%;
30-
}
27+
.notification-container {
28+
right: 5%;
29+
width: 90%;
30+
}
3131
}
3232

3333
.notification {
34-
color: black;
35-
position: relative;
34+
color: black;
35+
position: relative;
3636
}
3737

3838
.notification .notification-empty {
39-
color: #999;
39+
color: #999;
4040
}
4141

4242
.notification:hover > .notification-delete{
43-
display: block !important;
44-
position: absolute;
45-
top: 4px;
46-
right: 9px;
47-
opacity: 0.3;
43+
display: block !important;
44+
position: absolute;
45+
top: 4px;
46+
right: 9px;
47+
opacity: 0.3;
4848
}
4949

5050
.notification:hover {
51-
background-color: #f8f8f8;
51+
background-color: #f8f8f8;
5252
}
5353

5454
.notification-delete:hover {
55-
opacity: 0.8 !important;
56-
cursor: pointer;
55+
opacity: 0.8 !important;
56+
cursor: pointer;
5757
}
5858

5959
.notification-delete img, .notifications-button img {
60-
cursor: pointer;
60+
cursor: pointer;
6161
}
6262

6363
.notifications-button {
64-
position: relative;
65-
float: right;
66-
width: 21px;
67-
height: 21px;
68-
display: block;
69-
border-radius: 50%;
70-
text-align: center;
71-
padding: 10px;
72-
opacity: 0.7;
73-
cursor: pointer;
64+
position: relative;
65+
float: right;
66+
width: 21px;
67+
height: 21px;
68+
display: block;
69+
border-radius: 50%;
70+
text-align: center;
71+
padding: 10px;
72+
opacity: 0.7;
73+
cursor: pointer;
7474
}
7575
.notifications-button.hasNotifications {
76-
opacity: 1 !important;
76+
opacity: 1 !important;
7777
}
7878

7979
.notifications-button:hover {
80-
opacity: 1;
80+
opacity: 1;
8181
}
8282

8383
.notification .button {
84-
border: 1px solid rgba(240,240,240,.9) !important;
85-
padding: 0 10px;
84+
border: 1px solid rgba(240,240,240,.9) !important;
85+
padding: 0 10px;
8686
box-shadow: none;
8787
margin: 0;
8888
float: left;
8989
}
9090

91-
.notification .actions {
92-
float:right;
93-
padding: 0;
91+
.notification .notification-actions {
92+
float:right;
93+
padding: 0;
9494
}
9595

96-
.notification .action-button {
97-
color: #555;
98-
}
99-
100-
.notification .actions:first-child {
101-
margin-left: auto;
96+
.notification .notification-actions:first-child {
97+
margin-left: auto;
10298
}
10399

104100
.notification .notification-subject {
105-
display: inline-block;
106-
margin-right: 10px;
101+
display: inline-block;
102+
margin-right: 10px;
107103
}
108104

109105
.notification .notification-message {
110-
line-height: 20px;
111-
padding-bottom: 5px;
106+
line-height: 20px;
107+
padding-bottom: 5px;
112108
}
113109

114110
.notification-container {
115-
box-shadow: 0 1px 10px rgba(50, 50, 50, .7);
116-
overflow: auto;
117-
overflow-x: hidden;
111+
box-shadow: 0 1px 10px rgba(50, 50, 50, .7);
112+
overflow: auto;
113+
overflow-x: hidden;
118114
}
119115

120116
.notifications .emptycontent {
121-
margin: 50px 0;
117+
margin: 50px 0;
122118
}

0 commit comments

Comments
 (0)