Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32561341
D6740.1767315627.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D6740.1767315627.diff
View Options
diff --git a/web/calendar/calendar.css b/web/calendar/calendar.css
--- a/web/calendar/calendar.css
+++ b/web/calendar/calendar.css
@@ -1,19 +1,23 @@
-a.filtersButton {
- font-weight: 600;
- float: left;
- color: white;
- background-color: rgba(68, 68, 85, 0.67);
- padding: 8px 18px;
- border-radius: 18px;
- margin: 0 15px 5px 15px;
- font-size: 16px;
+.filtersButton {
+ color: var(--fg);
+ background-color: var(--filters-button-bg);
+ width: 40px;
+ height: 40px;
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: center;
+ margin: 0 0px 9px 24px;
cursor: pointer;
- text-transform: uppercase;
position: absolute;
+ border: 1px solid var(--filters-button-border);
+ border-radius: 4px;
}
-a.filtersButton > svg {
- padding-right: 5px;
+
+.filtersButton:hover {
+ background-color: var(--filters-button-hover-bg);
}
+
div.content {
height: 100%;
position: relative;
diff --git a/web/calendar/calendar.react.js b/web/calendar/calendar.react.js
--- a/web/calendar/calendar.react.js
+++ b/web/calendar/calendar.react.js
@@ -1,7 +1,5 @@
// @flow
-import { faFilter } from '@fortawesome/free-solid-svg-icons';
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import dateFormat from 'dateformat';
import invariant from 'invariant';
import * as React from 'react';
@@ -179,8 +177,7 @@
onClick={this.toggleFilters}
style={filterButtonStyle}
>
- <FontAwesomeIcon icon={faFilter} />
- Filters
+ <SWMansionIcon icon="filters-2" size={16} />
</a>
<nav className={css.nav}>
<a
diff --git a/web/theme.css b/web/theme.css
--- a/web/theme.css
+++ b/web/theme.css
@@ -203,6 +203,9 @@
--active-drawer-item-bg: rgba(0, 0, 0, 0.5);
--community-drawer-lines: rgba(255, 255, 255, 0.08);
--topbar-button-bg: var(--shades-black-90);
+ --filters-button-bg: var(--shades-black-100);
+ --filters-button-border: var(--shades-black-80);
+ --filters-button-hover-bg: var(--shades-black-90);
--topbar-button-bg-hover: var(--shades-black-80);
--topbar-button-fg: var(--shades-white-60);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 2, 1:00 AM (22 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5877977
Default Alt Text
D6740.1767315627.diff (2 KB)
Attached To
Mode
D6740: [web] Restyle filters button
Attached
Detach File
Event Timeline
Log In to Comment