Skip to content
Snippets Groups Projects
Unverified Commit 7261eadd authored by Samuel Couillard's avatar Samuel Couillard Committed by GitHub
Browse files

Update Cards shadow (#4787)

* Update Cards box-shadow

* Undo import order change
parent e5834e96
Branches
Tags
No related merge requests found
Showing
with 23 additions and 21 deletions
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
@import 'pagination'; @import 'pagination';
@import 'fonts'; @import 'fonts';
html, html,
body { body {
overflow-x: hidden; overflow-x: hidden;
...@@ -172,6 +170,10 @@ input.search-bar { ...@@ -172,6 +170,10 @@ input.search-bar {
width: 100px; width: 100px;
} }
.card-shadow {
box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.1), 0px 2px 4px -2px rgba(16, 24, 40, 0.06) !important;
}
#footer { #footer {
margin-top: $footer-buffer-height; margin-top: $footer-buffer-height;
max-height: $footer-height; max-height: $footer-height;
......
...@@ -25,7 +25,7 @@ export default function EditUser() { ...@@ -25,7 +25,7 @@ export default function EditUser() {
return ( return (
<div id="admin-panel" className="pb-3"> <div id="admin-panel" className="pb-3">
<h3 className="py-5"> { t('admin.admin_panel') } </h3> <h3 className="py-5"> { t('admin.admin_panel') } </h3>
<Card className="border-0 shadow-sm"> <Card className="border-0 card-shadow">
<Tab.Container activekey="users"> <Tab.Container activekey="users">
<Container> <Container>
<Row> <Row>
......
...@@ -31,7 +31,7 @@ export default function ManageUsers() { ...@@ -31,7 +31,7 @@ export default function ManageUsers() {
return ( return (
<div id="admin-panel" className="pb-3"> <div id="admin-panel" className="pb-3">
<h3 className="py-5">{ t('admin.admin_panel') }</h3> <h3 className="py-5">{ t('admin.admin_panel') }</h3>
<Card className="border-0 shadow-sm"> <Card className="border-0 card-shadow">
<Tab.Container activeKey="users"> <Tab.Container activeKey="users">
<Row> <Row>
<Col className="pe-0" sm={3}> <Col className="pe-0" sm={3}>
......
...@@ -30,7 +30,7 @@ export default function EditRole() { ...@@ -30,7 +30,7 @@ export default function EditRole() {
return ( return (
<div id="admin-panel" className="pb-3"> <div id="admin-panel" className="pb-3">
<h3 className="py-5">{ t('admin.admin_panel') }</h3> <h3 className="py-5">{ t('admin.admin_panel') }</h3>
<Card className="border-0 shadow-sm"> <Card className="border-0 card-shadow">
<Tab.Container activeKey="roles"> <Tab.Container activeKey="roles">
<Row> <Row>
<Col className="pe-0" sm={3}> <Col className="pe-0" sm={3}>
......
...@@ -25,7 +25,7 @@ export default function Roles() { ...@@ -25,7 +25,7 @@ export default function Roles() {
return ( return (
<div id="admin-panel" className="pb-3"> <div id="admin-panel" className="pb-3">
<h3 className="py-5"> { t('admin.admin_panel') } </h3> <h3 className="py-5"> { t('admin.admin_panel') } </h3>
<Card className="border-0 shadow-sm"> <Card className="border-0 card-shadow">
<Tab.Container activeKey="roles"> <Tab.Container activeKey="roles">
<Row> <Row>
<Col className="pe-0" sm={3}> <Col className="pe-0" sm={3}>
......
...@@ -23,7 +23,7 @@ export default function RoomConfig() { ...@@ -23,7 +23,7 @@ export default function RoomConfig() {
return ( return (
<div id="admin-panel" className="pb-3"> <div id="admin-panel" className="pb-3">
<h3 className="py-5"> { t('admin.admin_panel') } </h3> <h3 className="py-5"> { t('admin.admin_panel') } </h3>
<Card className="border-0 shadow-sm"> <Card className="border-0 card-shadow">
<Tab.Container activeKey="room_configuration"> <Tab.Container activeKey="room_configuration">
<Row> <Row>
<Col className="pe-0" sm={3}> <Col className="pe-0" sm={3}>
......
...@@ -24,7 +24,7 @@ export default function ServerRecordings() { ...@@ -24,7 +24,7 @@ export default function ServerRecordings() {
return ( return (
<div id="admin-panel" className="pb-3"> <div id="admin-panel" className="pb-3">
<h3 className="py-5"> {t('admin.admin_panel')} </h3> <h3 className="py-5"> {t('admin.admin_panel')} </h3>
<Card className="border-0 shadow-sm"> <Card className="border-0 card-shadow">
<Tab.Container activeKey="server_recordings"> <Tab.Container activeKey="server_recordings">
<Row> <Row>
<Col className="pe-0" sm={3}> <Col className="pe-0" sm={3}>
......
...@@ -30,7 +30,7 @@ export default function ServerRooms() { ...@@ -30,7 +30,7 @@ export default function ServerRooms() {
return ( return (
<div id="admin-panel" className="pb-3"> <div id="admin-panel" className="pb-3">
<h3 className="py-5"> { t('admin.admin_panel') } </h3> <h3 className="py-5"> { t('admin.admin_panel') } </h3>
<Card className="border-0 shadow-sm"> <Card className="border-0 card-shadow">
<Tab.Container activeKey="server_rooms"> <Tab.Container activeKey="server_rooms">
<Row> <Row>
<Col className="pe-0" sm={3}> <Col className="pe-0" sm={3}>
......
...@@ -23,7 +23,7 @@ export default function SiteSettings() { ...@@ -23,7 +23,7 @@ export default function SiteSettings() {
return ( return (
<div id="admin-panel" className="pb-3"> <div id="admin-panel" className="pb-3">
<h3 className="py-5">{ t('admin.admin_panel') }</h3> <h3 className="py-5">{ t('admin.admin_panel') }</h3>
<Card className="border-0 shadow-sm"> <Card className="border-0 card-shadow">
<Tab.Container activeKey="site_settings"> <Tab.Container activeKey="site_settings">
<Row> <Row>
<Col className="pe-0" sm={3}> <Col className="pe-0" sm={3}>
......
...@@ -50,7 +50,7 @@ export default function BrandColorPopover({ ...@@ -50,7 +50,7 @@ export default function BrandColorPopover({
show={show} show={show}
overlay={( overlay={(
<Popover className="border-0"> <Popover className="border-0">
<div className="color-picker rounded-3 shadow-sm"> <div className="color-picker rounded-3 card-shadow">
<HexColorPicker color={color} onChange={handleChange} /> <HexColorPicker color={color} onChange={handleChange} />
<div className="mt-3 px-3"> <div className="mt-3 px-3">
<HexColorInput className="w-100 form-control" color={color} onChange={handleChange} prefixed /> <HexColorInput className="w-100 form-control" color={color} onChange={handleChange} prefixed />
......
...@@ -19,7 +19,7 @@ export default function DefaultErrorPage() { ...@@ -19,7 +19,7 @@ export default function DefaultErrorPage() {
<div className="text-center pb-4"> <div className="text-center pb-4">
<Logo /> <Logo />
</div> </div>
<Card className="col-md-3 mx-auto p-4 border-0 shadow-sm text-center"> <Card className="col-md-3 mx-auto p-4 border-0 card-shadow text-center">
<Card.Title className="pb-2 fs-1 text-danger">{ t('global_error_page.title') }</Card.Title> <Card.Title className="pb-2 fs-1 text-danger">{ t('global_error_page.title') }</Card.Title>
<span className="mb-3">{ t('global_error_page.message') }</span> <span className="mb-3">{ t('global_error_page.message') }</span>
<ButtonLink to="/" variant="brand" className="btn btn-lg m-2"> <ButtonLink to="/" variant="brand" className="btn btn-lg m-2">
......
...@@ -19,7 +19,7 @@ export default function NotFoundPage() { ...@@ -19,7 +19,7 @@ export default function NotFoundPage() {
<div className="text-center pb-4"> <div className="text-center pb-4">
<Logo /> <Logo />
</div> </div>
<Card className="col-md-3 mx-auto p-4 border-0 shadow-sm text-center"> <Card className="col-md-3 mx-auto p-4 border-0 card-shadow text-center">
<Card.Title className="pb-2 fs-1 text-danger">{ t('not_found_error_page.title') }</Card.Title> <Card.Title className="pb-2 fs-1 text-danger">{ t('not_found_error_page.title') }</Card.Title>
<span className="mb-3">{ t('not_found_error_page.message') }</span> <span className="mb-3">{ t('not_found_error_page.message') }</span>
<ButtonLink to="/" variant="brand" className="btn btn-lg m-2"> <ButtonLink to="/" variant="brand" className="btn btn-lg m-2">
......
...@@ -4,7 +4,7 @@ import PropTypes from 'prop-types'; ...@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
export default function HomepageFeatureCard({ title, description, icon }) { export default function HomepageFeatureCard({ title, description, icon }) {
return ( return (
<Card className="homepage-card h-100 shadow-sm border-0"> <Card className="homepage-card h-100 card-shadow border-0">
<Card.Body className="p-4"> <Card.Body className="p-4">
<div className="homepage-card-icon-circle rounded-circle mb-4 d-flex align-items-center justify-content-center"> <div className="homepage-card-icon-circle rounded-circle mb-4 d-flex align-items-center justify-content-center">
{ icon } { icon }
......
...@@ -8,7 +8,7 @@ export default function EmptyRecordingsList() { ...@@ -8,7 +8,7 @@ export default function EmptyRecordingsList() {
return ( return (
<div className="pt-3"> <div className="pt-3">
<Card className="border-0 shadow-sm text-center"> <Card className="border-0 card-shadow text-center">
<Card.Body className="py-5"> <Card.Body className="py-5">
<div className="icon-circle rounded-circle d-block mx-auto mb-3"> <div className="icon-circle rounded-circle d-block mx-auto mb-3">
<VideoCameraIcon className="hi-l pt-4 text-brand d-block mx-auto" /> <VideoCameraIcon className="hi-l pt-4 text-brand d-block mx-auto" />
......
...@@ -34,7 +34,7 @@ export default function RecordingsList({ ...@@ -34,7 +34,7 @@ export default function RecordingsList({
<NoSearchResults text={t('recording.search_not_found')} searchInput={searchInput} /> <NoSearchResults text={t('recording.search_not_found')} searchInput={searchInput} />
</div> </div>
) : ( ) : (
<Card className="border-0 shadow-sm p-0 mt-4 mb-5"> <Card className="border-0 card-shadow p-0 mt-4 mb-5">
<Table id="recordings-table" className="table-bordered border border-2 mb-0 recordings-list" hover responsive> <Table id="recordings-table" className="table-bordered border border-2 mb-0 recordings-list" hover responsive>
<thead> <thead>
<tr className="text-muted small"> <tr className="text-muted small">
......
...@@ -13,7 +13,7 @@ export default function CantCreateRoom() { ...@@ -13,7 +13,7 @@ export default function CantCreateRoom() {
<div className="text-center mb-4"> <div className="text-center mb-4">
<Logo /> <Logo />
</div> </div>
<Card className="col-md-8 mx-auto p-5 border-0 shadow-sm text-center"> <Card className="col-md-8 mx-auto p-5 border-0 card-shadow text-center">
<div className="mt-4 px-xxl-5"> <div className="mt-4 px-xxl-5">
<div className="text-start"> <div className="text-start">
<h6> { t('homepage.enter_meeting_url') } </h6> <h6> { t('homepage.enter_meeting_url') } </h6>
......
...@@ -14,7 +14,7 @@ export default function EmptyRoomsList() { ...@@ -14,7 +14,7 @@ export default function EmptyRoomsList() {
return ( return (
<div id="rooms-list-empty" className="pt-5"> <div id="rooms-list-empty" className="pt-5">
<Card className="border-0 shadow-sm text-center"> <Card className="border-0 card-shadow text-center">
<Card.Body className="py-5"> <Card.Body className="py-5">
<div className="icon-circle rounded-circle d-block mx-auto mb-3"> <div className="icon-circle rounded-circle d-block mx-auto mb-3">
<UserBoardIcon className="hi-l text-brand d-block mx-auto" /> <UserBoardIcon className="hi-l text-brand d-block mx-auto" />
......
...@@ -26,7 +26,7 @@ export default function RoomCard({ room }) { ...@@ -26,7 +26,7 @@ export default function RoomCard({ room }) {
} }
return ( return (
<Card id="room-card" className="h-100 shadow-sm border-0"> <Card id="room-card" className="h-100 card-shadow border-0">
<Card.Body className="pb-0" onClick={handleClick}> <Card.Body className="pb-0" onClick={handleClick}>
<Stack direction="horizontal"> <Stack direction="horizontal">
<div className="room-icon rounded"> <div className="room-icon rounded">
......
...@@ -16,7 +16,7 @@ export default function RequireAuthentication({ path }) { ...@@ -16,7 +16,7 @@ export default function RequireAuthentication({ path }) {
<div className="text-center pb-4"> <div className="text-center pb-4">
<Logo /> <Logo />
</div> </div>
<Card className="col-xl-4 col-lg-5 col-md-7 col-8 mx-auto p-0 border-0 shadow-sm text-center"> <Card className="col-xl-4 col-lg-5 col-md-7 col-8 mx-auto p-0 border-0 card-shadow text-center">
<Card.Body className="pt-4 px-5"> <Card.Body className="pt-4 px-5">
<p className="mb-0">{ t('room.settings.require_signed_in_message') }</p> <p className="mb-0">{ t('room.settings.require_signed_in_message') }</p>
</Card.Body> </Card.Body>
......
...@@ -150,7 +150,7 @@ export default function RoomJoin() { ...@@ -150,7 +150,7 @@ export default function RoomJoin() {
<div className="text-center pb-4"> <div className="text-center pb-4">
<Logo /> <Logo />
</div> </div>
<Card className="col-md-6 mx-auto p-0 border-0 shadow-sm"> <Card className="col-md-6 mx-auto p-0 border-0 card-shadow">
<Card.Body className="pt-4 px-5"> <Card.Body className="pt-4 px-5">
<Row> <Row>
<Col className="col-xxl-8"> <Col className="col-xxl-8">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment