Row spacing in tableLayout
I have a <tableLayout> which has two <rowLayout>. One for data heading, and one for data. There are two much space between these two rows. I tried <spacer> between two <rowLaouts>. No luck. I need to cut the space bwtween them. But I do not want use stackLayout.
Why don't you want to use stackLayout? I believe stackLayout is designed for the kind of thing you're trying to do...
Similar Messages
-
Hi,
Is there a way to reduce the row spacing on an output with col format?
The default row spacing is to big - times bigger than output with no col format.
Is there anything as
BREAK ON ROW - 2 (NEGATIVE)?
Thx,
DobbyNumeric values are preceeding with a blank because of the sign (which is not included in the definition number(3,2) = -9.99 to +9.99).
You need to convert to char and trim :
select trim(to_char(mynumber)) mynumber from mytable; -
FF table row spacing and footer margins
Two things happen in FF only. 1) My table rows 1,3 & 5
are larger than they should be.
http://www.wholesalebingosupplies.com/family-gatherings.html
2) My footer margins are completely reduced.
I tried adding lines and paragraphs (which I don't like
doing) which worked but of course made IE6 and IE7 look awful
because of the additional spaces. I also tried different options
with my div tag but was not able to come up with a solution.
I eventually want to use .css and get rid of the tables but
for now, I don't have the confidence with my css skills.
Any advice is greatly appreciated.andrewpndavies wrote:
Anyone know how to add a page break to a long table which spans several pages ?
No such a feature in Pages but it is the standard behaviour in Numbers so it may be a good soluce to move your document from Pages to Numbers as I often wrote (and often do).
Yvan KOENIG (from FRANCE mercredi 22 avril 2009 14:10:17) -
Minimise Cross Tab Row spacing
Hi,
I have created a Cross Tab table using Crystal Report 2008.
On the rows are list of warehouses eg: Warehouse A, Warehouse B etc.
I know I can minimise / change the font size and the Row label size by right click on the field, Size and Position eg: Warehouse A.
However, is there a way to adjustment the space between each row? Ie, the white space between the row box that show Warehouse A, Warehouse B etc.
What I am trying to achieve here is to fit 3 cross tab table into one page, while still keeping font size of the row at Arial 8.
Hope I have explained myself well and thank for your help in advance.Hi,
Thanks for responding.
Is there a way to specify the width of the cell margin instead of totally remove it? -
Page breaks in a table and table row spacing
Hello -
Anyone know how to add a page break to a long table which spans several pages ?
Also - there seems to be padding added to my text both before and after - how do I get rid of this ?
Any help much appreciated.
Andrewandrewpndavies wrote:
Anyone know how to add a page break to a long table which spans several pages ?
No such a feature in Pages but it is the standard behaviour in Numbers so it may be a good soluce to move your document from Pages to Numbers as I often wrote (and often do).
Yvan KOENIG (from FRANCE mercredi 22 avril 2009 14:10:17) -
Help: Can't get empty row to show up in tableLayout
When I add a row to my tableLayout, it ONLY shows up if there's some text in an outputText. I just want an empty blue row. How do I get it to show up. The code I'm using is below, the last row never shows up unless I put some text in the outputText. Even if I put spaces/blanks in the outputText nothing shows up.
Thanks
<afh:tableLayout borderWidth="2">
<afh:rowLayout>
<afh:cellFormat halign="start" width="5%"
rendered="true">
<af:outputText value="Object Code"
inlineStyle="color:rgb(153,0,0); font-weight:bold;"/>
</afh:cellFormat>
<afh:cellFormat halign="center" width="12%">
<af:outputText value="0100"
inlineStyle="color:rgb(0,0,0); font-weight:bold;"/>
</afh:cellFormat>
<afh:cellFormat halign="center" width="12%">
<af:outputText value="0200"
inlineStyle="color:rgb(0,0,0); font-weight:bold;"/>
</afh:cellFormat>
<afh:cellFormat halign="center" width="12%">
<af:outputText value="0300"
inlineStyle="color:rgb(0,0,0); font-weight:bold;"/>
</afh:cellFormat>
<afh:cellFormat halign="center" width="5%"
rendered="true">
<af:outputText value="Object Code"
inlineStyle="font-weight:bold; color:rgb(153,0,0);"/>
</afh:cellFormat>
<afh:cellFormat halign="center" width="12%">
<af:outputText value="0120"
inlineStyle="color:rgb(0,0,0); font-weight:bold;"/>
</afh:cellFormat>
<afh:cellFormat halign="center" width="12%">
<af:outputText value="0150"
inlineStyle="color:rgb(0,0,0); font-weight:bold;"/>
</afh:cellFormat>
<afh:cellFormat halign="center" width="15%">
<af:outputText value="0230"
inlineStyle="color:rgb(0,0,0); font-weight:bold;"/>
</afh:cellFormat>
<afh:cellFormat halign="center" width="15%">
<af:outputText value="0240"
inlineStyle="color:rgb(0,0,0); font-weight:bold;"/>
</afh:cellFormat>
</afh:rowLayout>
<afh:rowLayout>
<afh:cellFormat halign="start"
rendered="true">
<af:outputText inlineStyle="color:rgb(153,0,0); font-weight:bold;"/>
</afh:cellFormat>
<afh:cellFormat halign="center">
<af:inputText columns="10"
readOnly="false"
required="false"
showRequired="true"/>
</afh:cellFormat>
<afh:cellFormat halign="center">
<af:inputText inlineStyle="color:rgb(0,0,0);"
disabled="false"
readOnly="false"
columns="10" required="true"/>
</afh:cellFormat>
<afh:cellFormat halign="center">
<af:inputText inlineStyle="color:rgb(0,0,0);"
columns="10"
readOnly="false"/>
</afh:cellFormat>
<afh:cellFormat halign="center"
rendered="true">
<af:outputText inlineStyle="font-weight:bold; color:rgb(153,0,0);"/>
</afh:cellFormat>
<afh:cellFormat halign="center">
<af:inputText inlineStyle="color:rgb(0,0,0);"
columns="10"/>
</afh:cellFormat>
<afh:cellFormat halign="center">
<af:inputText inlineStyle="color:rgb(0,0,0);"
columns="10"/>
</afh:cellFormat>
<afh:cellFormat halign="center">
<af:inputText inlineStyle="color:rgb(0,0,0);"
columns="10"/>
</afh:cellFormat>
<afh:cellFormat halign="center">
<af:inputText inlineStyle="color:rgb(0,0,0);"
columns="10"/>
</afh:cellFormat>
</afh:rowLayout>
<afh:rowLayout inlineStyle="background-color:rgb(0,0,255);">
<afh:cellFormat
rendered="true" width="100%"
inlineStyle="background-color:rgb(255,255,255);"
columnSpan="9">
<af:outputText inlineStyle="color:rgb(153,0,0); font-weight:bold;"/>
</afh:cellFormat>
</afh:rowLayout>
<afh:rowLayout inlineStyle="background-color:rgb(57,0,115); color:rgb(0,33,115);">
<afh:cellFormat rendered="true" width="100%" columnSpan="9"
inlineStyle="color:rgb(0,0,214);">
<af:outputText value=""/>
</afh:cellFormat>
</afh:rowLayout>
</afh:tableLayout>Hi,
did you try a spacer component from the component palette?
Frank -
How to create a year view calendar
Hi All,
I have a requirement that the report has to display all the months that is January through December as a yearly view calendar.
Please click here on this below link to see the yearly calendar view style
[http://www.timeanddate.com/calendar/custom.html?year=2008&country=1&hcl=1&hol=]
Please if anybody have any input or ideas are welcome.
Question is is it possible to display this kind yearly calendar style report.
Thank you,
AshokThis may help you but not sure it's for an entire year....(what you're asking is a big endeavour in CR)....
Found this by searching the NOTES for "yearly calendar"...
1198886 - How to create a calendar style report in Crystal Reports XI
Symptom
How do you create a calendar style report in Crystal Reports XI?
Resolution
NOTE
This solution involves advanced report design concepts. The user should be familiar with creating formulas, grouping, formatting objects, formatting sections, creating subreports and linking them.
The first part of this solution involves creating the report and the first group level:
Before creating the report, create a Microsoft Excel spreadsheet that contains a column called "date" with each day of the year in date format.
After identifying your data source and tables, create a new report.
Add the date table from the Excel spreadsheet to the report.
Insert a group based on the date field. In the dialog This section will be printed for, click For each month.
Select the Use customized group name based on a formula option and enter this formula (substituting the Excel table and field name for Sheet1_.date if yours is different.):
Monthname(Month({Sheet1_.date}))
Insert a new Page Header section.
Drag the group name field to the Page Header_a section.
Open the Section Expert, select the Group Header #1 section, and select Suppress.
In the Section Expert, click the Group Footer #1 section, and select New Page After. In its conditional formula button, enter this formula:
Not OnLastRecord
In the main report, create a formula called {@Weeknumber} that contains the following syntax:
DatePart("ww",{Sheet1_.date})
In the second section of this solution, you will be creating a second group level:
Insert a group (Group #2), based on the {@Weeknumber} formula.
In the Section Expert, select the Group Footer #2 section, and select Suppress.
Create a formula for each day of the week. Name them {@Sun}, {@Mon}, and so on, using the following syntax:
If DayOfWeek({Sheet1_.date}) = 1 then Day({sheet1_.date})
In this formula, the number 1 represents Sunday. For the rest of the six formulas, change the number to 2 for Monday, 3 for Tuesday, 4 for Wednesday, 5 for Thursday, 6 for Friday and 7 for Saturday.
Add these seven formulas to the Details section. Arrange them in a row, spacing them equally along the page, starting with the formula for Sunday.
For each of the formulas, insert a Maximum summary function.
Drag these seven summary fields to the Group Header #2 section.
Drag the lower boundary of the header down until it is the size that you want the square for the calendar days to be.
Suppress the Report Header, Details, Page Footer, and Report Footer sections.
Right-click and format each of the summary fields. In the Number tab click Customize and select Suppress if Zero.
Draw a box over Page Header_b and extend this down to the bottom of the Group Header #2 section. Then draw vertical lines from the top of the box to the bottom to divide the days, and draw a horizontal line along the top of Group Header #2 to divide the weeks.
For both the box and the vertical lines, use the Format Editor to select Extend to Bottom of Section when Printing.
Position the seven summary fields from Group Header #2 where you would like them to be in the day boxes. In Page Header_b, arrange the column labels ('Sun', 'Mon', and so on) so that they are centered above each square.
The final section will guide you through the Subreport creation part of this solution. Create seven subreports, one for each day of the week. Begin with the subreport for Sunday:
Create a subreport called "Sun". Select the data source for the data that your calendar data will display.
Add the data field(s) to the Details section of the subreport that you want to appear in the calendar squares.
Suppress the remaining sections.
Place the subreport in the "Sunday" square of the Group Header #2 of the main report. Adjust its size to fit the square.
In the subreport, create a formula called {@WeekNumber} with the following syntax:
DatePart("ww",{Appointments.Appointment Date})
In the Select Expert click show formula and add this syntax:
Year({Sheet_1.date}) = 2007 and DayOfWeek({Sheet1_.date}) = 1
In this formula, 2007 is the year of your calendar and 1 is for Sunday.
Link the subreport to the main report using the {@Weeknumber} formula from each.
In the main report, right-click the subreport and click Format Subreport.
In the Common tab, enter this syntax into the conditional formula button next to the Suppress check box:
Maximum({@Sun},{@Weeknumber}) = 0
Repeat steps 1 to 8 for the other days of the week, ensuring that you substitute the correct values for the corresponding day of the week.
Keywords
template schedule yearly weekly daily appointment appointments business days , 3001298 -
[Solved] How to force enable rounded corners in a theme on GNOME 3.16
Hello
I just recently started using arch (and I regret why didnt I use it earlier -.-, such a great OS). I put up Gnome 13.16.2 as my desktop environment particularly because I like its interface (rounded corners, the ui etc. Kinda reminds me of my fav mobile OS MIUI).
And I can see that most of the themes (almost all that I have installed infact) like to remove rounded corners and give a flat rectangle. Is there some way to force rounded corners by editing the theme? I did had a look at gnome-shell.css of theme and the "panel" portion of it didnt had any such part (or atleast I couldn't find it). Some help would be appreciated, really want those rounded corners as well as the theme.
Here's the gnome-shell.css from that theme btw:
/* Copyright 2009, 2015 Red Hat, Inc.
* Portions adapted from Mx's data/style/default.css
* Copyright 2009 Intel Corporation
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
* version 2.1, as published by the Free Software Foundation.
* This program is distributed in the hope it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
* more details.
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
stage {
font-family: Cantarell, Sans-Serif;
font-size: 9pt;
color: #5c616c; }
.button, .notification-banner .notification-button,
.notification-banner:hover .notification-button,
.notification-banner:focus .notification-button {
min-height: 20px;
padding: 5px 32px;
transition-duration: 0;
border-radius: 2px;
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #5c616c;
background-color: #fcfdfd;
border: 1px solid #cfd6e6; }
.button:focus, .notification-banner .notification-button:focus {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #5c616c;
background-color: #fcfdfd;
border: 1px solid #5294E2; }
.button:hover, .notification-banner .notification-button:hover {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #5c616c;
background-color: #fcfdfd;
border: 1px solid #5294E2; }
.button:hover:focus, .notification-banner .notification-button:hover:focus {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #5294E2;
background-color: #fcfdfd;
border: 1px solid #5294E2; }
.button:active, .notification-banner .notification-button:active, .button:active:focus, .notification-banner .notification-button:active:focus {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #ffffff;
background-color: #5294E2;
border: 1px solid #5294E2; }
.button:insensitive, .notification-banner .notification-button:insensitive {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: rgba(92, 97, 108, 0.55);
border: 1px solid rgba(207, 214, 230, 0.55);
background-color: rgba(252, 253, 253, 0.55); }
StEntry {
padding: 7px;
caret-size: 1px;
selection-background-color: #5294E2;
selected-color: #ffffff;
transition-duration: 300ms;
border-radius: 20px;
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #5c616c;
background-color: #ffffff;
border: 1px solid #cfd6e6; }
StEntry:focus, StEntry:hover {
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #5c616c;
background-color: #ffffff;
border: 1px solid #5294E2; }
StEntry:insensitive {
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: rgba(92, 97, 108, 0.55);
background-color: #fcfcfd;
border-color: 1px solid #e1e6ef; }
StEntry StIcon.capslock-warning {
icon-size: 16px;
warning-color: #F27835;
padding: 0 4px; }
StScrollView.vfade {
-st-vfade-offset: 0px; }
StScrollView.hfade {
-st-hfade-offset: 0px; }
StScrollBar {
padding: 8px; }
StScrollView StScrollBar {
min-width: 5px;
min-height: 5px; }
StScrollBar StBin#trough {
background-color: rgba(255, 255, 255, 0.1);
border-radius: 8px; }
StScrollBar StButton#vhandle, StScrollBar StButton#hhandle {
border-radius: 4px;
background-color: #babcc1;
border: 0px solid;
margin: 0px; }
StScrollBar StButton#vhandle:hover, StScrollBar StButton#hhandle:hover {
background-color: #c9ccd0; }
StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
background-color: #5294E2; }
.slider {
-slider-height: 4px;
-slider-background-color: #cfd6e6;
-slider-border-color: transparent;
-slider-active-background-color: #5294E2;
-slider-active-border-color: transparent;
-slider-border-width: 0;
-slider-handle-radius: 4px;
height: 18px;
border: 0 solid transparent;
border-right-width: 1px;
border-left-width: 5px;
color: transparent; }
.check-box StBoxLayout {
spacing: .8em; }
.check-box StBin {
width: 16px;
height: 16px;
background-image: url("checkbox/checkbox-unchecked.svg"); }
.check-box:focus StBin {
background-image: url("checkbox/checkbox-unchecked-focused.svg"); }
.check-box:checked StBin {
background-image: url("checkbox/checkbox-checked.svg"); }
.check-box:focus:checked StBin {
background-image: url("checkbox/checkbox-checked-focused.svg"); }
.toggle-switch {
width: 52px;
height: 24px;
background-size: contain; }
.toggle-switch-us, .toggle-switch-intl {
background-image: url("switch/switch-off.svg"); }
.toggle-switch-us:checked, .toggle-switch-intl:checked {
background-image: url("switch/switch-on.svg"); }
.shell-link {
color: #2679db; }
.shell-link:hover {
color: #5294e2; }
.headline {
font-size: 110%; }
.lightbox {
background-color: black; }
.flashspot {
background-color: white; }
.modal-dialog {
border-radius: 3px;
color: #5c616c;
background-color: rgba(249, 250, 251, 0);
border: none;
border-image: url("misc/modal.svg") 10 10 10 10;
padding: 0 6px 6px 6px; }
.modal-dialog > * {
padding: 14px; }
.modal-dialog-button-box {
spacing: 0px;
margin: 0px;
padding: 12px 24px;
background-color: #3c4049;
border: solid 0px rgba(0, 0, 0, 0.3);
border-top: 1px;
border-radius: 0px 0px 1px 1px; }
.modal-dialog-button-box .button, .modal-dialog-button-box .notification-banner .notification-button, .notification-banner .modal-dialog-button-box .notification-button {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #c4c7cc;
outline-color: rgba(168, 173, 181, 0.3);
border-color: rgba(168, 173, 181, 0.3);
background-color: rgba(48, 52, 59, 0.95); }
.modal-dialog-button-box .button:hover, .modal-dialog-button-box .notification-banner .notification-button:hover, .notification-banner .modal-dialog-button-box .notification-button:hover {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #ffffff;
border-color: #5294E2;
background-color: rgba(48, 52, 59, 0.95); }
.modal-dialog-button-box .button:focus, .modal-dialog-button-box .notification-banner .notification-button:focus, .notification-banner .modal-dialog-button-box .notification-button:focus {
color: #5294E2; }
.modal-dialog-button-box .button:active, .modal-dialog-button-box .notification-banner .notification-button:active, .notification-banner .modal-dialog-button-box .notification-button:active {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #ffffff;
border-color: #5294E2;
background-color: #5294E2; }
.modal-dialog-button-box .button:insensitive, .modal-dialog-button-box .notification-banner .notification-button:insensitive, .notification-banner .modal-dialog-button-box .notification-button:insensitive {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #5c6069;
border-color: rgba(168, 173, 181, 0.2);
background-image: rgba(53, 57, 65, 0.95); }
.modal-dialog .run-dialog-entry {
width: 23em; }
.modal-dialog .run-dialog-error-box {
padding-top: 5px;
spacing: 5px; }
.modal-dialog .run-dialog-label {
font-size: 10pt;
font-weight: normal;
color: #5c616c;
padding-bottom: .8em; }
.show-processes-dialog-subject,
.mount-question-dialog-subject,
.end-session-dialog-subject {
font-size: 11pt;
font-weight: bold;
color: #5c616c; }
.end-session-dialog {
spacing: 42px; }
.end-session-dialog-list {
padding-top: 20px; }
.end-session-dialog-layout {
padding-left: 17px; }
.end-session-dialog-layout:rtl {
padding-right: 17px; }
.end-session-dialog-description {
width: 28em;
padding-bottom: 10px; }
.end-session-dialog-description:rtl {
text-align: right; }
.end-session-dialog-warning {
width: 28em;
color: #F27835;
padding-top: 6px; }
.end-session-dialog-warning:rtl {
text-align: right; }
.end-session-dialog-logout-icon {
border: 0px solid transparent;
border-radius: 2px;
width: 48px;
height: 48px;
background-size: contain; }
.end-session-dialog-shutdown-icon {
color: #5c616c;
width: 48px;
height: 48px; }
.end-session-dialog-inhibitor-layout {
spacing: 16px;
max-height: 200px;
padding-right: 10px;
padding-left: 10px; }
.end-session-dialog-session-list, .end-session-dialog-app-list {
spacing: 1em; }
.end-session-dialog-list-header {
font-weight: bold; }
.end-session-dialog-list-header:rtl {
text-align: right; }
.end-session-dialog-app-list-item, .end-session-dialog-session-list-item {
spacing: 1em; }
.end-session-dialog-app-list-item-name, .end-session-dialog-session-list-item-name {
font-weight: bold; }
.end-session-dialog-app-list-item-description {
color: #686d7a;
font-size: 8pt; }
.end-session-dialog .button:last-child, .end-session-dialog .notification-banner .notification-button:last-child, .notification-banner .end-session-dialog .notification-button:last-child {
color: #ffffff;
background-color: #FA4349;
border-color: #FA4349; }
.end-session-dialog .button:last-child:hover, .end-session-dialog .notification-banner .notification-button:last-child:hover, .notification-banner .end-session-dialog .notification-button:last-child:hover {
color: #ffffff;
background-color: #fb7074;
border-color: #fb7074; }
.end-session-dialog .button:last-child:active, .end-session-dialog .notification-banner .notification-button:last-child:active, .notification-banner .end-session-dialog .notification-button:last-child:active {
color: #ffffff;
background-color: #f92a31;
border-color: #f92a31; }
.shell-mount-operation-icon {
icon-size: 48px; }
.show-processes-dialog,
.mount-question-dialog {
spacing: 24px; }
.show-processes-dialog-subject,
.mount-question-dialog-subject {
padding-top: 10px;
padding-left: 17px;
padding-bottom: 6px; }
.show-processes-dialog-subject:rtl,
.mount-question-dialog-subject:rtl {
padding-left: 0px;
padding-right: 17px; }
.mount-question-dialog-subject {
max-width: 500px; }
.show-processes-dialog-description,
.mount-question-dialog-description {
padding-left: 17px;
width: 28em; }
.show-processes-dialog-description:rtl,
.mount-question-dialog-description:rtl {
padding-right: 17px; }
.show-processes-dialog-app-list {
font-size: 10pt;
max-height: 200px;
padding-top: 24px;
padding-left: 49px;
padding-right: 32px; }
.show-processes-dialog-app-list:rtl {
padding-right: 49px;
padding-left: 32px; }
.show-processes-dialog-app-list-item {
color: #454850; }
.show-processes-dialog-app-list-item:hover {
color: #5c616c; }
.show-processes-dialog-app-list-item:ltr {
padding-right: 1em; }
.show-processes-dialog-app-list-item:rtl {
padding-left: 1em; }
.show-processes-dialog-app-list-item-icon:ltr {
padding-right: 17px; }
.show-processes-dialog-app-list-item-icon:rtl {
padding-left: 17px; }
.show-processes-dialog-app-list-item-name {
font-size: 10pt; }
.prompt-dialog {
width: 500px; }
.prompt-dialog-main-layout {
spacing: 24px;
padding: 10px; }
.prompt-dialog-message-layout {
spacing: 16px; }
.prompt-dialog-headline {
font-size: 12pt;
font-weight: bold;
color: #5c616c; }
.prompt-dialog-descritption:rtl {
text-align: right; }
.prompt-dialog-password-box {
spacing: 1em;
padding-bottom: 1em; }
.prompt-dialog-error-label {
font-size: 9pt;
color: #FC4138;
padding-bottom: 8px; }
.prompt-dialog-info-label {
font-size: 9pt;
padding-bottom: 8px; }
.prompt-dialog-null-label {
font-size: 9pt;
padding-bottom: 8px; }
.hidden {
color: transparent; }
.polkit-dialog-user-layout {
padding-left: 10px;
spacing: 10px; }
.polkit-dialog-user-layout:rtl {
padding-left: 0px;
padding-right: 10px; }
.polkit-dialog-user-root-label {
color: #F27835; }
.polkit-dialog-user-user-icon {
border-radius: 2px;
background-size: contain;
width: 48px;
height: 48px; }
.network-dialog-secret-table {
spacing-rows: 15px;
spacing-columns: 1em; }
.keyring-dialog-control-table {
spacing-rows: 15px;
spacing-columns: 1em; }
.popup-menu {
min-width: 200px;
color: #5c616c;
border-image: url("menu/menu.svg") 10 10 35 14; }
.popup-menu .popup-sub-menu {
background: none;
box-shadow: none;
border-image: url("menu/submenu.svg") 8 8 2 2; }
.popup-menu .popup-menu-content {
padding: 1em 0em 1em 0em; }
.popup-menu .popup-menu-item {
spacing: 12px; }
.popup-menu .popup-menu-item:ltr {
padding: .4em 3em .4em 0em; }
.popup-menu .popup-menu-item:rtl {
padding: .4em 0em .4em 3em; }
.popup-menu .popup-menu-item:checked {
background: none;
box-shadow: none;
font-weight: normal;
border-image: url("menu/submenu-open.svg") 8 8 2 2; }
.popup-menu .popup-menu-item:active, .popup-menu .popup-menu-item.selected {
color: #5c616c;
background-color: transparent;
border-image: url("menu/menu-hover.svg") 7 7 1 1; }
.popup-menu .popup-menu-item:insensitive {
color: rgba(92, 97, 108, 0.5);
background: none; }
.popup-menu .popup-inactive-menu-item {
color: #5c616c; }
.popup-menu .popup-inactive-menu-item:insensitive {
color: rgba(92, 97, 108, 0.55); }
.popup-menu.panel-menu {
-boxpointer-gap: 0px;
margin-bottom: 1.75em; }
.popup-menu-ornament {
text-align: right;
margin-left: 10px;
width: 16px; }
.popup-menu-boxpointer {
-arrow-border-radius: 2px;
-arrow-background-color: transparent;
-arrow-border-width: 1px;
-arrow-border-color: transparent;
-arrow-base: 0;
-arrow-rise: 0; }
.candidate-popup-boxpointer {
-arrow-border-radius: 2px;
-arrow-background-color: rgba(37, 39, 45, 0.95);
-arrow-border-width: 1px;
-arrow-border-color: rgba(21, 22, 25, 0.95);
-arrow-base: 5;
-arrow-rise: 5; }
.popup-separator-menu-item {
height: 2px;
margin: 10px 0px;
background-color: transparent;
border: none;
border-image: url("menu/menu-separator.svg") 1 1 1 1; }
.background-menu {
-boxpointer-gap: 4px;
-arrow-rise: 0px; }
.osd-window {
text-align: center;
font-weight: bold;
spacing: 1em;
padding: 20px;
margin: 32px;
min-width: 64px;
min-height: 64px;
color: #ffffff;
background: none;
border: none;
border-radius: 5px;
border-image: url("misc/osd.svg") 10 10 9 11; }
.osd-window .osd-monitor-label {
font-size: 3em; }
.osd-window .level {
padding: 0;
height: 4px;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 2px;
color: #5294E2; }
.resize-popup {
color: #A8ADB5;
background: none;
border: none;
border-radius: 5px;
border-image: url("misc/osd.svg") 10 10 9 11;
padding: 12px; }
.switcher-popup {
padding: 8px;
spacing: 16px; }
.switcher-list {
background: none;
border: none;
border-image: url("misc/bg.svg") 10 10 35 14;
border-radius: 3px;
padding: 20px; }
.switcher-list-item-container {
spacing: 8px; }
.switcher-list .item-box {
padding: 8px;
border-radius: 2px; }
.switcher-list .item-box:outlined {
padding: 6px;
border: 1px solid #5294E2; }
.switcher-list .item-box:selected {
color: #ffffff;
background-color: #5294E2;
border: 1px solid #5294E2; }
.switcher-list .thumbnail-box {
padding: 2px;
spacing: 4px; }
.switcher-list .thumbnail {
width: 256px; }
.switcher-list .separator {
width: 1px;
background: rgba(92, 97, 108, 0.33); }
.switcher-arrow {
border-color: transparent;
color: #A8ADB5; }
.switcher-arrow:highlighted {
color: #ffffff; }
.input-source-switcher-symbol {
font-size: 34pt;
width: 96px;
height: 96px; }
.workspace-switcher {
background: transparent;
border: 0px;
border-radius: 0px;
padding: 0px;
spacing: 8px; }
.workspace-switcher-group {
padding: 12px; }
.workspace-switcher-container {
border-image: url("misc/bg.svg") 10 10 35 14;
border-radius: 3px;
padding: 20px;
padding-bottom: 24px; }
.ws-switcher-active-up, .ws-switcher-active-down {
height: 30px;
background-color: #5294E2;
background-size: 96px;
border-radius: 2px;
border: 1px solid #5294E2; }
.ws-switcher-active-up {
background-image: url("misc/ws-switch-arrow-up.png"); }
.ws-switcher-active-down {
background-image: url("misc/ws-switch-arrow-down.png"); }
.ws-switcher-box {
height: 96px;
background-color: rgba(0, 0, 0, 0.33);
border-color: rgba(0, 0, 0, 0.33);
border-radius: 2px; }
.tile-preview {
background-color: rgba(82, 148, 226, 0.35);
border: 1px solid #5294E2; }
.tile-preview-left.on-primary {
border-radius: 0px 0 0 0; }
.tile-preview-right.on-primary {
border-radius: 0 0px 0 0; }
.tile-preview-left.tile-preview-right.on-primary {
border-radius: 0px 0px 0 0; }
#panel {
background-color: rgba(37, 39, 45, 0.95);
border-color: rgba(16, 17, 20, 0.95);
border-bottom-width: 1px;
font-weight: bold;
height: 2.1em;
min-height: 26px; }
#panel.unlock-screen, #panel.login-screen, #panel.lock-screen {
background-color: transparent;
border-image: none; }
#panel:overview {
background-color: rgba(14, 15, 17, 0.8); }
#panel #panelLeft, #panel #panelCenter {
spacing: 8px; }
#panel .panel-corner {
-panel-corner-radius: 0px;
-panel-corner-background-color: transparent;
-panel-corner-border-width: 0px;
-panel-corner-border-color: black; }
#panel .panel-corner:active, #panel .panel-corner:overview, #panel .panel-corner:focus {
-panel-corner-border-color: black; }
#panel .panel-corner.lock-screen, #panel .panel-corner.login-screen, #panel .panel-cornerunlock-screen {
-panel-corner-radius: 0;
-panel-corner-background-color: transparent;
-panel-corner-border-color: transparent; }
#panel .panel-button {
-natural-hpadding: 12px;
-minimum-hpadding: 6px;
font-weight: bold;
color: #ffffff;
transition-duration: 100ms; }
#panel .panel-button .app-menu-icon {
width: 0;
height: 0;
margin-left: 4px;
margin-right: 4px; }
#panel .panel-button:hover {
color: #ffffff;
background-color: rgba(0, 0, 0, 0.17); }
#panel .panel-button:active, #panel .panel-button:overview, #panel .panel-button:focus, #panel .panel-button:checked {
color: #ffffff;
background-color: #5294E2;
box-shadow: none; }
#panel .panel-button:active > .system-status-icon, #panel .panel-button:overview > .system-status-icon, #panel .panel-button:focus > .system-status-icon, #panel .panel-button:checked > .system-status-icon {
icon-shadow: none; }
#panel .panel-button .system-status-icon {
icon-size: 16px;
padding: 0 8px; }
.unlock-screen #panel .panel-button, .login-screen #panel .panel-button, .lock-screen #panel .panel-button {
color: #737a88; }
.unlock-screen #panel .panel-button:focus, .unlock-screen #panel .panel-button:hover, .unlock-screen #panel .panel-button:active, .login-screen #panel .panel-button:focus, .login-screen #panel .panel-button:hover, .login-screen #panel .panel-button:active, .lock-screen #panel .panel-button:focus, .lock-screen #panel .panel-button:hover, .lock-screen #panel .panel-button:active {
color: #737a88; }
#panel .panel-status-indicators-box,
#panel .panel-status-menu-box {
spacing: 2px; }
#panel .screencast-indicator {
color: red; }
#panelActivities > *,
#panelActivities:hover > *,
#panelActivities:focus > *,
#panelActivities:active > *,
#panelActivities:overview > *,
#panel:overview #panelActivities.panel-button:active > *,
#panel:overview #panelActivities.panel-button:focus > * {
background-image: url("misc/activities.svg");
background-position: center top;
width: 24px;
height: 24px;
background-color: transparent !important;
background-gradient-direction: none !important;
border: 0 solid transparent !important;
text-shadow: 0 0 transparent !important;
transition-duration: 0ms !important;
box-shadow: none !important;
color: transparent; }
.system-switch-user-submenu-icon {
icon-size: 24px;
border: 1px solid rgba(92, 97, 108, 0.4); }
#appMenu {
spinner-image: url("misc/process-working.svg");
spacing: 4px; }
#appMenu .label-shadow {
color: transparent; }
.aggregate-menu {
width: 360px; }
.aggregate-menu .popup-menu-icon {
padding: 0 4px; }
.system-menu-action {
padding: 13px;
color: #5c616c;
border-radius: 32px;
/* wish we could do 50% */
border: 1px solid transparent; }
.system-menu-action:hover, .system-menu-action:focus {
transition-duration: 100ms;
padding: 13px;
color: #5c616c;
background-color: transparent;
border: 1px solid #5294E2; }
.system-menu-action:active {
color: #ffffff;
background-color: #5294E2;
border: 1px solid #5294E2; }
.system-menu-action > StIcon {
icon-size: 16px; }
#calendarArea {
padding: 0.75em 1.0em; }
.calendar {
margin-bottom: 1em; }
.calendar,
.datemenu-today-button,
.datemenu-displays-box,
.message-list-sections {
margin: 0 1.5em; }
.datemenu-calendar-column {
spacing: 0.5em; }
.datemenu-displays-section {
padding-bottom: 3em; }
.datemenu-today-button,
.world-clocks-button,
.message-list-section-title {
border-radius: 3px;
padding: .4em; }
.message-list-section-list:ltr {
padding-left: .4em; }
.message-list-section-list:rtl {
padding-right: .4em; }
.datemenu-today-button,
.world-clocks-button,
.message-list-section-title {
padding: 7px 10px 7px 10px;
border: 1px solid rgba(255, 255, 255, 0); }
.datemenu-today-button:hover, .datemenu-today-button:focus,
.world-clocks-button:hover,
.world-clocks-button:focus,
.message-list-section-title:hover,
.message-list-section-title:focus {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #5c616c;
background-color: #fcfdfd;
border: 1px solid #5294E2; }
.datemenu-today-button:active,
.world-clocks-button:active,
.message-list-section-title:active {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #ffffff;
background-color: #5294E2;
border: 1px solid #5294E2; }
.datemenu-today-button .date-label {
font-size: 1.5em; }
.world-clocks-header,
.message-list-section-title {
color: rgba(92, 97, 108, 0.4);
font-weight: bold; }
.world-clocks-button:active .world-clocks-header {
color: #ffffff; }
.world-clocks-grid {
spacing-rows: 0.4em; }
.calendar-month-label {
color: #5c616c;
font-weight: bold;
padding: 8px 0; }
.pager-button {
color: transparent;
background-color: transparent;
width: 32px;
border-radius: 2px; }
.pager-button:focus, .pager-button:hover, .pager-button:active {
background-color: transparent; }
.calendar-change-month-back {
background-image: url("misc/calendar-arrow-left.svg"); }
.calendar-change-month-back:focus, .calendar-change-month-back:hover {
background-image: url("misc/calendar-arrow-left-hover.svg"); }
.calendar-change-month-back:active {
background-image: url("misc/calendar-arrow-left.svg"); }
.calendar-change-month-back:rtl {
background-image: url("misc/calendar-arrow-right.svg"); }
.calendar-change-month-back:rtl:focus, .calendar-change-month-back:rtl:hover {
background-image: url("misc/calendar-arrow-right-hover.svg"); }
.calendar-change-month-back:rtl:active {
background-image: url("misc/calendar-arrow-right.svg"); }
.calendar-change-month-forward {
background-image: url("misc/calendar-arrow-right.svg"); }
.calendar-change-month-forward:focus, .calendar-change-month-forward:hover {
background-image: url("misc/calendar-arrow-right-hover.svg"); }
.calendar-change-month-forward:active {
background-image: url("misc/calendar-arrow-right.svg"); }
.calendar-change-month-forward:rtl {
background-image: url("misc/calendar-arrow-left.svg"); }
.calendar-change-month-forward:rtl:focus, .calendar-change-month-forward:rtl:hover {
background-image: url("misc/calendar-arrow-left-hover.svg"); }
.calendar-change-month-forward:rtl:active {
background-image: url("misc/calendar-arrow-left.svg"); }
.calendar-day-base {
font-size: 80%;
text-align: center;
width: 25px;
height: 25px;
padding: 0.1em;
margin: 2px;
border-radius: 12.5px; }
.calendar-day-base:hover, .calendar-day-base:focus {
background-color: rgba(0, 0, 0, 0.1); }
.calendar-day-base:active {
color: #5c616c;
background-color: rgba(0, 0, 0, 0.15);
border-width: 0; }
.calendar-day-base.calendar-day-heading {
color: rgba(92, 97, 108, 0.85);
margin-top: 1em;
font-size: 70%; }
.calendar-day {
border-width: 0;
color: rgba(92, 97, 108, 0.8); }
.calendar-day-top {
border-top-width: 0; }
.calendar-day-left {
border-left-width: 0; }
.calendar-nonwork-day {
color: #5c616c;
font-weight: bold; }
.calendar-today,
.calendar-today:active,
.calendar-today:focus,
.calendar-today:hover {
font-weight: bold;
color: #ffffff;
background-color: #5294E2;
border-width: 0; }
.calendar-day-with-events {
color: #5294E2;
font-weight: bold; }
.calendar-today.calendar-day-with-events {
color: #ffffff; }
.calendar-other-month-day {
color: rgba(92, 97, 108, 0.3);
opacity: 1; }
.message-list {
width: 420px; }
.message-list-sections {
spacing: 1.5em; }
.message-list-section,
.message-list-section-list {
spacing: 0.7em; }
.message-list-section-title-box {
spacing: 0.4em; }
.message-list-section-close > StIcon {
icon-size: 16px;
border-radius: 8px;
color: #ffffff;
background-color: rgba(92, 97, 108, 0.5); }
.message-list-section-close:hover > StIcon,
.message-list-section-close:focus > StIcon {
color: #ffffff;
background-color: #5c616c; }
.message-list-section-close:active > StIcon {
color: #ffffff;
background-color: #5294E2; }
.message {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #5c616c;
background-color: #fcfdfd;
border: 1px solid #cfd6e6;
padding: 4px; }
.message:hover, .message:focus {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #5c616c;
background-color: #fcfdfd;
border: 1px solid #5294E2; }
.message:active {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #ffffff;
background-color: #5294E2;
border: 1px solid #5294E2; }
.message-icon-bin {
padding: 8px 0px 8px 8px; }
.message-icon-bin:rtl {
padding: 8px 8px 8px 0px; }
.message-icon-bin > StIcon {
icon-size: 48px; }
.message-secondary-bin {
color: rgba(92, 97, 108, 0.4); }
.message-secondary-bin > StIcon {
icon-size: 16px; }
.message-title {
font-weight: bold;
padding: 2px 0 2px 0; }
.message-content {
padding: 8px; }
.ripple-box {
width: 52px;
height: 52px;
background-image: url("misc/corner-ripple-ltr.svg");
background-size: contain; }
.ripple-box:rtl {
background-image: url("misc/corner-ripple-rtl.svg"); }
.popup-menu-arrow {
width: 16px;
height: 16px; }
.popup-menu-icon {
icon-size: 16px; }
.window-close {
background-image: url("misc/close.svg");
background-size: 26px;
height: 26px;
width: 26px; }
.window-close:hover {
background-image: url("misc/close-hover.svg");
background-size: 26px;
height: 26px;
width: 26px; }
.window-close:active {
background-image: url("misc/close-active.svg");
background-size: 26px;
height: 26px;
width: 26px; }
.window-close {
-shell-close-overlap: 11px; }
.nm-dialog {
max-height: 500px;
min-height: 450px;
min-width: 470px; }
.nm-dialog-content {
spacing: 20px; }
.nm-dialog-header-hbox {
spacing: 10px; }
.nm-dialog-airplane-box {
spacing: 12px; }
.nm-dialog-airplane-headline {
font-size: 1.1em;
font-weight: bold;
text-align: center; }
.nm-dialog-airplane-text {
color: #5c616c; }
.nm-dialog-header-icon {
icon-size: 32px; }
.nm-dialog-scroll-view {
border: 1px solid #dde3e9;
border-radius: 2px;
background-color: #ffffff; }
.nm-dialog-header {
font-weight: bold;
font-size: 1.2em; }
.nm-dialog-item {
font-size: 1em;
border-bottom: 0px solid;
padding: 12px;
spacing: 0px; }
.nm-dialog-item:selected {
background-color: #5294E2;
color: #ffffff; }
.nm-dialog-icons {
spacing: .5em; }
.nm-dialog-icon {
icon-size: 16px; }
.no-networks-label {
color: rgba(92, 97, 108, 0.55); }
.no-networks-box {
spacing: 12px; }
#overview {
spacing: 24px; }
.overview-controls {
padding-bottom: 32px; }
.window-picker {
-horizontal-spacing: 32px;
-vertical-spacing: 32px;
padding-left: 32px;
padding-right: 32px;
padding-bottom: 48px; }
.window-picker.external-monitor {
padding: 32px; }
.window-clone-border {
border: 3px solid rgba(82, 148, 226, 0.8);
border-radius: 4px;
box-shadow: inset 0px 0px 0px 1px rgba(82, 148, 226, 0); }
.window-caption, .window-caption:hover {
spacing: 25px;
color: #A8ADB5;
background-color: rgba(0, 0, 0, 0.7);
border-radius: 2px;
padding: 4px 12px;
-shell-caption-spacing: 12px; }
.search-entry {
width: 320px;
padding: 7px 9px;
border-radius: 20px;
border: 1px solid rgba(0, 0, 0, 0.25);
background-color: rgba(255, 255, 255, 0.9); }
.search-entry:focus {
padding: 7px 9px; }
.search-entry .search-entry-icon {
icon-size: 16px;
padding: 0 4px;
color: #5c616c; }
.search-entry:hover, .search-entry:focus {
color: #ffffff;
caret-color: #ffffff;
background-color: #5294E2; }
.search-entry:hover .search-entry-icon, .search-entry:focus .search-entry-icon {
color: #ffffff; }
#searchResultsBin {
max-width: 1000px; }
#searchResultsContent {
padding-left: 20px;
padding-right: 20px;
spacing: 16px; }
.search-section {
spacing: 16px; }
.search-section-content {
spacing: 32px; }
.list-search-results {
spacing: 3px; }
.search-section-separator {
background-color: rgba(255, 255, 255, 0.2);
-margin-horizontal: 1.5em;
height: 1px; }
.list-search-result-content {
spacing: 12px;
padding: 12px; }
.list-search-result-title {
font-size: 1.5em;
color: #ffffff; }
.list-search-result-description {
color: #cccccc; }
.search-provider-icon {
padding: 15px; }
.search-provider-icon-more {
width: 16px;
height: 16px;
background-image: url("misc/more-results.svg"); }
#dash {
font-size: 1em;
color: #A8ADB5;
background-color: rgba(37, 39, 45, 0.87);
padding: 6px 0px 6px 0px;
border-color: rgba(16, 17, 20, 0.87);
border-radius: 0px 3px 3px 0px; }
.right #dash, #dash:rtl {
padding: 6px 0px 6px 0px;
border-radius: 3px 0 0 3px; }
.bottom #dash {
padding: 0px 6px 0px 6px;
border-radius: 3px 3px 0 0; }
.top #dash {
padding: 0px 6px 0px 6px;
border-radius: 0 0 3px 3px; }
#dash .placeholder {
background-image: url("misc/dash-placeholder.svg");
background-size: contain;
height: 24px; }
#dash .empty-dash-drop-target {
width: 24px;
height: 24px; }
.dash-item-container > StWidget {
padding: 0px 4px 0px 5px; }
.right .dash-item-container > StWidget, .dash-item-container > StWidget:rtl {
padding: 0px 5px 0px 4px; }
.bottom .dash-item-container > StWidget {
padding: 4px 0px 5px 0px; }
.top .dash-item-container > StWidget {
padding: 5px 0px 4px 0px; }
.dash-label {
border-radius: 3px;
padding: 4px 12px;
color: #ffffff;
background-color: rgba(0, 0, 0, 0.7);
text-align: center;
-x-offset: 3px; }
.bottom .dash-label, .top .dash-label {
-y-offset: 3px;
-x-offset: 0; }
#dash .app-well-app .overview-icon, .right #dash .app-well-app .overview-icon, .bottom #dash .app-well-app .overview-icon, .top #dash .app-well-app .overview-icon {
padding: 10px; }
#dash .app-well-app:hover .overview-icon, .right #dash .app-well-app:hover .overview-icon, .bottom #dash .app-well-app:hover .overview-icon, .top #dash .app-well-app:hover .overview-icon {
background-color: #5294E2; }
#dash .app-well-app:active .overview-icon, .right #dash .app-well-app:active .overview-icon, .bottom #dash .app-well-app:active .overview-icon, .top #dash .app-well-app:active .overview-icon {
box-shadow: none;
background-color: #2679db; }
#dash .app-well-app-running-dot {
width: 11px;
height: 2px;
margin-bottom: 6px;
background-color: #5294E2; }
.show-apps .overview-icon {
padding: 11px;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 2px;
border: 0px solid; }
.show-apps:hover .overview-icon {
background-color: rgba(0, 0, 0, 0.7);
color: #5294E2; }
.show-apps:active .overview-icon, .show-apps:active .show-apps-icon, .show-apps:checked .overview-icon, .show-apps:checked .show-apps-icon {
color: #ffffff;
background-color: #5294E2;
box-shadow: none;
transition-duration: 0ms; }
.icon-grid {
spacing: 30px;
-shell-grid-horizontal-item-size: 136px;
-shell-grid-vertical-item-size: 136px; }
.icon-grid .overview-icon {
icon-size: 96px; }
.app-view-controls {
padding-bottom: 32px; }
.app-view-control {
padding: 4px 32px;
color: rgba(255, 255, 255, 0.8);
background-color: rgba(14, 15, 17, 0.8);
border-color: rgba(168, 173, 181, 0.3); }
.app-view-control:hover {
color: #ffffff;
background-color: rgba(14, 15, 17, 0.8);
border-color: #5294E2; }
.app-view-control:checked {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #ffffff;
border-color: #5294E2;
background-color: #5294E2; }
.app-view-control:first-child:ltr, .app-view-control:last-child:rtl {
border-radius: 2px 0 0 2px; }
.app-view-control:last-child:ltr, .app-view-control:first-child:rtl {
border-radius: 0 2px 2px 0; }
.search-provider-icon:active, .search-provider-icon:checked,
.list-search-result:active,
.list-search-result:checked {
background-color: rgba(37, 39, 45, 0.85); }
.search-provider-icon:focus, .search-provider-icon:selected, .search-provider-icon:hover,
.list-search-result:focus,
.list-search-result:selected,
.list-search-result:hover {
background-color: rgba(168, 173, 181, 0.4);
transition-duration: 200ms; }
.app-well-app:active .overview-icon, .app-well-app:checked .overview-icon,
.app-well-app.app-folder:active .overview-icon,
.app-well-app.app-folder:checked .overview-icon,
.grid-search-result:active .overview-icon,
.grid-search-result:checked .overview-icon {
background-color: rgba(37, 39, 45, 0.85);
box-shadow: inset 0 0 #5294E2; }
.app-well-app:hover .overview-icon, .app-well-app:focus .overview-icon, .app-well-app:selected .overview-icon,
.app-well-app.app-folder:hover .overview-icon,
.app-well-app.app-folder:focus .overview-icon,
.app-well-app.app-folder:selected .overview-icon,
.grid-search-result:hover .overview-icon,
.grid-search-result:focus .overview-icon,
.grid-search-result:selected .overview-icon {
background-color: rgba(168, 173, 181, 0.4);
transition-duration: 0ms;
border-image: none;
background-image: none; }
.app-well-app-running-dot {
width: 20px;
height: 2px;
margin-bottom: 4px;
background-color: #5294E2; }
.search-provider-icon,
.list-search-result, .app-well-app .overview-icon,
.app-well-app.app-folder .overview-icon,
.grid-search-result .overview-icon {
color: #ffffff;
border-radius: 2px;
padding: 6px;
border: 1px solid transparent;
transition-duration: 0ms;
text-align: center; }
.app-well-app.app-folder > .overview-icon {
background-color: rgba(14, 15, 17, 0.8);
border: 1px solid rgba(168, 173, 181, 0.3); }
.app-well-app.app-folder:hover > .overview-icon {
background-color: rgba(60, 64, 73, 0.95); }
.app-well-app.app-folder:active > .overview-icon, .app-well-app.app-folder:checked > .overview-icon {
background-color: #5294E2;
box-shadow: none; }
.app-well-app.app-folder:focus > .overview-icon {
background-color: #5294E2; }
.app-folder-popup {
-arrow-border-radius: 2px;
-arrow-background-color: rgba(14, 15, 17, 0.8);
-arrow-border-color: rgba(168, 173, 181, 0.3);
-arrow-border-width: 1px;
-arrow-base: 5;
-arrow-rise: 5; }
.app-folder-popup-bin {
padding: 5px; }
.app-folder-icon {
padding: 5px;
spacing-rows: 5px;
spacing-columns: 5px; }
.page-indicator {
padding: 15px 20px; }
.page-indicator .page-indicator-icon {
width: 18px;
height: 18px;
background-image: url(misc/page-indicator-inactive.svg); }
.page-indicator:hover .page-indicator-icon {
background-image: url(misc/page-indicator-hover.svg); }
.page-indicator:active .page-indicator-icon {
background-image: url(misc/page-indicator-active.svg); }
.page-indicator:checked .page-indicator-icon, .page-indicator:checked:active {
background-image: url(misc/page-indicator-checked.svg); }
.app-well-app > .overview-icon.overview-icon-with-label,
.grid-search-result .overview-icon.overview-icon-with-label {
padding: 10px 8px 5px 8px;
spacing: 4px; }
.workspace-thumbnails {
visible-width: 40px;
spacing: 11px;
padding: 12px;
padding-right: 7px;
border-radius: 3px 0 0 3px;
background-color: rgba(37, 39, 45, 0.87);
border-color: rgba(16, 17, 20, 0.87); }
.workspace-thumbnails:rtl {
padding: 12px;
padding-left: 7px;
border-radius: 0 3px 3px 0; }
.workspace-thumbnail-indicator {
border: 4px solid rgba(82, 148, 226, 0.8);
border-radius: 1px;
padding: 1px; }
.search-display > StBoxLayout,
.all-apps,
.frequent-apps > StBoxLayout {
padding: 0px 88px 10px 88px; }
.search-statustext, .no-frequent-applications-label {
font-size: 2em;
font-weight: bold;
color: #5c616c; }
.url-highlighter {
link-color: #2679db; }
.notification-banner,
.notification-banner:hover,
.notification-banner:focus {
font-size: 1em;
width: 34em;
margin: 5px;
padding: 10px;
border-radius: 2px;
color: #5c616c;
background-color: #f9fafb;
border: 0px solid transparent;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2); }
.notification-banner .notification-icon,
.notification-banner:hover .notification-icon,
.notification-banner:focus .notification-icon {
padding: 5px; }
.notification-banner .notification-content,
.notification-banner:hover .notification-content,
.notification-banner:focus .notification-content {
padding: 5px;
spacing: 5px; }
.notification-banner .secondary-icon,
.notification-banner:hover .secondary-icon,
.notification-banner:focus .secondary-icon {
icon-size: 1.09em; }
.notification-banner .notification-actions,
.notification-banner:hover .notification-actions,
.notification-banner:focus .notification-actions {
background-color: transparent;
padding: 2px 2px 0 2px;
spacing: 1px; }
.notification-banner .notification-button,
.notification-banner:hover .notification-button,
.notification-banner:focus .notification-button {
padding: 4px 4px 5px; }
.notification-banner .notification-button:first-child, .notification-banner .notification-button:last-child,
.notification-banner:hover .notification-button:first-child,
.notification-banner:hover .notification-button:last-child,
.notification-banner:focus .notification-button:first-child,
.notification-banner:focus .notification-button:last-child {
border-radius: 2px; }
.secondary-icon {
icon-size: 1.09em; }
.chat-body {
spacing: 5px; }
.chat-response {
margin: 5px; }
.chat-log-message {
color: #5c616c; }
.chat-new-group {
padding-top: 1em; }
.chat-received {
padding-left: 4px; }
.chat-received:rtl {
padding-left: 0px;
padding-right: 4px; }
.chat-sent {
padding-left: 18pt;
color: #5294E2; }
.chat-sent:rtl {
padding-left: 0;
padding-right: 18pt; }
.chat-meta-message {
padding-left: 4px;
font-size: 9pt;
font-weight: bold;
color: rgba(92, 97, 108, 0.6); }
.chat-meta-message:rtl {
padding-left: 0;
padding-right: 4px; }
.subscription-message {
font-style: italic; }
.hotplug-transient-box {
spacing: 6px;
padding: 2px 72px 2px 12px; }
.hotplug-notification-item {
padding: 2px 10px; }
.hotplug-notification-item:focus {
padding: 1px 71px 1px 11px; }
.hotplug-notification-item-icon {
icon-size: 24px;
padding: 2px 5px; }
.hotplug-resident-box {
spacing: 8px; }
.hotplug-resident-mount {
spacing: 8px;
border-radius: 4px; }
.hotplug-resident-mount:hover {
background-color: rgba(249, 250, 251, 0.3); }
.hotplug-resident-mount-label {
color: inherit;
padding-left: 6px; }
.hotplug-resident-mount-icon {
icon-size: 24px;
padding-left: 6px; }
.hotplug-resident-eject-icon {
icon-size: 16px; }
.hotplug-resident-eject-button {
padding: 7px;
border-radius: 5px;
color: pink; }
.legacy-tray {
background-color: rgba(37, 39, 45, 0.95);
border-width: 0; }
.legacy-tray:ltr {
border-radius: 0 2px 0 0;
border-left-width: 0; }
.legacy-tray:rtl {
border-radius: 2px 0 0 0;
border-right-width: 0; }
.legacy-tray-handle,
.legacy-tray-icon {
padding: 6px; }
.legacy-tray-handle StIcon,
.legacy-tray-icon StIcon {
icon-size: 24px; }
.legacy-tray-handle:hover, .legacy-tray-handle:focus,
.legacy-tray-icon:hover,
.legacy-tray-icon:focus {
background-color: rgba(92, 97, 108, 0.1); }
.legacy-tray-icon-box {
spacing: 12px; }
.legacy-tray-icon-box:ltr {
padding-left: 12px; }
.legacy-tray-icon-box:rtl {
padding-right: 12px; }
.legacy-tray-icon-box StButton {
width: 24px;
height: 24px; }
.magnifier-zoom-region {
border: 2px solid #5294E2; }
.magnifier-zoom-region.full-screen {
border-width: 0; }
#keyboard {
background-color: rgba(37, 39, 45, 0.9); }
.keyboard-layout {
spacing: 10px;
padding: 10px; }
.keyboard-row {
spacing: 15px; }
.keyboard-key {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #c4c7cc;
outline-color: rgba(168, 173, 181, 0.3);
border-color: rgba(168, 173, 181, 0.3);
background-color: rgba(48, 52, 59, 0.95);
min-height: 2em;
min-width: 2em;
font-size: 14pt;
font-weight: bold;
border-radius: 3px;
box-shadow: none; }
.keyboard-key:focus {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #5c616c;
background-color: #fcfdfd;
border: 1px solid #5294E2; }
.keyboard-key:hover, .keyboard-key:checked {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #ffffff;
border-color: #5294E2;
background-color: rgba(48, 52, 59, 0.95); }
.keyboard-key:active {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #ffffff;
border-color: #5294E2;
background-color: #5294E2; }
.keyboard-key:grayed {
background-color: rgba(60, 64, 73, 0.95);
color: #A8ADB5;
border-color: rgba(0, 0, 0, 0.7); }
.keyboard-subkeys {
color: white;
padding: 5px;
-arrow-border-radius: 2px;
-arrow-background-color: rgba(37, 39, 45, 0.9);
-arrow-border-width: 0px;
-arrow-border-color: transparent;
-arrow-base: 20px;
-arrow-rise: 10px;
-boxpointer-gap: 5px; }
.candidate-popup-content {
padding: 0.5em;
spacing: 0.3em;
color: #A8ADB5; }
.candidate-index {
padding: 0 0.5em 0 0;
color: #c4c7cc; }
.candidate-box {
padding: 0.3em 0.5em 0.3em 0.5em;
border-radius: 4px;
color: #A8ADB5; }
.candidate-box:selected, .candidate-box:hover {
background-color: #5294E2;
color: #ffffff; }
.candidate-page-button-box {
height: 2em; }
.vertical .candidate-page-button-box {
padding-top: 0.5em; }
.horizontal .candidate-page-button-box {
padding-left: 0.5em; }
.candidate-page-button {
padding: 4px; }
.candidate-page-button-previous {
border-radius: 2px 0px 0px 2px;
border-right-width: 0; }
.candidate-page-button-next {
border-radius: 0px 2px 2px 0px; }
.candidate-page-button-icon {
icon-size: 1em; }
.framed-user-icon {
background-size: contain;
border: 0px solid transparent;
color: #5c616c;
border-radius: 2px; }
.framed-user-icon:hover {
border-color: transparent;
color: #fbfbfb; }
.login-dialog-banner-view {
padding-top: 24px;
max-width: 23em; }
.login-dialog {
border: none;
background-color: transparent; }
.login-dialog .modal-dialog-button-box {
spacing: 3px; }
.login-dialog .modal-dialog-button {
padding: 3px 18px; }
.login-dialog .modal-dialog-button:default {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #5c616c;
background-color: #fcfdfd;
border: 1px solid #cfd6e6; }
.login-dialog .modal-dialog-button:default:hover, .login-dialog .modal-dialog-button:default:focus {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #5c616c;
background-color: #fcfdfd;
border: 1px solid #5294E2; }
.login-dialog .modal-dialog-button:default:active {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: #ffffff;
background-color: #5294E2;
border: 1px solid #5294E2; }
.login-dialog .modal-dialog-button:default:insensitive {
text-shadow: 0 1px rgba(255, 255, 255, 0);
box-shadow: inset 0 0 rgba(255, 255, 255, 0);
color: rgba(92, 97, 108, 0.55);
border: 1px solid rgba(207, 214, 230, 0.55);
background-color: rgba(252, 253, 253, 0.55); }
.login-dialog-logo-bin {
padding: 24px 0px; }
.login-dialog-banner {
color: #8c939e; }
.login-dialog-button-box {
spacing: 5px; }
.login-dialog-message-warning {
color: #F27835; }
.login-dialog-message-hint {
padding-top: 0;
padding-bottom: 20px; }
.login-dialog-user-selection-box {
padding: 100px 0px; }
.login-dialog-user-selection-box .login-dialog-not-listed-label {
padding-left: 2px; }
.login-dialog-not-listed-button:focus .login-dialog-user-selection-box .login-dialog-not-listed-label, .login-dialog-not-listed-button:hover .login-dialog-user-selection-box .login-dialog-not-listed-label {
color: #A8ADB5; }
.login-dialog-not-listed-label {
font-size: 90%;
font-weight: bold;
color: #5a606a;
padding-top: 1em; }
.login-dialog-user-list-view {
-st-vfade-offset: 1em; }
.login-dialog-user-list {
spacing: 12px;
padding: .2em;
width: 23em; }
.login-dialog-user-list:expanded .login-dialog-user-list-item:focus {
background-color: #5294E2;
color: #ffffff; }
.login-dialog-user-list:expanded .login-dialog-user-list-item:logged-in {
border-right: 2px solid #5294E2; }
.login-dialog-user-list-item {
border-radius: 5px;
padding: .2em;
color: #5a606a; }
.login-dialog-user-list-item:ltr {
padding-right: 1em; }
.login-dialog-user-list-item:rtl {
padding-left: 1em; }
.login-dialog-user-list-item:hover {
background-color: #5294E2;
color: #ffffff; }
.login-dialog-user-list-item .login-dialog-timed-login-indicator {
height: 2px;
margin: 2px 0 0 0;
background-color: #A8ADB5; }
.login-dialog-user-list-item:focus .login-dialog-timed-login-indicator {
background-color: #ffffff; }
.login-dialog-username,
.user-widget-label {
color: #A8ADB5;
font-size: 120%;
font-weight: bold;
text-align: left;
padding-left: 15px; }
.user-widget-label:ltr {
padding-left: 18px; }
.user-widget-label:rtl {
padding-right: 18px; }
.login-dialog-prompt-layout {
padding-top: 24px;
padding-bottom: 12px;
spacing: 8px;
width: 23em; }
.login-dialog-prompt-label {
color: #727985;
font-size: 110%;
padding-top: 1em; }
.login-dialog-session-list-button StIcon {
icon-size: 1.25em; }
.login-dialog-session-list-button {
color: #5a606a; }
.login-dialog-session-list-button:hover, .login-dialog-session-list-button:focus {
color: #A8ADB5; }
.login-dialog-session-list-button:active {
color: #2b2e33; }
.screen-shield-arrows {
padding-bottom: 3em; }
.screen-shield-arrows Gjs_Arrow {
color: white;
width: 80px;
height: 48px;
-arrow-thickness: 12px;
-arrow-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); }
.screen-shield-clock {
color: white;
text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
font-weight: bold;
text-align: center;
padding-bottom: 1.5em; }
.screen-shield-clock-time {
font-size: 72pt;
text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4); }
.screen-shield-clock-date {
font-size: 28pt; }
.screen-shield-notifications-container {
spacing: 6px;
width: 30em;
background-color: transparent;
max-height: 500px; }
.screen-shield-notifications-container .summary-notification-stack-scrollview {
padding-top: 0;
padding-bottom: 0; }
.screen-shield-notifications-container .notification,
.screen-shield-notifications-container .screen-shield-notification-source {
padding: 12px 6px;
border: 1px solid rgba(168, 173, 181, 0.2);
background-color: rgba(60, 64, 73, 0.45);
color: #A8ADB5;
border-radius: 4px; }
.screen-shield-notifications-container .notification {
margin-right: 15px; }
.screen-shield-notification-label {
font-weight: bold;
padding: 0px 0px 0px 12px; }
.screen-shield-notification-count-text {
padding: 0px 0px 0px 12px; }
#panel.lock-screen {
background-color: rgba(60, 64, 73, 0.5); }
.screen-shield-background {
background: black;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4); }
#lockDialogGroup {
background: #2e3436 url(misc/noise-texture.png);
background-repeat: repeat; }
#screenShieldNotifications StButton#vhandle, #screenShieldNotifications StButton#hhandle {
background-color: rgba(249, 250, 251, 0.3); }
#screenShieldNotifications StButton#vhandle:hover, #screenShieldNotifications StButton#vhandle:focus, #screenShieldNotifications StButton#hhandle:hover, #screenShieldNotifications StButton#hhandle:focus {
background-color: rgba(249, 250, 251, 0.5); }
#screenShieldNotifications StButton#vhandle:active, #screenShieldNotifications StButton#hhandle:active {
background-color: rgba(82, 148, 226, 0.5); }
#LookingGlassDialog {
spacing: 4px;
padding: 8px 8px 10px 8px;
background-color: rgba(0, 0, 0, 0.7);
border: 1px solid black;
border-image: url("misc/osd.svg") 10 10 9 11;
border-radius: 2px;
color: #A8ADB5; }
#LookingGlassDialog > #Toolbar {
padding: 3px;
border: 1px solid rgba(44, 47, 53, 0.95);
background-color: transparent;
border-radius: 0px; }
#LookingGlassDialog .labels {
spacing: 4px; }
#LookingGlassDialog .notebook-tab {
-natural-hpadding: 12px;
-minimum-hpadding: 6px;
font-weight: bold;
color: #A8ADB5;
transition-duration: 100ms;
padding-left: .3em;
padding-right: .3em; }
#LookingGlassDialog .notebook-tab:hover {
color: #ffffff;
text-shadow: black 0px 2px 2px; }
#LookingGlassDialog .notebook-tab:selected {
border-bottom-width: 0px;
color: #5294E2;
text-shadow: black 0px 2px 2px; }
#LookingGlassDialog StBoxLayout#EvalBox {
padding: 4px;
spacing: 4px; }
#LookingGlassDialog StBoxLayout#ResultsArea {
spacing: 4px; }
.lg-dialog StEntry {
background-color: rgba(0, 0, 0, 0.3);
color: #A8ADB5;
selection-background-color: #5294E2;
selected-color: #ffffff;
border-color: rgba(168, 173, 181, 0.3); }
.lg-dialog StEntry:focus {
border-color: #5294E2; }
.lg-dialog .shell-link {
color: #2679db; }
.lg-dialog .shell-link:hover {
color: #5294e2; }
.lg-completions-text {
font-size: .9em;
font-style: italic; }
.lg-obj-inspector-title {
spacing: 4px; }
.lg-obj-inspector-button {
border: 1px solid gray;
padding: 4px;
border-radius: 4px; }
.lg-obj-inspector-button:hover {
border: 1px solid #ffffff; }
#lookingGlassExtensions {
padding: 4px; }
.lg-extensions-list {
padding: 4px;
spacing: 6px; }
.lg-extension {
border: 1px solid #dde3e9;
border-radius: 2px;
background-color: #f9fafb;
padding: 4px; }
.lg-extension-name {
font-weight: bold; }
.lg-extension-meta {
spacing: 6px; }
#LookingGlassPropertyInspector {
background: rgba(0, 0, 0, 0.7);
border: 1px solid grey;
border-radius: 2px;
padding: 6px; }
PS-> The theme is Arc.
EDIT:
Solved it myself. What I was doing:
#panel .panel-corner {
-panel-corner-radius: 6px; //--------------//
-panel-corner-background-color: transparent;
-panel-corner-border-width: 0px;
-panel-corner-border-color: black; }
#panel .panel-corner:active, #panel .panel-corner:overview, #panel .panel-corner:focus {
-panel-corner-border-color: black; }
#panel .panel-corner.lock-screen, #panel .panel-corner.login-screen, #panel .panel-cornerunlock-screen {
-panel-corner-radius: 6px; //------------//
-panel-corner-background-color: transparent;
-panel-corner-border-color: transparent; }
What needed to be done:
#panel .panel-corner {
-panel-corner-radius: 6px; //--------------//
-panel-corner-background-color: transparent;
-panel-corner-border-width: 2px; //----------------//
-panel-corner-border-color: black; }
#panel .panel-corner:active, #panel .panel-corner:overview, #panel .panel-corner:focus {
-panel-corner-border-color: black; }
#panel .panel-corner.lock-screen, #panel .panel-corner.login-screen, #panel .panel-cornerunlock-screen {
-panel-corner-radius: 0;
-panel-corner-background-color: transparent;
-panel-corner-border-color: transparent; }
Last edited by Electro498 (2015-06-09 09:01:01)The file looks like malformed XML (malformed, because it's missing quotes around the attributes, closing tags, etc.). If it's supposed to be proper XML, the right way would be to fix it and use an XML parser in your favorite scripting language to load it, read the other file, and alter the data systematically.
xmllint in the libxml2 package may be useful for checking XML syntax and reformatting.
If you know Python then you could probably use the xml.dom.minidom or one of the other standard XML libraries.
If it is in the format posted then the following script should do what you want, or at least provide a starting point. It's not the most efficient approach but it seems to do the trick.
#!/usr/bin/env perl
use strict;
use warnings;
open (my $fh1, '<', $ARGV[0]) or die "failed to open $ARGV[1]";
open (my $fh2, '<', $ARGV[1]) or die "failed to open $ARGV[2]";
my %user_ips;
foreach my $line (<$fh2>)
my ($user, $ip) = split /,/, $line, 2;
chomp $ip;
$user_ips{$user} = $ip;
my $old_xml;
local $/;
$old_xml = <$fh1>;
my $new_xml = $old_xml;
while ($old_xml =~ m/(<accessControl\s.*?<\/accessControl>)/sg)
my $old_ac = $1;
my ($user) = ($old_ac =~ m/inRealm='([^']+)/);
my $new_ip = $user_ips{$user};
my $old_ip = quotemeta "0.0.0.0";
my $new_ac = $old_ac;
$new_ac =~ s/$old_ip/$new_ip/;
$old_ac = quotemeta $old_ac;
$new_xml =~ s/$old_ac/$new_ac/;
print $new_xml;
close($fh1);
close($fh2);
Now, if we lay down in the grass and remain very quiet, a wild sed wizard may appear to amaze us with a glorious, arcane one-liner. Remember, if he appears, avoid sudden movements. If you startle him, his expression will break and he'll slink off muttering something about it having worked a minute ago.
p.s. I haven't touched Perl in ages. I almost miss it.
Almost.
Last edited by Xyne (2013-10-02 00:25:12) -
Calling LrTasks.execute from within a plug in manager control
I'm working on a Lightroom post-processing-filter plug in which has most of the functionality inside an executable that resides inside the plug in folder.
The executable is responsible for doing the actual photo processing but is also responsible for obtaining and verifying that there is a valid license. This means that I need to let the user eneter an activation code, pass that to the executable which will talk to our server and get a license.
I would like to handle that activation part from the plug-in manager dialog so I've added a top section (see following code) with a text field and a button and I've added code to call the executable when the button is pressed, but the executalbe is never called.
Is what I'm trying to do impossible? Any workarounds?
Thanks in advance!
Eyal
function PluginManager.sectionsForTopOfDialog( f, p )
p.my_result = 0
return {
-- section for the top of the dialog
bind_to_object = p,
title = "MyPlug",
f:row {
spacing = f:control_spacing(),
f:static_text {
title = LrView.bind( "my_result")
f:push_button {
width = 150,
title = 'Run Exe',
enabled = true,
action = function()
command = '"' .. LrPathUtils.child(LrPathUtils.child( _PLUGIN.path, "mac" ), "MyTool" ) .. '" ' .. '-action check"'
quotedCommand = command
p.my_result = LrTasks.execute( quotedCommand )
end,
endThanks Rob,
I'm afraid it didn't work for me. The code inside postAsyncTaskWithContext is not executed, as far as I could see. I didn't see any diagnostic messages.
local LrView = import "LrView"
local LrHttp = import "LrHttp"
local bind = import "LrBinding"
local app = import 'LrApplication'
local LrPathUtils = import 'LrPathUtils'
local LrTasks = import "LrTasks"
local LrDialogs = import 'LrDialogs'
local LrRecursionGuard = import 'LrRecursionGuard'
PluginManager = {}
function PluginManager.sectionsForTopOfDialog( f, p )
p.my_result = 0
local buttonGuard
return {
-- section for the top of the dialog
bind_to_object = p,
title = "MyPlug",
f:row {
spacing = f:control_spacing(),
f:static_text {
title = LrView.bind( "my_result")
f:push_button {
width = 150,
title = 'Do Something',
enabled = true,
action = function(button)
LrFunctionContext.postAsyncTaskWithContext(button.title,function (context)
p.my_result = 3
end)
end,
end -
Inserting line numbers in a pages document !
How can you do this ? I need to do it for a dissertation
Hi Bruce,
Contrary to the Apple Tip on numbering the lines, I've found that it's much easier to:
Insert a Table with one column and N-rows,
turn off the Header Row using the Tables Inspector
Fill Down with numbers,
set the borders to None,
adjust the text alignment to suit,
position the table in the left margin.
Once you have a page of text, adjust the row spacing of the table to get the numbers to line up with the text lines. Do this by clicking off the table, then once on the table to expose the handles. drag the bottom center handle to stretch or compress the rows of the table. Grab the whole table to position it.
Much easier to do than to describe. Lots easier than a text box.
Jerry -
Hello All,
Kindly let me know how I can attach an image to the Content Management folder and show the image along with the folder name on the portal? Do I have to use different UI?
Any Ideas or suggestion. I wanted the way just like http://service.sap.com homepage with images.
Regards,
PraveenHi Preveen,
the "Entrypoint Exlorer" layoutset came in SP2 with Patch5. I think you can create yourself such a layout set in KM configuration.
For this do the following:
1. Create a Collection Renderer: Configuration -> Content Management -> User Interface -> Settings -> Collection Renderer Settings -> New
Use the following settings (some parameters might not exist in your SP version):
Name EntrypointsCollectionGridRenderer
Description The entrypoint categories renderer
Collection Renderer CollectionGridRenderer
Breadcrumb Visibility Style invisible
Width Adjustment Mode standard
Height Adjustment Mode compact
Number of Rows 5
Row Spacing 15
Number of Columns 3
Column Spacing 15
Column Spacing Mode minimum
Property for Sorting no_sorting
Vertical Alignment standard
2. Create a Resource Renderer: Configuration -> Content Management -> User Interface -> Settings -> Resource Renderer Settings -> New
Use the following settings (some parameters might not exist in your SP version):
Name EntrypointsResourceRenderer
Description Resource renderer for entrypoint categories
Resource Renderer ResourceRenderer
Image Width 48
Image Height 48
Image Setting replace
Primary Text Style HEADER2
Secondary Text Style LEGEND
Child Folders' Style off
Visible Properties rnd:image(alignLeft/[1-2;1]/contentLink/space-right=10),rnd:displayname([1;2]/alignLeft/alignTop/contentLink),description(useLinkData/alignLeft/alignTop)
Command Display off
Resource Command Group Not set
Folder Command Group Not set
Link Command Group Not set
3. Create a Resource Renderer: Configuration -> Content Management -> User Interface -> Settings -> Layout Set -> New
Use the following settings (some parameters might not exist in your SP version):
Name EntrypointsExplorer
Description The entrypoint categories layout set
Enabled for presentation settings YES
Layout Controller SimpleLayoutController
Collection Renderer EntrypointsCollectionGridRenderer
Resource Renderer EntrypointsResourceRenderer
Commands for the details menu Not set
Now, you should have an 'Entrypoints Explorer' LayoutSet to choose from, so you can follow my first post.
Best regards,
Robert -
Hi peeps,
When editing a shoot, I CTRL+[arrow down] the rubbish pics to set them as rejected. The plan is to delete them before "selecting ALL" in the shoot and exporting.
Trouble is I'm always forgetting to delete the rejects before exporting ( ARRGHH!). So I've just written a small plugin that adds a filter to the Export Dialog which when enabled prevents any photo that is set as rejected from beign exported. Hurrah!!! Here's the code. Feel free to use if it's useful!
info.lua
return {
appName = "NoExportRejected",
author = "Buzz Aldrin",
LrSdkVersion = 4.0,
LrSdkMinimumVersion = 4.0, -- minimum SDK version required by this plugin
LrPluginName = LOC "$$$/SDK/MetaExportFilter/Sample=No Export Rejected",
LrToolkitIdentifier = 'com.adobe.lightroom.sdk.export.norejected',
LrExportFilterProvider = {
title = LOC "$$$/SDK/MetaExportFilter/Sample=Don't Export Rejected", -- the string that appears in the export filter section of the export dialog in LR
file = 'NoRejectedOnExport.lua', -- name of the file containing the filter definition script
id = "noRejected", -- unique identifier for export filter
VERSION = { major=4, minor=1, revision=0, build=831116, },
NoRejectedOnExport.lua
local LrView = import 'LrView'
local bind = LrView.bind
-- This function will create the section displayed on the export dialog
-- when this filter is added to the export session.
local function sectionForFilterInDialog( f, propertyTable )
return {
title = LOC "$$$/SDK/MetaExportFilter/SectionTitle=Don't Export Rejected Photos",
f:row {
spacing = f:control_spacing(),
f:static_text {
title = "Don't Export Rejected Photos",
fill_horizontal = 1,
end
-- This function obtains access to the photos and removes entries that don't match the metadata filter.
local function shouldRenderPhoto( exportSettings, photo )
local shouldRender
local flag = photo:getRawMetadata( 'pickStatus' )
if flag == -1 then
shouldRender = false
else
shouldRender = true
end
return shouldRender
end
return {
exportPresetFields = exportPresetFields,
startDialog = startDialog,
sectionForFilterInDialog = sectionForFilterInDialog,
shouldRenderPhoto = shouldRenderPhoto,Sweet - thanks John.
~R -
Why is my Aperture contact sheet missing photos?
I have 437 photos selected. I choose Print>Contact Sheets. I choose 4 rows/6 columns. But no matter what I do, Aperture will only load 16 images per page. The next page will also have 16 images. I have tweaked the number of columns and rows but this does not fix it. Any ideas?
What are your settings for Row Spacing, Column Spacing, and Margins?
Do you have anything set to show in the Metadata & Page Options section?
Are you waiting long enough for the print preview to generate the page previews? It can take a minute or longer. -
Sort the content in KM folder according to date modified
Hi,
I have a KM folder which has around 80 documents. The content order is all jumbled. I tried both Manual Ordering and Disabled Manual Ordering. I want to sort it according to the Modified Date. Is this possible?
If so, could you please let me know.
Thanks,
AjayHi,
I have listed the info you have asked for:
In System Admin -> System Config -> KM -> CM -> UI -> Settings -> Layout Set:
Layout Set Name: JupPoliciesAndProcedures
Show write-protect notice: Unchecked
Description: Layout set for the consumer standard explorer
Enabled for presentation settings: checked
Screen Reader enabled: checked
Fallback Layout Set for Screen Reader: Not set
Layout Controller: SimpletLayoutController
Collection Renderer: JupDocuments_And_Forms_NODATE
Resource Renderer: ConsumerResourceRenderer
Commands for the details menu: DetailsGroup
In System Admin -> System Config -> KM -> CM -> UI -> Settings -> Collection Renderer Settings:
Name: JupDocuments_And_Forms_NODATE
Description: The consumer collection renderer
Flavor: Not set
Components: left blank...
Base Settings: Not set
Breadcrumb Style: horizontal
Width Adjustment Mode: stretch
Height Adjustment Mode: left blank...
Mass Actions Style: off
Style for Info Used in Empty Collection: message
Mass Command Group: DetailsGroup
Bundle File for Empty Collection: left blank...
Key for Info Used in Empty Collection: left blank...
Collection Renderer: JupSubmissions
Breadcrumb Visibility Style: left blank...
Collection Command Group: Not set
Command Style for Root: off
Show Folder Name: No
Displayed Properties: rnd:icon,rnd:displayname(contentLink),rnd:description,jup:DetailsColumn Header Coloring: Table Title Color
Number of Rows: 30
Row Spacing: 2 px
Row Spacing Mode: standard
Row Background Style: ALTERNATING
Number of Columns: 1
Column Spacing: left blank...
Column Spacing Mode: standard
Resource List Filter: Not set
Extensions to be Filtered: left blank...
Mime Types to be Filtered : left blank...
Resource Types to be Filtered: left blank...
Show Hidden Resources: No
Folders Selection: all
Files Selection: all
Links Selection: all
Property for Sorting: rnd:displayname
Sorting Mode: ascending
Item Selection Mode: off
Background Image Path: left blank...
Background Image Style: left blank...
Max. Links for Page Browser: left blank...
Sort Enabled: checked
Column Ordering Mode: left blank...
In System Admin -> System Config -> KM -> CM -> UI -> Settings -> Resource Renderer Settings:
Name: ConsumerResourceRenderer
Description: The consumer resource renderer
Flavor: Not set
Base Settings: Not set
Resource Renderer: ResourceRenderer
Icon Width: left blank...
Icon Height: left blank...
Icon Setting: left blank...
Image Width: left blank...
Image Height: left blank...
Image Setting: left blank...
Entry Height: left blank...
Entry Width: left blank...
Folder Image Path: left blank...
File Image Path: left blank...
Link Image Path: left blank...
Primary Text Style: left blank...
Secondary Text Style: left blank...
Highlighted Text Style: left blank...
Tooltip Setting: left blank...
Show Resource Properties: left blank...
Child Folders' Style: off
Max Number of Child Folders: left blank...
Child Folder Delimiter: left blank...
Mode for Child Count: left blank...
Visible Properties: rnd:iconrnd:displayname(contentLink)rnd:action,rnd:description
Target Window Type: left blank...
Target Window Name: left blank...
Command Display: hover
Resource Command Group: DefaultResourceCommandGroup
Folder Command Group: DefaultResourceCommandGroup
Link Command Group: DefaultResourceCommandGroup
Please do let me know if you need any other details.
Thanks,
Ajay -
Dynamically updating UI (binding, maybe?)
So I am writing an export plugin for lightroom. I need to update the export UI dynamically after getting a result from Lrhttp.post. The code is underlined below. Basically, how can I display to the user that their login is successful by dynamically updating the export UI after they click the submit button (I want the last row to display whether the login was a success or not)? I could not find a UI refresh function in the LR API.
I tried looking at Lr.Binding to try to bind resultlogin but that did not work as intended. Any suggestions? Thanks!
ExportDialogSections = {}
function ExportDialogSections.sectionsForTopOfDialog(f, propertyTable)
return {
title = "...",
f:row {
spacing = f:control_spacing(),
f:static_text {
title = "Username",
width = share 'labelWidth',
alignment = 'right',
f:edit_field {
value = bind 'Username',
width_in_chars = 40
f:row {
spacing = f:control_spacing(),
f:static_text {
title = "Password",
width = share 'labelWidth',
alignment = 'right',
f:password_field {
value = bind 'Password',
width_in_chars = 40
f:push_button{
title="Submit",
action = function( button )
import "LrTasks".startAsyncTask( function()
resultlogin = LrHttp.post(...)
end )
if resultlogin == "success" then
--send username to exporttask and display username is valid
sendUsername(...)
else
sendUsername(...)
end
end,
f:row {
spacing = f:control_spacing(),
f:static_text {
title = resultlogin,
width = share 'labelWidth',
alignment = 'right',
end
return ExportDialogSectionsYou have to assign resultLogin as a member of a (observable) property table, then bind to that member by name, for example:
f:static_text {
title = LrView.bind( 'resultlogin' ),
width = share 'labelWidth',
alignment = 'right',
In the case of export dialog box, the export settings themselves are a usable property table. In other cases, you may need to create one yourself - see LrFunctionContext, in which case the only trick is to make sure that the property table is specified as bind_to_object.
There are examples galore in my plugin's source code:
http://www.robcole.com/Rob/ProductsAndServices
Rob
Maybe you are looking for
-
Deleting Reservation from RESB Table
Hi Experts, I have reservations of child component in RESB table which are resulted from the parent component in Subcontracting Scheduling Agreement. All Delivery Schedules lines are completed (GR Made.) Still reservations exist for child component.
-
Intelligent Clearing of Open Items - Smart Layouts/Filters/Analysis
Greetings from Entebbe, In the Financial Reporting service line, we are burdened to clean others mess! We are managing Missions Open Item Managed (OIM) Accounts. What we are doing, we pull each GL OIM Account (for eg 11711000 Cash Journal Clearing an
-
Help minidlna not updating library
hey everyone, arch newbie here, having trouble making my dlna work. i can see and access it from my windows boxes but no media shows up. ps i tried changing user to my username but it wouldnt even show up at that point so i commented it out. this is
-
I have been trying to connect my Mac to the TV and cannot get it to work. I have the cables and settings but it won't communicate. When the Mac is connected to the TV and the computer is selected, a blue screen flashes then it goes back to the screen
-
ASDoc, why are features missing in the SDK?
I've been using ASDoc for a project of mine and I've been really trying to extract some of the functionality I see in Adobe's documentation. I've noticed that there is a lot of functionality that is either missing portions to work right, or disabled