Comments (4)
This is good to know, I'll update the experiments docs to remove the drop shadow from cards. Do you know why these elements in carbon have shadows when others don't? Is there a general rule for when to add shadows?
from qiskit_sphinx_theme.
these elements are "toasts", which means they are designed to pop up in front of the screen and the user can close them. The drop shadow here is an intentional design choice to show there is depth to the page and that there may be stuff behind it that the user might want to uncover by closing the toast.
So i think a general rule of thumb is any element that is a permanent fixture on the page should not have a dropshadow, but things like notifications and cookie warnings that are closable can have them
from qiskit_sphinx_theme.
update: I realised we also have drop shadows for the cards and dropdowns, these should also use the flat carbon design system. Additionally, these 2 components have slightly rounded radius, the should have border-radius:0
from qiskit_sphinx_theme.
same for admonitions. Dropshadow should be removed and border radius should be 0
We should also make sure these colours are the right ones for IBM/Qiskit.
IBM carbon equivalent: https://carbondesignsystem.com/components/notification/style
from qiskit_sphinx_theme.
Related Issues (20)
- Furo: audit that it includes all relevant common files we export with theme HOT 1
- Deduplicate custom_directives.py HOT 1
- Failed investigation: de-duplicate setting up the Favicon
- Make tables fully expanded by default? Or redesign scroll to be more obvious? HOT 3
- Furo: ensure it properly formats custom directives
- Furo: investigate slow builds HOT 1
- Add back Furo to setup.py install_requires
- Prior versions of the docs should link to more recent versions of the docs HOT 4
- As a user / developer, I would like to be able to copy codes in code cells on documentation easily HOT 4
- Some links became blue in 1.12.0rc1
- Furo: left side bar should only use purple for what is currently selected HOT 1
- Furo: consider aligning the top nav bar on mobile view with the textbook
- Improve PR live previews to support >1 theme variant
- Qiskit-ify Furo theme: reduce left sidebar spacing
- Furo: Add breadcrumb menu HOT 6
- Qiskit-ify Furo theme: Restyle class/method headings HOT 2
- Qiskit-ify Furo/pytorch theme: change border for tutorial gallery HOT 2
- Qiskit-ify Furo theme: use IBM carbon icons HOT 1
- Furo: Add Translations sidebar feature
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qiskit_sphinx_theme.