-
-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated styles for workspace selector.
- Loading branch information
1 parent
5c7e232
commit 53c3ded
Showing
3 changed files
with
62 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,59 @@ | ||
diff --git a/browser/themes/shared/places/editBookmark.css b/browser/themes/shared/places/editBookmark.css | ||
index 4c00982e620f4cfd5aa1d97d45a276f5d41d0d74..2bc1b8dc5c0363aceb1f4671ca7423737217a75a 100644 | ||
index 4c00982e620f4cfd5aa1d97d45a276f5d41d0d74..58018015d6046895c996f808785ab7282e5fed81 100644 | ||
--- a/browser/themes/shared/places/editBookmark.css | ||
+++ b/browser/themes/shared/places/editBookmark.css | ||
@@ -158,3 +158,71 @@ | ||
@@ -158,3 +158,53 @@ | ||
font-size: 0.9em; | ||
margin: 2px 4px; | ||
} | ||
+ | ||
+/*Bookmark workspace selector styles*/ | ||
+#editBMPanel_workspaceRow { | ||
+ margin-top: 4px; | ||
+} | ||
+ | ||
+details { | ||
+.workspace-dropdown { | ||
+ position: relative; | ||
+ width: 100%; | ||
+ display: flex; | ||
+ gap: 16px; | ||
+} | ||
+ | ||
+summary { | ||
+ display: flex; | ||
+ align-items: center; | ||
+ justify-content: space-between; | ||
+.workspace-trigger { | ||
+ width: 100%; | ||
+ text-align: left; | ||
+ padding: 8px 12px; | ||
+ border: 1px solid var(--card-outline-color); | ||
+ border-radius: 4px; | ||
+ background-color: var(--zen-colors-tertiary); | ||
+ cursor: pointer; | ||
+} | ||
+ | ||
+ | ||
+summary:focus { | ||
+ border-color: transparent; | ||
+ outline: var(--in-content-focus-outline); | ||
+ outline-offset: -1px; | ||
+} | ||
+ | ||
+details[open] > summary { | ||
+ border-bottom-left-radius: 0; | ||
+ border-bottom-right-radius: 0; | ||
+ display: flex; | ||
+ align-items: center; | ||
+ justify-content: space-between; | ||
+} | ||
+ | ||
+ul { | ||
+ position: absolute; | ||
+ top: 100%; | ||
+ left: 0; | ||
+ right: 0; | ||
+.workspace-list { | ||
+ flex-direction: column; | ||
+ width: 100%; | ||
+ max-height: 200px; | ||
+ overflow-y: auto; | ||
+ border-color: transparent; | ||
+ outline: var(--in-content-focus-outline); | ||
+ outline-offset: -1px; | ||
+ border-top: none; | ||
+ margin-top: 4px; | ||
+ border: 1px solid var(--card-outline-color); | ||
+ border-radius: 4px; | ||
+ background-color: var(--zen-colors-tertiary); | ||
+ box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); | ||
+ z-index: 1000; | ||
+ padding: 4px 0; | ||
+ border-radius: 0 0 4px 4px; | ||
+} | ||
+ | ||
+li { | ||
+.workspace-list li { | ||
+ list-style: none; | ||
+ margin: 0; | ||
+ padding: 0; | ||
+} | ||
+ | ||
+li > label { | ||
+.workspace-list li > label { | ||
+ display: flex; | ||
+ align-items: center; | ||
+ padding: 4px 12px; | ||
+ cursor: pointer; | ||
+} | ||
+ | ||
+input[type="checkbox"] { | ||
+.workspace-list input[type="checkbox"] { | ||
+ margin-right: 8px; | ||
+} | ||
\ No newline at end of file |