aboutsummaryrefslogtreecommitdiff
path: root/extension/src/index.css
blob: 54e8ea1942946c58dd146fba52727584779b2806 (plain) (blame)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  height: 100%
}

body {
  background-color: #242424;
  color: white;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100%;
}

#settings-menu {
  position: fixed;
  height: 100%;
  width: 300px;
  background-color: black;
  padding: 10px;
  right: 0;
  animation: slideIn 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  place-items: flex-start;
  z-index: 4;
}

.radio-group {
  display: flex;
  flex-direction: column;
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX( 0% ); }
}

/* Folder */
.folderBody {
  width: 100%;
  display: flex;
  flex-direction: row;
  border-style: solid;
  border-width: 2px;
  border-radius: 5px;
  border-color: #393939;
  margin: 5px;
  padding: 10px;
  flex-wrap: wrap;
  /*position: fixed;*/
  /*bottom: 0;*/
  animation: slideDown 0.2s ease;
  overflow: hidden;
  white-space: nowrap;
}

@keyframes slideDown {
  from { transform: translateY(-50%); opacity: 0 }
}

body > .folderBody {
  margin: 0;
  border-style: none;
  position: relative;
}

/* Bookmark */
.bookmark {
  display: flex;
  flex-direction: column;
  width: 125px;
  padding: 10px;
  margin: 5px;
  user-select: none;
}

.bookmark > img {
  padding: 15px;

}

.bookmark > span {
  text-wrap: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: center;
}

.bookmark:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

a {
  color: white;
  text-decoration: none;
}

#settings-close, #settings-button {
  border-style: none;
  background: none;
  color: white;
  padding: 5px;
  margin: 5px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

#settings-close:hover, #settings-button:hover {
  background-color: rgba(0, 0, 0, 0.3);
}