Galette Overrides
*******************************/
-
/*--------------------
Gaptcha Input
---------------------*/
-
.ui.form input[type="gaptcha"] {
width: 100px;
vertical-align: top;
box-shadow: @inputBoxShadow;
transition: @inputTransition;
}
+
+/*--------------------
+ Field
+---------------------*/
+.ui .fields:first-child:last-child {
+ margin-bottom: 0;
+}
+
+/*-------------------------
+ Filters' fields
+--------------------------*/
+.filters .fields .fields {
+ margin: 0;
+}
+
+.filters .fields .field.flexend {
+ display: flex;
+ align-items: flex-end;
+}
/*******************************
- Galette Overrides
+ Galette Variables
*******************************/
table.listing tbody tr:hover > td {
background-color: @activeLineBackgroundColor !important;
}
+td.emptylist {
+ background-color: #eeeeee;
+ text-align: center;
+ font-style: italic;
+}
/*-------------------------
Membership status
Galette Overrides
*******************************/
+/*----------------------------------------------
+ Reset color of simple buttons with icon
+-----------------------------------------------*/
a.ui.button i.icon,
a.ui.button:hover i.icon {
color: inherit;
}
+/*-----------------------------------------------------------------
+ Darken default primary color (orange) on buttons
+------------------------------------------------------------------*/
.ui.primary.button,
.ui.primary.buttons .button {
color: darken(@textColor, 15);
}
+/*-----------------------------------------------------------------
+ Remove border radius on dropdown button when opened upward
+ Used for the batch actions menu
+------------------------------------------------------------------*/
.ui.upward.dropdown.button:not(.pointing):not(.floating).batch-select-action.active {
border-radius: 0;
}
.ui.compact.button.delcriteria {
margin-left: 1rem;
}
+
+/*-------------------------------------------------
+ Dropdown actions button on member pages
+--------------------------------------------------*/
+.ui.floating.compact.labeled.dropdown.button {
+ .menu {
+ min-width: auto;
+ }
+ .label + .dropdown.icon {
+ margin-top: .4em;
+ }
+}
+
+/*----------------------------------------------
+ Resume existing email button
+-----------------------------------------------*/
+#recup_mailing.ui.tertiary.button,
+#recup_mailing.ui.button > .icon {
+ margin: 0 !important;
+}
Galette Overrides
*******************************/
+/*--------------------------
+ Page's main title
+---------------------------*/
h1.ui.block.header {
color: darken(@textColor, 15);
}
+/*-------------------------------------------------------
+ Brand block on top of public pages and main menu
+--------------------------------------------------------*/
.ui.block.brand.header {
background: rgba(255,255,255,.6);
box-shadow: @blockBoxShadow;
border: 0px;
}
+
+/*------------------------------------------------
+ Header with accordion style
+ To use attached with a segment
+-------------------------------------------------*/
+.ui.attached.accordion-styled.header {
+ background: @lightPrimaryColor;
+ color: darken(@textColor, 15);
+ border: 1px solid @primaryColor;
+ border-bottom: none;
+}
Galette Overrides
*******************************/
+/*--------------------------
+ Ajax select members
+---------------------------*/
+#selected_members .bottom.segment {
+ max-height: 320px;
+ overflow-y: auto;
+}
+
+/*------------------------------------------------
+ Actions buttons' container on member page
+-------------------------------------------------*/
.ui.right.floated.segment {
margin-top: 0;
margin-right:0;
}
+
+/*------------------------------------------------
+ Segment with accordion style
+ To use attached with a top header
+-------------------------------------------------*/
+.ui.attached.accordion-styled.segment {
+ border: 1px solid @primaryColor;
+ border-top: none;
+}
+
+/*-------------
+ No JS
+--------------*/
+.nojs .sortable-items .ui.segment {
+ cursor: auto;
+}
Galette Overrides
*******************************/
-html {
- overflow: hidden;
-}
-
+/*---------------
+ Global
+----------------*/
.displaynone {
display: none !important;
}
-#back2top {
- position: fixed;
- right: 0;
- bottom: 0;
- z-index: 2;
- opacity: 0.45;
+.language span {
+ text-transform: uppercase;
}
-#back2top:hover {
- opacity: 1;
+/*--------------------------------
+ Base layout and navigation
+---------------------------------*/
+html {
+ overflow: hidden;
+}
+
+body.pushable:not(.loggedin) > .pusher {
+ display: flex;
+ justify-content: center;
+}
+
+section.content,
+.front-page section:not(.content) {
+ padding: 1.25rem;
}
#top-navbar,
margin-left: .5rem;
}
-.language span {
- text-transform: uppercase;
+.ui.grid.align-items-center {
+ align-items: center;
}
-body.pushable:not(.loggedin) > .pusher {
- display: flex;
- justify-content: center;
+.ui.grid > aside.column:not(.row) {
+ padding-bottom: 2rem;
}
.ui.fixed.menu + .pusher {
padding-top: 4.5rem;
}
-.ui.grid > aside.column:not(.row) {
- padding-bottom: 2rem;
-}
-
aside.toc {
display: none;
}
max-width: 100%;
}
-section.content,
-.front-page section:not(.content) {
- padding: 1.25rem;
-}
-
-#recup_mailing.ui.tertiary.button,
-#recup_mailing.ui.button > .icon {
- margin: 0 !important;
-}
-
-#main-activities a i {
- opacity: .6;
-}
-
-#main-activities a:hover i {
- opacity: 1;
- color: @primaryColor;
-}
-
-#main-activities .header {
- color: @textColor;
-}
-
-.ui.floating.compact.labeled.dropdown.button {
- .menu {
- min-width: auto;
- }
- .label + .dropdown.icon {
- margin-top: .4em;
- }
-}
-
-.filters .fields .fields {
- margin: 0;
-}
-
-.filters .fields .field.flexend {
- display: flex;
- align-items: flex-end;
-}
-
-.ui .fields:first-child:last-child {
- margin-bottom: 0;
-}
-
-.ui.attached.accordion-styled.header,
-.ui.attached.accordion-styled.segment {
- border: 1px solid @primaryColor;
-}
-.ui.attached.accordion-styled.header {
- background: @lightPrimaryColor;
- color: darken(@textColor, 15);
- border-bottom: none;
-}
-.ui.attached.accordion-styled.segment {
- border-top: none;
-}
-
-details.ui.basic.styled.accordion .title {
- background: transparent;
- color: @textColor;
-}
-
-ul.sortable-items {
- list-style-type: none;
- margin: 0;
- padding: 0;
-}
-.sortable-items {
- .ui.segment {
- cursor: move;
- background-color: @evenLineBackgroundColor;
-
- &:hover {
- background-color: @activeLineBackgroundColor;
- }
- }
-}
-
footer,
footer .ui.horizontal.list .list > .item,
footer .ui.horizontal.list > .item{
font-size: .95rem;
}
-#selected_members {
- .bottom.segment {
- max-height: 320px;
- overflow-y: auto;
- }
-}
-
-.ui.grid.align-items-center {
- align-items: center;
-}
-
@media only screen and (max-width: 991px) {
#top-navbar .item:not(.header):not(.toc) {
display: none;
overflow-x: visible;
-webkit-overflow-scrolling: auto;
}
- .loggedin .ui.top.menu:not(.vertical):not(.tabular):not(.tabs) {
- display: none;
- }
+ .loggedin .ui.top.menu:not(.vertical):not(.tabular):not(.tabs),
.ui.top.menu:not(.vertical):not(.tabular):not(.tabs) .item.header,
.ui.top.menu:not(.vertical):not(.tabular):not(.tabs) .item.toc {
display: none;
.loggedin .ui.fixed.menu + .pusher {
padding-top: 0;
}
+
aside.toc {
display: block;
position: fixed !important;
width: 260px;
padding: 1.25rem;
}
+
body:not(.front-page) section.content {
margin-left: 260px;
flex: 1 1 auto;
padding: 1.25rem;
}
+
section.desktop .container {
max-width: 695px;
margin: 0 auto;
}
+
/*
* .pusher doesn't play well with sticky position children.
* It is required for sidebars, which are only used at the moment on
aside.toc {
width: 350px;
}
+
body:not(.front-page) section.content {
margin-left: 350px;
}
+
section.desktop .container {
max-width: 850px;
}
}
+/*---------------------------------
+ Desktop main activities
+----------------------------------*/
+#main-activities a i {
+ opacity: .6;
+}
+
+#main-activities a:hover i {
+ opacity: 1;
+ color: @primaryColor;
+}
+
+#main-activities .header {
+ color: @textColor;
+}
+
+/*-----------------------
+ Sortable items
+------------------------*/
+ul.sortable-items {
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+}
+
+.sortable-items {
+ .ui.segment {
+ cursor: move;
+ background-color: @evenLineBackgroundColor;
+
+ &:hover {
+ background-color: @activeLineBackgroundColor;
+ }
+ }
+}
+
+/*-------------------------
+ Back top top button
+--------------------------*/
+#back2top {
+ position: fixed;
+ right: 0;
+ bottom: 0;
+ z-index: 2;
+ opacity: 0.45;
+}
+
+#back2top:hover {
+ opacity: 1;
+}
+
/*------------------------------------------------
Fix conflicts between SUI and icons classes
-------------------------------------------------*/
.note-modal .note-group-select-from-files {
display: none !important;
}
+
.note-modal.open {
background: rgba(0,0,0,0.5);
}
+
.note-modal .note-modal-content {
position: fixed;
top: 50%;
transform: translateX(-50%) translateY(-50%);
margin: 30px 0;
}
+
.required .note-editable {
font-weight: normal;
}
+
.note-modal .note-modal-footer {
height: 62px;
}
+
.note-modal .note-btn {
padding: 10px;
}
+
@media only screen and (min-width: 768px) {
.note-modal-content {
margin: 0;
}
}
-
-/*-------------
- No JS
---------------*/
-.nojs select[multiple].ui.dropdown {
- height: 7rem;
-}
-.nojs .sortable-items .ui.segment {
- cursor: auto;
-}
Galette Overrides
*******************************/
+/*---------------------------------------------
+ Accordions' title brackground color
+----------------------------------------------*/
.ui.styled.accordion .title,
.ui.styled.accordion .accordion .title {
background: @styledTitleBackground;
}
+/*-------------------------------------------------
+ Advanced search filters' brackground color
+--------------------------------------------------*/
.ui.form.advanced-search .ui.styled.accordion > .content {
background: @secondaryBackground;
}
+/*-------------------------------------------------------
+ Max height for accordions displayed in listings
+--------------------------------------------------------*/
.listing td .ui.accordion {
width: 100%;
max-height: 200px;
overflow: auto
}
+/*-------------------------------------------------------
+ Reset style of accordions applied on details
+--------------------------------------------------------*/
+details.ui.basic.styled.accordion .title {
+ background: transparent;
+ color: @textColor;
+}
+
/*-------------
No JS
--------------*/
--- /dev/null
+/*******************************
+ Galette Overrides
+*******************************/
+
+/*-------------
+ No JS
+--------------*/
+.nojs select[multiple].ui.dropdown {
+ height: 7rem;
+}
--- /dev/null
+/*******************************
+ Galette Variables
+*******************************/
@calendar : 'default';
@checkbox : 'galette';
@dimmer : 'default';
-@dropdown : 'default';
+@dropdown : 'galette';
@embed : 'default';
@modal : 'default';
@nag : 'default';